diff options
author | Michael Keppler | 2018-12-04 07:10:44 +0000 |
---|---|---|
committer | Michael Keppler | 2018-12-15 14:37:24 +0000 |
commit | 55b54c291576e4d6f2bdc27306192ba5ae438655 (patch) | |
tree | 644e4b28717068bbaa5d9eafee2dcc4fdffb6861 /pom.xml | |
parent | 7cecb30e3a9431dc9a8e38664e1495737e782e5b (diff) | |
download | egit-github-55b54c291576e4d6f2bdc27306192ba5ae438655.tar.gz egit-github-55b54c291576e4d6f2bdc27306192ba5ae438655.tar.xz egit-github-55b54c291576e4d6f2bdc27306192ba5ae438655.zip |
Upgrade Maven dependencies
* reorder sections to ease comparison with egit pom
* remove superflous version declaration from plugin section (already
configured in plugin management)
* fix writing of linkXRef argument in PMD configuration
* upgrade PMD, Spotbugs
Change-Id: I0e2d4862b017a612e57d94b26f23ddbbf08b47db
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 453 |
1 files changed, 226 insertions, 227 deletions
@@ -57,239 +57,13 @@ <properties> <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> + <spotbugs-maven-plugin-version>3.1.9</spotbugs-maven-plugin-version> <egit-site>file:/${basedir}/../../egit/org.eclipse.egit.repository/target/repository</egit-site> <platform-version-name>oxygen</platform-version-name> <download-publish-path>/home/data/httpd/download.eclipse.org/egit/github/updates-nightly</download-publish-path> <license-site>http://download.eclipse.org/cbi/updates/license</license-site> </properties> - <modules> - <module>org.eclipse.mylyn.github.target</module> - <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> - <id>egit</id> - <layout>p2</layout> - <url>${egit-site}</url> - </repository> - <repository> - <id>eclipse.license</id> - <layout>p2</layout> - <url>${license-site}</url> - </repository> - </repositories> - - <pluginRepositories> - <pluginRepository> - <id>repo.eclipse.org.cbi-releases</id> - <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url> - </pluginRepository> - </pluginRepositories> - - <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> - <target> - <artifact> - <groupId>org.eclipse.mylyn.github</groupId> - <artifactId>org.eclipse.mylyn.github.target</artifactId> - <version>5.3.0-SNAPSHOT</version> - <classifier>github</classifier> - </artifact> - </target> - </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</groupId> - <artifactId>tycho-surefire-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> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <version>3.0.0</version> - </plugin> - </plugins> - </pluginManagement> - <sourceDirectory>src/</sourceDirectory> - </build> - <profiles> <profile> <id>platform-oxygen</id> @@ -503,6 +277,231 @@ </profile> </profiles> + <modules> + <module>org.eclipse.mylyn.github.target</module> + <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> + + <pluginRepositories> + <pluginRepository> + <id>repo.eclipse.org.cbi-releases</id> + <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url> + </pluginRepository> + </pluginRepositories> + + <repositories> + <repository> + <id>egit</id> + <layout>p2</layout> + <url>${egit-site}</url> + </repository> + <repository> + <id>eclipse.license</id> + <layout>p2</layout> + <url>${license-site}</url> + </repository> + </repositories> + + <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> + <extensions>true</extensions> + </plugin> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>target-platform-configuration</artifactId> + <configuration> + <target> + <artifact> + <groupId>org.eclipse.mylyn.github</groupId> + <artifactId>org.eclipse.mylyn.github.target</artifactId> + <version>5.3.0-SNAPSHOT</version> + <classifier>github</classifier> + </artifact> + </target> + </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</groupId> + <artifactId>tycho-surefire-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.11.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.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>3.0.0</version> + </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> + <distributionManagement> <repository> <id>repo.eclipse.org</id> |