Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup project pom file #618

Merged
merged 1 commit into from
Jul 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 34 additions & 70 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
<packaging>maven-plugin</packaging>

<name>Versions Maven Plugin</name>
<url>http://www.mojohaus.org/versions-maven-plugin/</url>
<url>https://www.mojohaus.org/versions-maven-plugin/</url>

<description>
Versions Plugin for Maven. The Versions Plugin updates the versions of components in the POM.
</description>
<inceptionYear>2008</inceptionYear>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
Expand Down Expand Up @@ -50,6 +52,7 @@
<timezone>+1</timezone>
</developer>
</developers>

<contributors>
<contributor>
<name>Benoit Lafontaine</name>
Expand Down Expand Up @@ -87,13 +90,9 @@
<scm>
<connection>scm:git:https://github.com/mojohaus/versions-maven-plugin.git</connection>
<developerConnection>scm:git:ssh://git@github.com/mojohaus/versions-maven-plugin.git</developerConnection>
<url>https://github.com/mojohaus/versions-maven-plugin/tree/${project.scm.tag}</url>
<tag>versions-maven-plugin-2.11.0</tag>
<url>https://github.com/mojohaus/versions-maven-plugin/tree/master</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>github</system>
<url>https://github.com/mojohaus/versions-maven-plugin/issues/</url>
</issueManagement>

<properties>
<mojo.java.target>1.8</mojo.java.target>
Expand Down Expand Up @@ -124,7 +123,6 @@
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.6.4</version>
<scope>provided</scope>
</dependency>

Expand Down Expand Up @@ -215,12 +213,6 @@
<artifactId>plexus-utils</artifactId>
<version>3.4.2</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
<version>2.1.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-interactivity-api</artifactId>
Expand Down Expand Up @@ -276,23 +268,8 @@
</plugin>
</plugins>
</pluginManagement>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.6.4</version>
<configuration>
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
</configuration>
<executions>
<execution>
<goals>
<goal>helpmojo</goal>
<goal>descriptor</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
Expand Down Expand Up @@ -352,29 +329,6 @@
<model>src/main/mdo/rule.mdo</model>
</models>
<version>2.0.0</version>
<useJava5>true</useJava5>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>mrm-maven-plugin</artifactId>
<version>1.4.1</version>
<executions>
<execution>
<goals>
<goal>start</goal>
<goal>stop</goal>
</goals>
</execution>
</executions>
<configuration>
<propertyName>repository.proxy.url</propertyName>
<repositories>
<mockRepo>
<source>src/it-repo</source>
</mockRepo>
<proxyRepo />
</repositories>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -437,7 +391,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.7</version>
<reportSets>
<reportSet>
<reports>
Expand All @@ -460,7 +413,32 @@
<id>run-its</id>
<build>
<defaultGoal>verify</defaultGoal>

<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>mrm-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>start</goal>
<goal>stop</goal>
</goals>
</execution>
</executions>
<configuration>
<propertyName>repository.proxy.url</propertyName>
<repositories>
<mockRepo>
<source>src/it-repo</source>
</mockRepo>
<localRepo>
<source>${project.build.directory}/local-repo</source>
</localRepo>
<proxyRepo />
</repositories>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
Expand All @@ -469,7 +447,8 @@
<id>integration-test</id>
<goals>
<goal>install</goal>
<goal>run</goal>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
<configuration>
<streamLogs>false</streamLogs>
Expand All @@ -480,21 +459,6 @@
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<report>report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</profile>
</profiles>
</project>
8 changes: 7 additions & 1 deletion src/site/site.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<project xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
<project xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd">
<body>
<breadcrumbs>
<item name="MojoHaus" href="https://www.mojohaus.org/"/>
<item name="${this.name}" href="${this.url}" />
</breadcrumbs>

<menu name="Overview">
<item name="Introduction" href="index.html"/>
<item name="Goals" href="plugin-info.html"/>
Expand Down