jboss-user
[Arriba] [Todas las Listas]

[jboss-Usuario] [jBPM] - Re: Maven problemas para jBPM-Ejemplos

To: User development <jboss-user@xxxxxxxxxxxxxxx>
Subject: [jboss-Usuario] [jBPM] - Re: Maven problemas para jBPM-Ejemplos
From: Gerardo Navarro Suarez <do-not-reply@xxxxxxxxx>
Date: Tue, 06 Sep 2011 07:08:10 -0400
Auto-submitted: yes
Delivery-date: Tue, 06 Sep 2011 07:09:15 -0400
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <2-624757-3-68867-1315224598431-2-624879-3-68867-1315264442495.jivesbs.jivemailuser@http://community.jboss.org>
List-archive: <http://lists.jboss.org/pipermail/jboss-user>
List-help: <mailto:jboss-user-request@lists.jboss.org?subject=help>
List-id: The JBoss User main mailing list <jboss-user.lists.jboss.org>
List-post: <mailto:jboss-user@lists.jboss.org>
List-subscribe: <https://lists.jboss.org/mailman/listinfo/jboss-user>, <mailto:jboss-user-request@lists.jboss.org?subject=subscribe>
List-unsubscribe: <https://lists.jboss.org/mailman/listinfo/jboss-user>, <mailto:jboss-user-request@lists.jboss.org?subject=unsubscribe>
References: <2-624757-3-68867-1315224598431.jivesbs.jivemailuser@http://community.jboss.org> <2-624757-3-68867-1315224598431-2-624785-3-2836-1315229408914.jivesbs.jivemailuser@http://community.jboss.org> <2-624757-3-68867-1315224598431-2-624879-3-68867-1315264442495.jivesbs.jivemailuser@http://community.jboss.org>
Reply-to: The JBoss User main mailing list <jboss-user@xxxxxxxxxxxxxxx>
Sender: jboss-user-bounces@xxxxxxxxxxxxxxx
Gerardo *Navarro *Suarez [*http://comunidad.*jboss.*org/Personas/*GerardoNS] creó la discusión

"*Re: *Maven problemas para *jBPM-Ejemplos"

para ver la discusión, visita: *http://comunidad.*jboss.*org/Mensaje/624889#624889

--------------------------------------------------------------
*Hi,

aquí es mi *pom.*xml Que trabajará para ejecutar los ejemplos:

<?*xml Versión="1.0" *encoding="UTF-8"?>
<Proyecto *xmlns=" *http://*maven.*apache.*org/POM/4.0.0 *http://*maven.*apache.*org/POM/4.0.0&*quot; *xmlns:*xsi=" *http://*www.*w3.*org/2001/*XMLSchema-caso *http://*www.*w3.*org/2001/*XMLSchema-caso&*quot;
          *xsi:*schemaLocation=" *http://*maven.*apache.*org/POM/4.0.0 *http://*maven.*apache.*org/POM/4.0.0  *http://*maven.*apache.*org/*maven-*v4_0_0.*xsd *http://*maven.*apache.*org/*maven-*v4_0_0.*xsd&*quot;>


          <*modelVersion>4.0.0</*modelVersion>
          <!-- <Padre> -->
          <!-- <*groupId>*org.*jbpm</*groupId> -->
          <!-- <*artifactId>*jbpm</*artifactId> -->
          <!-- <Versión>5.1.0</versión> -->
          <!-- </Padre> -->


          <*groupId>*org.*jbpm</*groupId>
          <Versión>5.1.0</versión>
          <*artifactId>*jbpm-ejemplos</*artifactId>


          <nombre>*jBPM propiedades</de nombre>




          <de los ejemplos>
                    <*jBPM.Versión>5.1.0.Final</*jBPM.Propiedades>
          </de versión>


          <*repositories>
                    <!-- *TODO Sacar esto una vez *maven central *replicates el *jboss *repository -->
                    <!-- Incluido así que las fuentes de ejemplos en la distribución *zip complexión fuera de-de-el-caja 
                              con *maven -->
                    <*repository>
                              <*id>*jboss-público-*repository-grupo</*id>
                              <nombre>*JBoss Público *Repository nombre</de Grupo>
                              <*url> *http://*repository.*jboss.*org/*nexus/Grupos/de contenido/públicos/ *http://*repository.*jboss.*org/*nexus/Público/de grupos/del contenido/</*url>
                              <*layout>*default</*layout>
                              <libera>
                                        <habilitado>cierto</habilitado>
                                        <*updatePolicy>nunca</*updatePolicy>
                              </liberaciones>
                              <*snapshots>
                                        <habilitado>cierto</habilitado>
                                        <*updatePolicy>diario</*updatePolicy>
                              </*snapshots>
                    </*repository>
          </*repositories>


          <complexión>
                    <*pluginManagement>
                              <*plugins>
                                        <*plugin>
                                                  <*groupId>*org.*apache.*maven.*plugins</*groupId>
                                                  <*artifactId>*maven-*jar-*plugin</*artifactId>
                                                  <Configuración>
                                                            <*archive>
                                                                      <manifiesta>
                                                                                <!-- Necesitado para *runExamples.*sh Y *runExamples.Murciélago -->
                                                                                <*addClasspath>cierto</*addClasspath>
                                                                                <*classpathPrefix>../../*binaries/</*classpathPrefix>
                                                                      </Manifiesta>
                                                            </*archive>
                                                  </configuración>
                                        </*plugin>
                              </*plugins>
                    </*pluginManagement>
                    <*plugins>
                              <*plugin>
                                        <*groupId>*org.*apache.*maven.*plugins</*groupId>
                                        <*artifactId>*maven-*eclipse-*plugin</*artifactId>
                                        <Configuración>
                                                  <*additionalBuildcommands>
                                                            <*buildcommand>*org.*drools.*eclipse.*droolsbuilder</*buildcommand>
                                                  </*additionalBuildcommands>
                                        </Configuración>
                              </*plugin>
                    </*plugins>
          </dependencias>


          <de complexión>
                    <!-- Dependencias internas -->
                    <dependencia>
                              <*groupId>*org.*jbpm</*groupId>
                              <*artifactId>*jbpm-*bpmn2</*artifactId>
                              <versión#unknown{^*jBPM.Nom_nom_nom_nom
Gerardo Navarro Suarez [http://community.jboss.org/people/GerardoNS] created the discussion

"Re: Maven problems for jBPM-Examples"

To view the discussion, visit: http://community.jboss.org/message/624889#624889

--------------------------------------------------------------
Hi,

here is my pom.xml that will work in order to execute the examples:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance";
          xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0  http://maven.apache.org/maven-v4_0_0.xsd http://maven.apache.org/maven-v4_0_0.xsd";>


          <modelVersion>4.0.0</modelVersion>
          <!-- <parent> -->
          <!-- <groupId>org.jbpm</groupId> -->
          <!-- <artifactId>jbpm</artifactId> -->
          <!-- <version>5.1.0</version> -->
          <!-- </parent> -->


          <groupId>org.jbpm</groupId>
          <version>5.1.0</version>
          <artifactId>jbpm-examples</artifactId>


          <name>jBPM examples</name>




          <properties>
                    <jBPM.version>5.1.0.Final</jBPM.version>
          </properties>


          <repositories>
                    <!-- TODO remove this once maven central replicates the jboss repository -->
                    <!-- Included so the examples sources in the distribution zip build out-of-the-box 
                              with maven -->
                    <repository>
                              <id>jboss-public-repository-group</id>
                              <name>JBoss Public Repository Group</name>
                              <url> http://repository.jboss.org/nexus/content/groups/public/ http://repository.jboss.org/nexus/content/groups/public/</url>
                              <layout>default</layout>
                              <releases>
                                        <enabled>true</enabled>
                                        <updatePolicy>never</updatePolicy>
                              </releases>
                              <snapshots>
                                        <enabled>true</enabled>
                                        <updatePolicy>daily</updatePolicy>
                              </snapshots>
                    </repository>
          </repositories>


          <build>
                    <pluginManagement>
                              <plugins>
                                        <plugin>
                                                  <groupId>org.apache.maven.plugins</groupId>
                                                  <artifactId>maven-jar-plugin</artifactId>
                                                  <configuration>
                                                            <archive>
                                                                      <manifest>
                                                                                <!-- Needed for runExamples.sh and runExamples.bat -->
                                                                                <addClasspath>true</addClasspath>
                                                                                <classpathPrefix>../../binaries/</classpathPrefix>
                                                                      </manifest>
                                                            </archive>
                                                  </configuration>
                                        </plugin>
                              </plugins>
                    </pluginManagement>
                    <plugins>
                              <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-eclipse-plugin</artifactId>
                                        <configuration>
                                                  <additionalBuildcommands>
                                                            <buildcommand>org.drools.eclipse.droolsbuilder</buildcommand>
                                                  </additionalBuildcommands>
                                        </configuration>
                              </plugin>
                    </plugins>
          </build>


          <dependencies>
                    <!-- Internal dependencies -->
                    <dependency>
                              <groupId>org.jbpm</groupId>
                              <artifactId>jbpm-bpmn2</artifactId>
                              <version>${jBPM.version}</version>
                    </dependency>
                    <dependency>
                              <groupId>org.jbpm</groupId>
                              <artifactId>jbpm-human-task</artifactId>
                              <version>${jBPM.version}</version>
                    </dependency>
                    <dependency>
                              <groupId>junit</groupId>
                              <artifactId>junit</artifactId>
                              <version>4.5</version>
                    </dependency>
                    <dependency>
                              <groupId>com.thoughtworks.xstream</groupId>
                              <artifactId>xstream</artifactId>
                              <version>1.4.1</version>
                    </dependency>
          </dependencies>
</project>

Cheers,

Gerardo
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/624889#624889]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
*jboss-Usuario *mailing lista
*jboss-user@xxxxxxxxxxxxxxx
*https://listas.*jboss.*org/*mailman/*listinfo/*jboss-Usuario
_______________________________________________
jboss-user mailing list
jboss-user@xxxxxxxxxxxxxxx
https://lists.jboss.org/mailman/listinfo/jboss-user
<Anterior por Tema] Tema Actual [Siguiente por Tema>