-
Bug
-
Resolution: Done
-
Major
-
7.0.0.GA, 7.0.1.GA, 7.0.2.GA, 7.1.0.GA, 7.1.1.GA
-
None
-
OS: RHEL 7.6
Maven version: 3.5.4
Java version: OpenJDK 1.8.0_191
Attempting to generate a Work Item Handler via the command line using the Maven "jbpm-workitems-archetype" archetype fails with the following error:
[ERROR] Failed to execute goal on project myworkitem: Could not resolve dependencies for project org.jbpm.contrib:myworkitem:jar:7.11.0.Final-redhat-00004: Failure to find org.jbpm:jbpm-workitems-core:jar:tests:7.11.0.Final-redhat-00004 in http://maven.repository.redhat.com/ga was cached in the local repository, resolution will not be reattempted until the update interval of jboss-ga-repository has elapsed or updates are forced -> [Help 1]
This error results from the following dependency, found inside the "pom.xml" for the "jbpm-workitems-archetype":
<dependency>
<groupId>org.jbpm</groupId>
<artifactId>jbpm-workitems-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
Red Hat repositories [1] do not contain the "-tests" JARs, while upstream repositories [2] do.
[1] https://maven.repository.redhat.com/nexus/content/groups/product-ga/org/jbpm/jbpm-workitems-core/
[2] https://repository.jboss.org/nexus/content/repositories/public-jboss/org/jbpm/jbpm-workitems-core/
- is incorporated by
-
RHPAM-2493 Upgrade workitem archetype for recent GA Versions
- Closed
- is related to
-
RHPAM-2369 Work Item Archetype does not work with product version
- Closed