Description of problem: The following dependency can be found in org/gatein/sso/sso-parent/1.3.3.Final-redhat-1/sso-parent-1.3.3.Final-redhat-1.pom. <dependency> <groupId>java</groupId> <artifactId>plugin</artifactId> <version>1.5</version> <scope>system</scope> <systemPath>/usr/share/icedtea-web/plugin.jar</systemPath> </dependency> This causes problems with portability and raises errors when trying to construct the dependency tree on a machine without the plugin on the specified path.
icedtea need to be installed on machine. This is requirement for SSO. Assign to Marek, he can explain in more detail why it needs to be like that.
Artifact org.josso:josso-applet-agent:1.8.5 declares this system dependency: <dependency> <groupId>java</groupId> <artifactId>plugin</artifactId> <version>1.5</version><systemPath>${JAVA_HOME}/jre/lib/plugin.jar</systemPath> <scope>system</scope> </dependency> This is not a problem for build with Oracle SDK as plugin.jar is available on the required path: /home/mposolda/software/jdk1.6.0_32/jre/lib/plugin.jar /home/mposolda/software/jdk1.7.0_05/jre/lib/plugin.jar However for productized build with OpenJDK it seems to be an issue because plugin.jar is not available in requested path as part of JDK but it's available as part of icedtea in /usr/share/icedtea-web/plugin.jar . So at this moment it seems that it's requirement for OpenJDK to have the file on the path /usr/share/icedtea-web/plugin.jar
PRoductized build in mead requires icedtea. Thats why path needs to be overriden.