[414706] - [CBI] webtools.javaee and webtools.javaee.tests patches for building with Maven/Tycho
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..18530b3 --- /dev/null +++ b/.gitignore
@@ -0,0 +1,2 @@ +# maven +target/
diff --git a/.project b/.project new file mode 100644 index 0000000..40f78a2 --- /dev/null +++ b/.project
@@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>webtools.javaee.tests</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + </buildSpec> + <natures> + </natures> +</projectDescription>
diff --git a/features/org.eclipse.jst.enterprise_tests.feature/pom.xml b/features/org.eclipse.jst.enterprise_tests.feature/pom.xml new file mode 100644 index 0000000..386d7d6 --- /dev/null +++ b/features/org.eclipse.jst.enterprise_tests.feature/pom.xml
@@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2012, 2013 Eclipse Foundation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Distribution License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/org/documents/edl-v10.php + + Contributors: + Thanh Ha (Eclipse Foundation) - initial implementation +--> + +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.webtools.javaee.tests</artifactId> + <version>3.5.0-SNAPSHOT</version> + <relativePath>../../</relativePath> + </parent> + + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.jst.enterprise_tests.feature</artifactId> + <version>3.3.0-SNAPSHOT</version> + <packaging>eclipse-feature</packaging> +</project>
diff --git a/features/org.eclipse.jst.web_tests.feature/pom.xml b/features/org.eclipse.jst.web_tests.feature/pom.xml new file mode 100644 index 0000000..d17d297 --- /dev/null +++ b/features/org.eclipse.jst.web_tests.feature/pom.xml
@@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2012, 2013 Eclipse Foundation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Distribution License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/org/documents/edl-v10.php + + Contributors: + Thanh Ha (Eclipse Foundation) - initial implementation +--> + +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.webtools.javaee.tests</artifactId> + <version>3.5.0-SNAPSHOT</version> + <relativePath>../../</relativePath> + </parent> + + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.jst.web_tests.feature</artifactId> + <version>3.5.0-SNAPSHOT</version> + <packaging>eclipse-feature</packaging> +</project>
diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..ebb9614 --- /dev/null +++ b/pom.xml
@@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2012, 2013 Eclipse Foundation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Distribution License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/org/documents/edl-v10.php + + Contributors: + Thanh Ha (Eclipse Foundation) - initial implementation +--> + +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.eclipse</groupId> + <artifactId>wtp-parent</artifactId> + <version>3.5.0-SNAPSHOT</version> + <relativePath>../wtp-parent</relativePath> + </parent> + + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.webtools.javaee.tests</artifactId> + <version>3.5.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <modules> + <module>features/org.eclipse.jst.enterprise_tests.feature</module> + <module>features/org.eclipse.jst.web_tests.feature</module> + + <module>tests/org.eclipse.jem.tests</module> + <module>tests/org.eclipse.jst.j2ee.core.tests</module> + <!-- Blocked: Missing MANIFEST.MF for j2ee.tests.performance + <module>tests/org.eclipse.jst.j2ee.core.tests.performance</module> + --> + <module>tests/org.eclipse.jst.j2ee.tests</module> + <!-- Missing MANIFEST.MF + <module>tests/org.eclipse.jst.j2ee.tests.performance</module> + --> + <module>tests/org.eclipse.jst.jee.tests</module> + <module>tests/org.eclipse.jst.servlet.tests</module> + <module>tests/org.eclipse.jst.validation.sample</module> + <module>tests/org.eclipse.jst.validation.test</module> + <module>tests/org.eclipse.jst.web_tests.feature.patch</module> + </modules> +</project>
diff --git a/tests/org.eclipse.jem.tests/pom.xml b/tests/org.eclipse.jem.tests/pom.xml new file mode 100644 index 0000000..675fbe6 --- /dev/null +++ b/tests/org.eclipse.jem.tests/pom.xml
@@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2012, 2013 Eclipse Foundation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Distribution License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/org/documents/edl-v10.php + + Contributors: + Thanh Ha (Eclipse Foundation) - initial implementation +--> + +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.webtools.javaee.tests</artifactId> + <version>3.5.0-SNAPSHOT</version> + <relativePath>../../</relativePath> + </parent> + + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.jem.tests</artifactId> + <version>1.2.300-SNAPSHOT</version> + <packaging>eclipse-plugin</packaging> +</project>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests.performance/plugin.xml b/tests/org.eclipse.jst.j2ee.core.tests.performance/plugin.xml index 77fd513..adb5902 100644 --- a/tests/org.eclipse.jst.j2ee.core.tests.performance/plugin.xml +++ b/tests/org.eclipse.jst.j2ee.core.tests.performance/plugin.xml
@@ -3,7 +3,7 @@ <plugin id="org.eclipse.jst.j2ee.core.tests.performance" name="Core Performance Plug-in" - version="1.1.0" + version="1.1.0.qualifier" provider-name="" class="org.eclipse.jst.j2ee.core.tests.performance.CorePerformanceTestPlugin">
diff --git a/tests/org.eclipse.jst.j2ee.core.tests.performance/pom.xml b/tests/org.eclipse.jst.j2ee.core.tests.performance/pom.xml new file mode 100644 index 0000000..21c0682 --- /dev/null +++ b/tests/org.eclipse.jst.j2ee.core.tests.performance/pom.xml
@@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2012, 2013 Eclipse Foundation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Distribution License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/org/documents/edl-v10.php + + Contributors: + Thanh Ha (Eclipse Foundation) - initial implementation +--> + +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.webtools.javaee.tests</artifactId> + <version>3.5.0-SNAPSHOT</version> + <relativePath>../../</relativePath> + </parent> + + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.jst.j2ee.core.tests.performance</artifactId> + <version>1.1.0-SNAPSHOT</version> + <packaging>eclipse-plugin</packaging> +</project>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/pom.xml b/tests/org.eclipse.jst.j2ee.core.tests/pom.xml new file mode 100644 index 0000000..9bea96a --- /dev/null +++ b/tests/org.eclipse.jst.j2ee.core.tests/pom.xml
@@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2012, 2013 Eclipse Foundation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Distribution License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/org/documents/edl-v10.php + + Contributors: + Thanh Ha (Eclipse Foundation) - initial implementation +--> + +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.webtools.javaee.tests</artifactId> + <version>3.5.0-SNAPSHOT</version> + <relativePath>../../</relativePath> + </parent> + + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.jst.j2ee.core.tests</artifactId> + <version>1.1.401-SNAPSHOT</version> + <packaging>eclipse-plugin</packaging> +</project>
diff --git a/tests/org.eclipse.jst.j2ee.tests.performance/plugin.xml b/tests/org.eclipse.jst.j2ee.tests.performance/plugin.xml index 45e55bd..87396d6 100644 --- a/tests/org.eclipse.jst.j2ee.tests.performance/plugin.xml +++ b/tests/org.eclipse.jst.j2ee.tests.performance/plugin.xml
@@ -3,7 +3,7 @@ <plugin id="org.eclipse.jst.j2ee.tests.performance" name="Performance Plug-in" - version="1.1.0" + version="1.1.0.qualifier" provider-name="" class="org.eclipse.jst.j2ee.tests.performance.PerformancePlugin">
diff --git a/tests/org.eclipse.jst.j2ee.tests.performance/pom.xml b/tests/org.eclipse.jst.j2ee.tests.performance/pom.xml new file mode 100644 index 0000000..8eda735 --- /dev/null +++ b/tests/org.eclipse.jst.j2ee.tests.performance/pom.xml
@@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2012, 2013 Eclipse Foundation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Distribution License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/org/documents/edl-v10.php + + Contributors: + Thanh Ha (Eclipse Foundation) - initial implementation +--> + +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.webtools.javaee.tests</artifactId> + <version>3.5.0-SNAPSHOT</version> + <relativePath>../../</relativePath> + </parent> + + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.jst.j2ee.tests.performance</artifactId> + <version>1.1.0-SNAPSHOT</version> + <packaging>eclipse-plugin</packaging> +</project>
diff --git a/tests/org.eclipse.jst.j2ee.tests/pom.xml b/tests/org.eclipse.jst.j2ee.tests/pom.xml new file mode 100644 index 0000000..fe54516 --- /dev/null +++ b/tests/org.eclipse.jst.j2ee.tests/pom.xml
@@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2012, 2013 Eclipse Foundation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Distribution License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/org/documents/edl-v10.php + + Contributors: + Thanh Ha (Eclipse Foundation) - initial implementation +--> + +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.webtools.javaee.tests</artifactId> + <version>3.5.0-SNAPSHOT</version> + <relativePath>../../</relativePath> + </parent> + + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.jst.j2ee.tests</artifactId> + <version>1.1.600-SNAPSHOT</version> + <packaging>eclipse-plugin</packaging> +</project>
diff --git a/tests/org.eclipse.jst.jee.tests/pom.xml b/tests/org.eclipse.jst.jee.tests/pom.xml new file mode 100644 index 0000000..799d05f --- /dev/null +++ b/tests/org.eclipse.jst.jee.tests/pom.xml
@@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2012, 2013 Eclipse Foundation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Distribution License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/org/documents/edl-v10.php + + Contributors: + Thanh Ha (Eclipse Foundation) - initial implementation +--> + +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.webtools.javaee.tests</artifactId> + <version>3.5.0-SNAPSHOT</version> + <relativePath>../../</relativePath> + </parent> + + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.jst.jee.tests</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>eclipse-plugin</packaging> +</project>
diff --git a/tests/org.eclipse.jst.servlet.tests/pom.xml b/tests/org.eclipse.jst.servlet.tests/pom.xml new file mode 100644 index 0000000..d4bb96c --- /dev/null +++ b/tests/org.eclipse.jst.servlet.tests/pom.xml
@@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2012, 2013 Eclipse Foundation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Distribution License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/org/documents/edl-v10.php + + Contributors: + Thanh Ha (Eclipse Foundation) - initial implementation +--> + +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.webtools.javaee.tests</artifactId> + <version>3.5.0-SNAPSHOT</version> + <relativePath>../../</relativePath> + </parent> + + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.jst.servlet.tests</artifactId> + <version>1.1.400-SNAPSHOT</version> + <packaging>eclipse-plugin</packaging> +</project>
diff --git a/tests/org.eclipse.jst.validation.sample/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.validation.sample/META-INF/MANIFEST.MF index ccbd93d..6ac7f4c 100644 --- a/tests/org.eclipse.jst.validation.sample/META-INF/MANIFEST.MF +++ b/tests/org.eclipse.jst.validation.sample/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: %Bundle-Name.0 Bundle-SymbolicName: org.eclipse.jst.validation.sample; singleton:=true -Bundle-Version: 1.1.1 +Bundle-Version: 1.1.1.qualifier Bundle-ClassPath: runtime/propertiesValidator.jar Bundle-Activator: org.eclipse.jst.validation.sample.workbenchimpl.PropertiesValidatorPlugin Bundle-Localization: plugin
diff --git a/tests/org.eclipse.jst.validation.sample/pom.xml b/tests/org.eclipse.jst.validation.sample/pom.xml new file mode 100644 index 0000000..3c3c542 --- /dev/null +++ b/tests/org.eclipse.jst.validation.sample/pom.xml
@@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2012, 2013 Eclipse Foundation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Distribution License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/org/documents/edl-v10.php + + Contributors: + Thanh Ha (Eclipse Foundation) - initial implementation +--> + +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.webtools.javaee.tests</artifactId> + <version>3.5.0-SNAPSHOT</version> + <relativePath>../../</relativePath> + </parent> + + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.jst.validation.sample</artifactId> + <version>1.1.1-SNAPSHOT</version> + <packaging>eclipse-plugin</packaging> +</project>
diff --git a/tests/org.eclipse.jst.validation.test/pom.xml b/tests/org.eclipse.jst.validation.test/pom.xml new file mode 100644 index 0000000..b17cf04 --- /dev/null +++ b/tests/org.eclipse.jst.validation.test/pom.xml
@@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2012, 2013 Eclipse Foundation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Distribution License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/org/documents/edl-v10.php + + Contributors: + Thanh Ha (Eclipse Foundation) - initial implementation +--> + +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.webtools.javaee.tests</artifactId> + <version>3.5.0-SNAPSHOT</version> + <relativePath>../../</relativePath> + </parent> + + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.jst.validation.test</artifactId> + <version>1.1.100-SNAPSHOT</version> + <packaging>eclipse-plugin</packaging> +</project>
diff --git a/tests/org.eclipse.jst.web_tests.feature.patch/pom.xml b/tests/org.eclipse.jst.web_tests.feature.patch/pom.xml new file mode 100644 index 0000000..fcb36c6 --- /dev/null +++ b/tests/org.eclipse.jst.web_tests.feature.patch/pom.xml
@@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2012, 2013 Eclipse Foundation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Distribution License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/org/documents/edl-v10.php + + Contributors: + Thanh Ha (Eclipse Foundation) - initial implementation +--> + +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.webtools.javaee.tests</artifactId> + <version>3.5.0-SNAPSHOT</version> + <relativePath>../../</relativePath> + </parent> + + <groupId>org.eclipse.webtools.javaee</groupId> + <artifactId>org.eclipse.jst.web_tests.feature.patch</artifactId> + <version>3.1.2-SNAPSHOT</version> + <packaging>eclipse-feature</packaging> +</project>