Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2018-09-08 03:07:27 -0400
committerMichael Keppler2018-09-22 08:47:38 -0400
commit7753b554f55967bcba55f1564e3779bceed06a94 (patch)
tree7e99e769c629880898b3f42df86f1a9dce14a8cf
parent47ded5291b35401f1feda18856e76acdc88e4254 (diff)
downloadegit-github-7753b554f55967bcba55f1564e3779bceed06a94.tar.gz
egit-github-7753b554f55967bcba55f1564e3779bceed06a94.tar.xz
egit-github-7753b554f55967bcba55f1564e3779bceed06a94.zip
Cleanup github POM
* use same whitespace as egit POM for easier synchronization between the different POMs * add mailinglist, issuemanagement sections * replace maven prerequisite by maven enforcer to avoid a warning in the console output * replace findbugs by spotbugs * update all maven plugins to current versions Changes directly in the Jenkins job: * remove parallel building, since Tycho is not threadsafe There is still a huge amount of Eclipse version related things to clean up. However, this change focuses on the build tooling only. Change-Id: If936f37c4ad40eee4d7d521236588fd1ef058802 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
-rw-r--r--pom.xml413
1 files changed, 223 insertions, 190 deletions
diff --git a/pom.xml b/pom.xml
index cf0cfcdb..0f2c4783 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,18 +14,29 @@
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>
+ <modelVersion>4.0.0</modelVersion>
- <version>5.2.0-SNAPSHOT</version>
- <prerequisites>
- <maven>3.0</maven>
- </prerequisites>
+ <groupId>org.eclipse.mylyn.github</groupId>
+ <artifactId>github-parent</artifactId>
+ <version>5.2.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
- <groupId>org.eclipse.mylyn.github</groupId>
- <artifactId>github-parent</artifactId>
- <packaging>pom</packaging>
+ <name>Eclipse EGit Mylyn GitHub Connector Parent</name>
- <name>Eclipse EGit Mylyn GitHub Connector Parent</name>
+ <mailingLists>
+ <mailingList>
+ <name>egit-dev Mailing List</name>
+ <post>egit-dev@eclipse.org</post>
+ <subscribe>https://dev.eclipse.org/mailman/listinfo/egit-dev</subscribe>
+ <unsubscribe>https://dev.eclipse.org/mailman/listinfo/egit-dev</unsubscribe>
+ <archive>http://dev.eclipse.org/mhonarc/lists/egit-dev</archive>
+ </mailingList>
+ </mailingLists>
+
+ <issueManagement>
+ <url>https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;product=EGit;component=GitHub</url>
+ <system>Bugzilla</system>
+ </issueManagement>
<licenses>
<license>
@@ -44,8 +55,9 @@
</licenses>
<properties>
- <tycho-version>1.1.0</tycho-version>
+ <tycho-version>1.2.0</tycho-version>
<tycho-extras-version>${tycho-version}</tycho-extras-version>
+ <spotbugs-maven-plugin-version>3.1.6</spotbugs-maven-plugin-version>
<egit-site>file:/${basedir}/../../egit/org.eclipse.egit.repository/target/repository</egit-site>
<platform-version-name>mars</platform-version-name>
<mylyn-site>http://download.eclipse.org/mylyn/releases/3.7</mylyn-site>
@@ -55,16 +67,16 @@
<license-site>http://download.eclipse.org/cbi/updates/license</license-site>
</properties>
- <modules>
- <module>org.eclipse.egit.github.core</module>
- <module>org.eclipse.mylyn.github.core</module>
- <module>org.eclipse.mylyn.github.ui</module>
- <module>org.eclipse.mylyn.github-feature</module>
- <module>org.eclipse.egit.github.core.tests</module>
- <!--module>org.eclipse.mylyn.github.tests</module -->
- <module>org.eclipse.mylyn.github-site</module>
- <module>org.eclipse.mylyn.github.doc</module>
- </modules>
+ <modules>
+ <module>org.eclipse.egit.github.core</module>
+ <module>org.eclipse.mylyn.github.core</module>
+ <module>org.eclipse.mylyn.github.ui</module>
+ <module>org.eclipse.mylyn.github-feature</module>
+ <module>org.eclipse.egit.github.core.tests</module>
+ <!--module>org.eclipse.mylyn.github.tests</module -->
+ <module>org.eclipse.mylyn.github-site</module>
+ <module>org.eclipse.mylyn.github.doc</module>
+ </modules>
<repositories>
<repository>
@@ -101,161 +113,182 @@
</pluginRepository>
</pluginRepositories>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-maven-plugin</artifactId>
- <version>${tycho-version}</version>
- <extensions>true</extensions>
- </plugin>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>target-platform-configuration</artifactId>
- <configuration>
- <resolver>p2</resolver>
- </configuration>
- </plugin>
- </plugins>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-compiler-plugin</artifactId>
- <version>${tycho-version}</version>
- <configuration>
- <encoding>UTF-8</encoding>
- <source>1.8</source>
- <target>1.8</target>
- <!-- Do not use useProjectSettings; it'll always override -nowarn -->
- <useProjectSettings>false</useProjectSettings>
- <compilerArgs>
- <arg>-properties</arg>
- <arg>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</arg>
- <arg>-nowarn</arg>
- </compilerArgs>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.4.1</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>target-platform-configuration</artifactId>
- <version>${tycho-version}</version>
- <configuration>
- <resolver>p2</resolver>
- <pomDependencies>consider</pomDependencies>
- <environments>
- <environment>
- <os>linux</os>
- <ws>gtk</ws>
- <arch>x86</arch>
- </environment>
- <environment>
- <os>linux</os>
- <ws>gtk</ws>
- <arch>x86_64</arch>
- </environment>
- <environment>
- <os>win32</os>
- <ws>win32</ws>
- <arch>x86</arch>
- </environment>
- <environment>
- <os>win32</os>
- <ws>win32</ws>
- <arch>x86_64</arch>
- </environment>
- <environment>
- <os>macosx</os>
- <ws>cocoa</ws>
- <arch>x86_64</arch>
- </environment>
- </environments>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-maven-plugin</artifactId>
- <version>${tycho-version}</version>
- </plugin>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-p2-plugin</artifactId>
- <version>${tycho-version}</version>
- </plugin>
- <plugin>
- <groupId>org.eclipse.tycho.extras</groupId>
- <artifactId>tycho-pack200a-plugin</artifactId>
- <version>${tycho-extras-version}</version>
- </plugin>
- <plugin>
- <groupId>org.eclipse.tycho.extras</groupId>
- <artifactId>tycho-pack200b-plugin</artifactId>
- <version>${tycho-extras-version}</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <version>2.3.2</version>
- <configuration>
- <findbugsXmlOutput>true</findbugsXmlOutput>
- <failOnError>false</failOnError>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <sourceEncoding>utf-8</sourceEncoding>
- <minimumTokens>100</minimumTokens>
- <targetJdk>1.8</targetJdk>
- <format>xml</format>
- <failOnViolation>false</failOnViolation>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>cpd-check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.8</version>
- <executions>
- <execution>
- <goals>
- <goal>aggregate</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.eclipse.cbi.maven.plugins</groupId>
- <artifactId>eclipse-jarsigner-plugin</artifactId>
- <version>1.1.4</version>
- </plugin>
- </plugins>
- </pluginManagement>
- <sourceDirectory>src/</sourceDirectory>
- </build>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>3.0.0-M1</version>
+ <executions>
+ <execution>
+ <id>enforce-maven</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>3.5.2</version>
+ </requireMavenVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-maven-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <configuration>
+ <resolver>p2</resolver>
+ </configuration>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-compiler-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ <source>1.8</source>
+ <target>1.8</target>
+ <!-- Do not use useProjectSettings; it'll always override -nowarn -->
+ <useProjectSettings>false</useProjectSettings>
+ <compilerArgs>
+ <arg>-properties</arg>
+ <arg>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</arg>
+ <arg>-nowarn</arg>
+ </compilerArgs>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>3.1.0</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <resolver>p2</resolver>
+ <pomDependencies>consider</pomDependencies>
+ <environments>
+ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86</arch>
+ </environment>
+ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86_64</arch>
+ </environment>
+ <environment>
+ <os>win32</os>
+ <ws>win32</ws>
+ <arch>x86</arch>
+ </environment>
+ <environment>
+ <os>win32</os>
+ <ws>win32</ws>
+ <arch>x86_64</arch>
+ </environment>
+ <environment>
+ <os>macosx</os>
+ <ws>cocoa</ws>
+ <arch>x86_64</arch>
+ </environment>
+ </environments>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-maven-plugin</artifactId>
+ <version>${tycho-version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-p2-plugin</artifactId>
+ <version>${tycho-version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-pack200a-plugin</artifactId>
+ <version>${tycho-extras-version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-pack200b-plugin</artifactId>
+ <version>${tycho-extras-version}</version>
+ </plugin>
+ <plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ <version>${spotbugs-maven-plugin-version}</version>
+ <configuration>
+ <xmlOutput>true</xmlOutput>
+ <failOnError>false</failOnError>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>3.10.0</version>
+ <configuration>
+ <sourceEncoding>utf-8</sourceEncoding>
+ <minimumTokens>100</minimumTokens>
+ <targetJdk>1.8</targetJdk>
+ <format>xml</format>
+ <failOnViolation>false</failOnViolation>
+ <linkXref>false</linkXref>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>cpd-check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.0.1</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>aggregate</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-jarsigner-plugin</artifactId>
+ <version>1.1.5</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <sourceDirectory>src/</sourceDirectory>
+ </build>
<profiles>
<profile>
@@ -306,21 +339,21 @@
<eclipse-site>http://download.eclipse.org/releases/mars</eclipse-site>
</properties>
</profile>
- <profile>
- <id>static-checks</id>
- <build>
- <plugins>
- <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>
- </profile>
+ <profile>
+ <id>static-checks</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
<profile>
<id>eclipse-sign</id>
<build>

Back to the top