JBoss Community

Maven problems for jBPM-Examples

created by Gerardo Navarro Suarez in jBPM - View the full discussion

Hello guys,

 

I was importing the jbpm-examples-5.1.0.Final (the project that can be downloaded officially) into my Eclispe. There I faced a maven issue. Right after the import I get this error message: Project build error: Non-resolvable parent POM: Failure to find org.jbpm:jbpm:pom:5.1.0 in http://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM.

 

I didn't toched the pom.xml of the project. But nevertheless, here you see how my pom.xml looks like:

 

<?xml version="1.0" encoding="UTF-8"?>

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 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>

 

  <artifactId>jbpm-examples</artifactId>

 

  <name>jBPM examples</name>

 

  <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/</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>

    </dependency>

    <dependency>

      <groupId>org.jbpm</groupId>

      <artifactId>jbpm-human-task</artifactId>

    </dependency>

    <dependency>

      <groupId>junit</groupId>

      <artifactId>junit</artifactId>

    </dependency>

  </dependencies>

</project>


Does anyone has an idea??

 

Cheers

 

Gerardo

Reply to this message by going to Community

Start a new discussion in jBPM at Community