Tim Lee [
https://community.jboss.org/people/tlee] created the discussion
"Re: jBPM 5.2.0 & Maven"
To view the discussion, visit:
https://community.jboss.org/message/648342#648342
--------------------------------------------------------------
So, looking at it again this morning it looks like using the example from the user guide
works ok:
| | <dependencies> |
| | | <dependency> |
| | | | <groupId>org.jbpm</groupId> |
| | | | <artifactId>jbpm-bpmn2</artifactId> |
| | | | <version>5.0.0</version> |
| | | </dependency> |
| | </dependencies> |
But when I try and up the version to 5.2.0, using:
| | <dependencies> |
| | | <dependency> |
| | | | <groupId>org.jbpm</groupId> |
| | | | <artifactId>jbpm-bpmn2</artifactId> |
| | | | <version>5.2.0</version> |
| | | </dependency> |
| | </dependencies> |
I get this:
Downloading:
https://repository.jboss.org/nexus/content/groups/public//org/jbpm/jbpm-b...
https://repository.jboss.org/nexus/content/groups/public//org/jbpm/jbpm-b...
[INFO] Unable to find resource 'org.jbpm:jbpm-bpmn2:pom:5.2.0' in repository
jboss-public-repository-group (
https://repository.jboss.org/nexus/content/groups/public/
https://repository.jboss.org/nexus/content/groups/public/)
Downloading:
http://repo1.maven.org/maven2/org/jbpm/jbpm-bpmn2/5.2.0/jbpm-bpmn2-5.2.0.pom
http://repo1.maven.org/maven2/org/jbpm/jbpm-bpmn2/5.2.0/jbpm-bpmn2-5.2.0.pom
[INFO] Unable to find resource 'org.jbpm:jbpm-bpmn2:pom:5.2.0' in repository
central (
http://repo1.maven.org/maven2 http://repo1.maven.org/maven2)
Downloading:
https://repository.jboss.org/nexus/content/groups/public//org/jbpm/jbpm-b...
https://repository.jboss.org/nexus/content/groups/public//org/jbpm/jbpm-b...
[INFO] Unable to find resource 'org.jbpm:jbpm-bpmn2:jar:5.2.0' in repository
jboss-public-repository-group (
https://repository.jboss.org/nexus/content/groups/public/
https://repository.jboss.org/nexus/content/groups/public/)
Downloading:
http://repo1.maven.org/maven2/org/jbpm/jbpm-bpmn2/5.2.0/jbpm-bpmn2-5.2.0.jar
http://repo1.maven.org/maven2/org/jbpm/jbpm-bpmn2/5.2.0/jbpm-bpmn2-5.2.0.jar
[INFO] Unable to find resource 'org.jbpm:jbpm-bpmn2:jar:5.2.0' in repository
central (
http://repo1.maven.org/maven2 http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.jbpm:jbpm-bpmn2:jar:5.2.0
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.jbpm -DartifactId=jbpm-bpmn2 -Dversion=5.2.0
-Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.jbpm -DartifactId=jbpm-bpmn2 -Dversion=5.2.0
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) sample-01:sample-01:jar:0.0.1-SNAPSHOT
2) org.jbpm:jbpm-bpmn2:jar:5.2.0
----------
1 required artifact is missing.
-------------
Thanks,
Tim
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/648342#648342]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]