17:49, EET
June 8, 2016
The codegen-maven-plugin references a parent pom that is not shipped.
File:
prosys-opc-ua-sdk-for-java-5.2.6-151-client-server-binary/codegen/maven-integration/maven-install-helper/data/prosys-opc-ua-java-sdk-codegen-maven-plugin-5.2.4-127.pom
References artifact: com.prosysopc.ua.codegen2:codegen2-parent:5.2.4-127
Installing this Maven Plugin with the original pom makes it unusable since Maven cannot resolve the parent pom.
10:29, EET
April 3, 2012
Hi,
It should work correctly as long as you used the ‘maven-install-helper’ project with ‘mvn install’. Or alternatively use the pom file next to the jar within the ‘data’ folder i.e. the ‘mvn install’ on the ‘maven-install-helper’ folder project is configured as
... ${project.basedir}/data/prosys-opc-ua-java-sdk-codegen-maven-plugin-5.2.4-127.jar ${project.basedir}/data/prosys-opc-ua-java-sdk-codegen-maven-plugin-5.2.4-127.pom ...
(or take the pom from .m2 after the install)
Maven typically includes the pom used in the build inside the jar. In the SDK jar we have excluded that (wouldn’t work), but seems here either we forgot or that it couldn’t be easily done in a way that wouldn’t also break the plugin. We do create a “standalone” pom file as part of the build (the one next to the jar in the data folder), which is intended to be used. Lets see if we can improve this in some future version so that a “install only the jar” action would fail (or ensure the correct pom would be inside the jar).
Most Users Ever Online: 1919
Currently Online:
40 Guest(s)
Currently Browsing this Page:
2 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 734
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1523
Posts: 6449
Newest Members:
christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley, Thomassnism, biancacraft16, edgardo3518Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1