JUDDI-954 Build fails on Red Hat using JDK "1.7.0_79" - merged
diff --git a/juddi-gui-dsig/pom.xml b/juddi-gui-dsig/pom.xml
index 7f1b5e1..1c8ac69 100644
--- a/juddi-gui-dsig/pom.xml
+++ b/juddi-gui-dsig/pom.xml
@@ -51,7 +51,7 @@
</goals>
<phase>package</phase>
<configuration>
-
+
<archive>${project.build.directory}/${artifactId}-${version}-jar-with-dependencies.jar</archive>
<keystore>src/main/keystore/signing-jar.keystore</keystore>
<alias>applet</alias>
@@ -98,6 +98,24 @@
</dependency>
</dependencies>
</profile>
+ <profile>
+ <id>standard-with-plugin-in-jre-folder</id>
+ <activation>
+ <file>
+ <exists>${java.home}/jre/lib/plugin.jar</exists>
+ </file>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>com.sun.jdk</groupId>
+ <artifactId>plugin</artifactId>
+ <version>1.6.0</version>
+ <type>jar</type>
+ <scope>system</scope>
+ <systemPath>${java.home}/jre/lib/plugin.jar</systemPath>
+ </dependency>
+ </dependencies>
+ </profile>
<profile>
<id>icedtea-web</id>
<activation>