[420738] Determine which eclipse.inf files are necessary for Tycho (CBI
builds)
Signed-off-by: Thanh Ha <thanh.ha@eclipse.org>
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.model/META-INF/eclipse.inf b/tests/org.eclipse.wst.jsdt.core.tests.model/META-INF/eclipse.inf
deleted file mode 100644
index fdcf47e..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.model/META-INF/eclipse.inf
+++ /dev/null
@@ -1,6 +0,0 @@
-# We do not want any nested jars
-# signed or normalized for packing
-# see bug 274743 Some unit tests are sensitive to details of build
-# https://bugs.eclipse.org/bugs/show_bug.cgi?id=274743
-
-jarprocessor.exclude.children=true
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.model/pom.xml b/tests/org.eclipse.wst.jsdt.core.tests.model/pom.xml
index 21c8b06..1e58c6d 100644
--- a/tests/org.eclipse.wst.jsdt.core.tests.model/pom.xml
+++ b/tests/org.eclipse.wst.jsdt.core.tests.model/pom.xml
@@ -29,4 +29,31 @@
<testSuite>${project.artifactId}</testSuite>
<testClass>org.eclipse.wst.jsdt.core.tests.RunJSDTCoreTests</testClass>
</properties>
+
+ <profiles>
+ <profile>
+ <id>eclipse-sign</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-jarsigner-plugin</artifactId>
+ <version>${cbi-plugins.version}</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>