[jboss-user] [jBPM] - Re: Maven problems for jBPM-Examples

Gerardo Navarro Suarez do-not-reply at jboss.com
Tue Sep 6 07:08:10 EDT 2011


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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110906/128abec3/attachment-0001.html 


More information about the jboss-user mailing list