Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Overholt2011-03-31 16:45:30 +0000
committerAndrew Overholt2011-03-31 16:45:30 +0000
commitd53198c4152932d194416219b9054a50646983e5 (patch)
treeca749cb2c18b3b580e517c661e927249fcc2e983 /autotools
parentdfb4fe1a8d3de2ac9379dc1d54c9bbee3cade470 (diff)
parent359b0f8e5fde468fb728cd11bece0a93e77e3615 (diff)
downloadorg.eclipse.linuxtools-d53198c4152932d194416219b9054a50646983e5.tar.gz
org.eclipse.linuxtools-d53198c4152932d194416219b9054a50646983e5.tar.xz
org.eclipse.linuxtools-d53198c4152932d194416219b9054a50646983e5.zip
Merge in Tycho-ification work
Diffstat (limited to 'autotools')
-rw-r--r--autotools/org.eclipse.linuxtools.cdt.autotools-docs/pom.xml31
-rw-r--r--autotools/org.eclipse.linuxtools.cdt.autotools-feature/pom.xml31
-rw-r--r--autotools/org.eclipse.linuxtools.cdt.autotools.core/pom.xml57
-rw-r--r--autotools/org.eclipse.linuxtools.cdt.autotools.tests/pom.xml59
-rw-r--r--autotools/org.eclipse.linuxtools.cdt.autotools.tests/test.xml75
-rw-r--r--autotools/org.eclipse.linuxtools.cdt.autotools.ui/pom.xml57
-rw-r--r--autotools/org.eclipse.linuxtools.cdt.autotools/pom.xml56
-rw-r--r--autotools/pom.xml60
8 files changed, 351 insertions, 75 deletions
diff --git a/autotools/org.eclipse.linuxtools.cdt.autotools-docs/pom.xml b/autotools/org.eclipse.linuxtools.cdt.autotools-docs/pom.xml
new file mode 100644
index 0000000000..58cb18d170
--- /dev/null
+++ b/autotools/org.eclipse.linuxtools.cdt.autotools-docs/pom.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2011, Red Hat, Inc. and others
+
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Red Hat Incorporated - initial implementation
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.eclipse.linuxtools.cdt.autotools</groupId>
+ <artifactId>linuxtools-cdt-autotools-parent</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>org.eclipse.linuxtools.cdt.autotools_docs</artifactId>
+ <version>2.0.2-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+ <name>Linux Tools Autotools Documentation Plug-in</name>
+
+</project>
diff --git a/autotools/org.eclipse.linuxtools.cdt.autotools-feature/pom.xml b/autotools/org.eclipse.linuxtools.cdt.autotools-feature/pom.xml
new file mode 100644
index 0000000000..d482ebb643
--- /dev/null
+++ b/autotools/org.eclipse.linuxtools.cdt.autotools-feature/pom.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2011, Red Hat, Inc. and others
+
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Red Hat Incorporated - initial implementation
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.eclipse.linuxtools.cdt.autotools</groupId>
+ <artifactId>linuxtools-cdt-autotools-parent</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>org.eclipse.linuxtools.cdt.autotools-feature</artifactId>
+ <version>2.0.1-SNAPSHOT</version>
+ <packaging>eclipse-feature</packaging>
+
+ <name>Linux Tools Autotools Feature</name>
+
+</project>
diff --git a/autotools/org.eclipse.linuxtools.cdt.autotools.core/pom.xml b/autotools/org.eclipse.linuxtools.cdt.autotools.core/pom.xml
new file mode 100644
index 0000000000..0ac50f174e
--- /dev/null
+++ b/autotools/org.eclipse.linuxtools.cdt.autotools.core/pom.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2011, Red Hat, Inc. and others
+
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Red Hat Incorporated - initial implementation
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.eclipse.linuxtools.cdt.autotools</groupId>
+ <artifactId>linuxtools-cdt-autotools-parent</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>org.eclipse.linuxtools.cdt.autotools.core</artifactId>
+ <version>1.0.1-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+ <name>Linux Tools Autotools Core Plug-in</name>
+
+ <build>
+ <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 -->
+ <resources>
+ <resource>
+ <directory>src</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>maven-osgi-source-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
diff --git a/autotools/org.eclipse.linuxtools.cdt.autotools.tests/pom.xml b/autotools/org.eclipse.linuxtools.cdt.autotools.tests/pom.xml
new file mode 100644
index 0000000000..6b26faf7c2
--- /dev/null
+++ b/autotools/org.eclipse.linuxtools.cdt.autotools.tests/pom.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2011, Red Hat, Inc. and others
+
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Red Hat Incorporated - initial implementation
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.eclipse.linuxtools.cdt.autotools</groupId>
+ <artifactId>linuxtools-cdt-autotools-parent</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>org.eclipse.linuxtools.cdt.autotools.tests</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <packaging>eclipse-test-plugin</packaging>
+
+ <name>Linux Tools Autotools Test Core Plug-in</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>maven-osgi-test-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <excludes>
+ <!-- test mojo matches TestProject be default and treats it as PojoTest -->
+ <exclude>**/Test*.class</exclude>
+ </excludes>
+ <testSuite>org.eclipse.linuxtools.cdt.autotools.tests</testSuite>
+ <testClass>org.eclipse.linuxtools.cdt.autotools.tests.AllAutotoolsTests</testClass>
+ <useUIHarness>true</useUIHarness>
+ <useUIThread>false</useUIThread>
+ <product>org.eclipse.sdk.ide</product>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/autotools/org.eclipse.linuxtools.cdt.autotools.tests/test.xml b/autotools/org.eclipse.linuxtools.cdt.autotools.tests/test.xml
deleted file mode 100644
index 2cdb85daf2..0000000000
--- a/autotools/org.eclipse.linuxtools.cdt.autotools.tests/test.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="testsuite" default="run" basedir=".">
- <property name="classname" value="org.eclipse.linuxtools.cdt.autotools.tests.AllAutotoolsTests" />
- <property name="autoconf_classname" value="org.eclipse.linuxtools.cdt.autotools.tests.autoconf.AutoconfTests" />
- <property name="editors_classname" value="org.eclipse.linuxtools.cdt.autotools.tests.editors.EditorTests" />
-
- <!-- The property ${eclipse-home} should be passed into this script -->
- <!-- Set a meaningful default value for when it is not. -->
- <property name="eclipse-home" value="${basedir}/../.." />
-
- <!-- sets the properties eclipse-home, and library-file -->
- <property name="plugin-name" value="org.eclipse.linuxtools.cdt.autotools.tests" />
- <property name="library-file" value="${eclipse-home}/dropins/${subProjectName2}/plugins/org.eclipse.test/library.xml" />
-
- <!-- This target holds all initialization code that needs to be done for -->
- <!-- all tests that are to be run. Initialization for individual tests -->
- <!-- should be done within the body of the suite target. -->
- <target name="init">
- <tstamp />
- <delete>
- <fileset dir="${eclipse-home}" includes="org*.xml" />
- </delete>
- </target>
-
- <!-- This target defines the tests that need to be run. -->
- <target name="suite">
- <property name="autotools-folder" value="${eclipse-home}/autotools_folder" />
- <delete dir="${autotools-folder}" quiet="true" />
- <echo message="Calling ui-test in ${library-file} with eclipse-home = ${eclipse-home} and library-file = ${library-file}"/>
- <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${autotools-folder}" />
- <property name="plugin-name" value="${plugin-name}" />
- <property name="classname" value="${classname}" />
- </ant>
- </target>
-
- <target name="autoconf_suite">
- <property name="autoconf-folder" value="${eclipse-home}/autoconf_folder" />
- <delete dir="${autoconf-folder}" quiet="true" />
- <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${autoconf-folder}" />
- <property name="plugin-name" value="${plugin-name}" />
- <property name="classname" value="${autoconf_classname}" />
- </ant>
- </target>
-
- <target name="editors_suite">
- <property name="editors-folder" value="${eclipse-home}/editors_folder" />
- <delete dir="${editors-folder}" quiet="true" />
- <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${editors-folder}" />
- <property name="plugin-name" value="${plugin-name}" />
- <property name="classname" value="${editors_classname}" />
- </ant>
- </target>
-
- <!-- This target holds code to cleanup the testing environment after -->
- <!-- after all of the tests have been run. You can use this target to -->
- <!-- delete temporary files that have been created. -->
- <target name="cleanup">
- <mkdir dir="${results}/consolelogs" />
- <copy failonerror="false" file="${eclipse-home}/results/${classname}.txt" tofile="${results}/consolelogs/${classname}_${platform}.metadata.log.txt" />
- </target>
-
- <!-- This target runs the test suite. Any actions that need to happen -->
- <!-- after all the tests have been run should go here. -->
- <target name="run" depends="init,suite,autoconf_suite,editors_suite,cleanup">
- <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
- <property name="includes" value="org*.xml" />
- <property name="output-file" value="${plugin-name}.xml" />
- </ant>
- </target>
-
-</project>
diff --git a/autotools/org.eclipse.linuxtools.cdt.autotools.ui/pom.xml b/autotools/org.eclipse.linuxtools.cdt.autotools.ui/pom.xml
new file mode 100644
index 0000000000..b67d87824a
--- /dev/null
+++ b/autotools/org.eclipse.linuxtools.cdt.autotools.ui/pom.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2011, Red Hat, Inc. and others
+
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Red Hat Incorporated - initial implementation
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.eclipse.linuxtools.cdt.autotools</groupId>
+ <artifactId>linuxtools-cdt-autotools-parent</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>org.eclipse.linuxtools.cdt.autotools.ui</artifactId>
+ <version>1.0.1-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+ <name>Linux Tools Autotools UI Plug-in</name>
+
+ <build>
+ <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 -->
+ <resources>
+ <resource>
+ <directory>src</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>maven-osgi-source-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
diff --git a/autotools/org.eclipse.linuxtools.cdt.autotools/pom.xml b/autotools/org.eclipse.linuxtools.cdt.autotools/pom.xml
new file mode 100644
index 0000000000..f0a2e4ed6e
--- /dev/null
+++ b/autotools/org.eclipse.linuxtools.cdt.autotools/pom.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2011, Red Hat, Inc.
+
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Red Hat Incorporated - initial implementation
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.eclipse.linuxtools.cdt.autotools</groupId>
+ <artifactId>linuxtools-cdt-autotools-parent</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>org.eclipse.linuxtools.cdt.autotools</artifactId>
+ <packaging>eclipse-plugin</packaging>
+
+ <name>Linux Tools Autotools Plug-in</name>
+
+ <build>
+ <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 -->
+ <resources>
+ <resource>
+ <directory>src</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>maven-osgi-source-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
diff --git a/autotools/pom.xml b/autotools/pom.xml
new file mode 100644
index 0000000000..c4a844ddc3
--- /dev/null
+++ b/autotools/pom.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2011, Red Hat, Inc. and others
+
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Red Hat Incorporated - initial implementation
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <prerequisites>
+ <maven>3.0</maven>
+ </prerequisites>
+
+ <parent>
+ <groupId>org.eclipse.linuxtools</groupId>
+ <artifactId>linuxtools-parent</artifactId>
+ <version>0.8.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.eclipse.linuxtools.cdt.autotools</groupId>
+ <artifactId>linuxtools-cdt-autotools-parent</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <name>Eclipse Linux Tools Autotools Parent</name>
+
+ <licenses>
+ <license>
+ <name>Eclipse Public License v1.0</name>
+ <comments>
+ All rights reserved.
+
+ This program and the accompanying materials are made
+ available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.htm
+ </comments>
+ </license>
+ </licenses>
+
+ <modules>
+ <module>org.eclipse.linuxtools.cdt.autotools</module>
+ <module>org.eclipse.linuxtools.cdt.autotools.core</module>
+ <module>org.eclipse.linuxtools.cdt.autotools.ui</module>
+ <module>org.eclipse.linuxtools.cdt.autotools-docs</module>
+ <module>org.eclipse.linuxtools.cdt.autotools-feature</module>
+
+ <module>org.eclipse.linuxtools.cdt.autotools.tests</module>
+ </modules>
+
+</project>

Back to the top