[420738] Determine which eclipse.inf files are necessary for Tycho (CBI builds)
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/pom.xml b/tests/org.eclipse.jst.j2ee.core.tests/pom.xml
index 6489b21..87da161 100644
--- a/tests/org.eclipse.jst.j2ee.core.tests/pom.xml
+++ b/tests/org.eclipse.jst.j2ee.core.tests/pom.xml
@@ -24,4 +24,33 @@
<artifactId>org.eclipse.jst.j2ee.core.tests</artifactId>
<version>1.1.500-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
+
+ <!-- Do not sign inner jars, see bug 274743 - Some unit tests are sensitive to details of build -->
+ <profiles>
+ <profile>
+ <id>eclipse-sign</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-jarsigner-plugin</artifactId>
+ <version>1.0.5</version>
+ <executions>
+ <execution>
+ <id>sign</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ <configuration>
+ <excludeInnerJars>true</excludeInnerJars>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>
diff --git a/tests/org.eclipse.jst.j2ee.tests/pom.xml b/tests/org.eclipse.jst.j2ee.tests/pom.xml
index 0d24857..913460c 100644
--- a/tests/org.eclipse.jst.j2ee.tests/pom.xml
+++ b/tests/org.eclipse.jst.j2ee.tests/pom.xml
@@ -24,4 +24,33 @@
<artifactId>org.eclipse.jst.j2ee.tests</artifactId>
<version>1.1.700-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
+
+ <!-- Do not sign inner jars, see bug 274743 - Some unit tests are sensitive to details of build -->
+ <profiles>
+ <profile>
+ <id>eclipse-sign</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-jarsigner-plugin</artifactId>
+ <version>1.0.5</version>
+ <executions>
+ <execution>
+ <id>sign</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ <configuration>
+ <excludeInnerJars>true</excludeInnerJars>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>
diff --git a/tests/org.eclipse.jst.jee.tests/pom.xml b/tests/org.eclipse.jst.jee.tests/pom.xml
index 8f1edd7..d4a7b65 100644
--- a/tests/org.eclipse.jst.jee.tests/pom.xml
+++ b/tests/org.eclipse.jst.jee.tests/pom.xml
@@ -24,4 +24,33 @@
<artifactId>org.eclipse.jst.jee.tests</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
+
+ <!-- Do not sign inner jars, see bug 274743 - Some unit tests are sensitive to details of build -->
+ <profiles>
+ <profile>
+ <id>eclipse-sign</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-jarsigner-plugin</artifactId>
+ <version>1.0.5</version>
+ <executions>
+ <execution>
+ <id>sign</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ <configuration>
+ <excludeInnerJars>true</excludeInnerJars>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>