Skip to content

Commit

Permalink
Adjusting the project to use of hashver-maven-plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
avodonosov committed Dec 8, 2020
1 parent a7c8e34 commit fec377e
Show file tree
Hide file tree
Showing 20 changed files with 102 additions and 26 deletions.
9 changes: 9 additions & 0 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
<extension>
<groupId>pro.avodonosov</groupId>
<artifactId>hashver-maven-plugin</artifactId>
<version>1.6</version>
</extension>
</extensions>
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
Fork Info
======================
This fork is to test the [hashver-maven-plugin](https://github.com/avodonosov/hashver-maven-plugin).

Original README is below.
======================

Contributing to [Apache Maven Wagon](https://maven.apache.org/wagon/)
======================

Expand Down
37 changes: 32 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ under the License.

<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon.version}</version>
<packaging>pom</packaging>

<name>Apache Maven Wagon</name>
Expand Down Expand Up @@ -230,22 +230,22 @@ under the License.
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-provider-api</artifactId>
<version>${project.version}</version>
<version>${wagon-provider-api.version}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-provider-test</artifactId>
<version>${project.version}</version>
<version>${wagon-provider-test.version}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-common-test</artifactId>
<version>${project.version}</version>
<version>${wagon-ssh-common-test.version}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-common</artifactId>
<version>${project.version}</version>
<version>${wagon-ssh-common.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down Expand Up @@ -356,6 +356,8 @@ under the License.
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes combine.children="append">
<exclude>versions.properties</exclude>
<exclude>.mvn/extensions.xml</exclude>
<exclude>.checkstyle</exclude>
<exclude>**/*.odg</exclude>
<exclude>src/test/resources/**</exclude>
Expand Down Expand Up @@ -448,6 +450,31 @@ under the License.
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.2.2</version>
<configuration>
</configuration>
<executions>
<!-- enable flattening -->
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<!-- ensure proper cleanup -->
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down
17 changes: 17 additions & 0 deletions versions.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
wagon-file.version=3.4.2-SNAPSHOT
wagon-ftp.version=3.4.2-SNAPSHOT
wagon-http-lightweight.version=3.4.2-SNAPSHOT
wagon-http-shared.version=3.4.2-SNAPSHOT
wagon-http.version=3.4.2-SNAPSHOT
wagon-provider-api.version=3.4.2-SNAPSHOT
wagon-provider-test.version=3.4.2-SNAPSHOT
wagon-providers.version=3.4.2-SNAPSHOT
wagon-scm.version=3.4.2-SNAPSHOT
wagon-ssh-common-test.version=3.4.2-SNAPSHOT
wagon-ssh-common.version=3.4.2-SNAPSHOT
wagon-ssh-external.version=3.4.2-SNAPSHOT
wagon-ssh.version=3.4.2-SNAPSHOT
wagon-tck-http.version=-3.4.2-SNAPSHOT
wagon-tcks.version=3.4.2-SNAPSHOT
wagon-webdav-jackrabbit.version=3.4.2-SNAPSHOT
wagon.version=3.4.2-SNAPSHOT
3 changes: 2 additions & 1 deletion wagon-provider-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ under the License.
<parent>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wagon-provider-api</artifactId>
<version>${wagon-provider-api.version}</version>
<name>Apache Maven Wagon :: API</name>
<description>Maven Wagon API that defines the contract between different Wagon implementations</description>

Expand Down
3 changes: 2 additions & 1 deletion wagon-provider-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ under the License.
<parent>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wagon-provider-test</artifactId>
<version>${wagon-provider-test.version}</version>
<name>Apache Maven Wagon :: Provider Test</name>
<description>Suite of tests for Wagon implementations</description>

Expand Down
3 changes: 2 additions & 1 deletion wagon-providers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ under the License.
<parent>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wagon-providers</artifactId>
<version>${wagon-providers.version}</version>
<packaging>pom</packaging>
<name>Apache Maven Wagon :: Providers</name>

Expand Down
3 changes: 2 additions & 1 deletion wagon-providers/wagon-file/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ under the License.
<parent>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-providers</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon-providers.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wagon-file</artifactId>
<version>${wagon-file.version}</version>
<name>Apache Maven Wagon :: Providers :: File Provider</name>
<description>
Wagon provider that gets and puts artifacts using file system protocol
Expand Down
3 changes: 2 additions & 1 deletion wagon-providers/wagon-ftp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ under the License.
<parent>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-providers</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon-providers.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wagon-ftp</artifactId>
<version>${wagon-ftp.version}</version>
<name>Apache Maven Wagon :: Providers :: FTP Provider</name>
<description>
Wagon provider that gets and puts artifacts from and to remote server using FTP protocol
Expand Down
7 changes: 4 additions & 3 deletions wagon-providers/wagon-http-lightweight/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ under the License.
<parent>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-providers</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon-providers.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wagon-http-lightweight</artifactId>
<version>${wagon-http-lightweight.version}</version>
<name>Apache Maven Wagon :: Providers :: Lightweight HTTP Provider</name>
<description>
Wagon provider that gets and puts artifacts through http using standard Java library
Expand All @@ -37,14 +38,14 @@ under the License.
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>wagon-http-shared</artifactId>
<version>${project.version}</version>
<version>${wagon-http-shared.version}</version>
</dependency>

<!-- used fo the TCK -->
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-tck-http</artifactId>
<version>${project.version}</version>
<version>${wagon-tck-http.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
3 changes: 2 additions & 1 deletion wagon-providers/wagon-http-shared/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ under the License.
<parent>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-providers</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon-providers.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wagon-http-shared</artifactId>
<version>${wagon-http-shared.version}</version>
<name>Apache Maven Wagon :: Providers :: HTTP Shared Library</name>
<description>
Shared Library for wagon providers supporting HTTP.
Expand Down
7 changes: 4 additions & 3 deletions wagon-providers/wagon-http/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ under the License.
<parent>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-providers</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon-providers.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wagon-http</artifactId>
<version>${wagon-http.version}</version>
<name>Apache Maven Wagon :: Providers :: HTTP Provider</name>
<description>
Wagon provider that gets and puts artifacts through HTTP(S) using Apache HttpClient-4.x.
Expand All @@ -38,7 +39,7 @@ under the License.
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>wagon-http-shared</artifactId>
<version>${project.version}</version>
<version>${wagon-http-shared.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
Expand Down Expand Up @@ -97,7 +98,7 @@ under the License.
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-tck-http</artifactId>
<version>${project.version}</version>
<version>${wagon-tck-http.version}</version>
<scope>test</scope>
</dependency>

Expand Down
3 changes: 2 additions & 1 deletion wagon-providers/wagon-scm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ under the License.
<parent>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-providers</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon-providers.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wagon-scm</artifactId>
<version>${wagon-scm.version}</version>
<name>Apache Maven Wagon :: Providers :: SCM Provider</name>
<description>
Wagon provider that gets and puts artifacts using a Source Control Management system
Expand Down
3 changes: 2 additions & 1 deletion wagon-providers/wagon-ssh-common-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ under the License.
<parent>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-providers</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon-providers.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wagon-ssh-common-test</artifactId>
<version>${wagon-ssh-common-test.version}</version>
<name>Apache Maven Wagon :: Providers :: SSH Common Tests</name>

<dependencies>
Expand Down
3 changes: 2 additions & 1 deletion wagon-providers/wagon-ssh-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ under the License.
<parent>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-providers</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon-providers.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wagon-ssh-common</artifactId>
<version>${wagon-ssh-common.version}</version>
<name>Apache Maven Wagon :: Providers :: SSH Common Library</name>

<dependencies>
Expand Down
3 changes: 2 additions & 1 deletion wagon-providers/wagon-ssh-external/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ under the License.
<parent>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-providers</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon-providers.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wagon-ssh-external</artifactId>
<version>${wagon-ssh-external.version}</version>
<name>Apache Maven Wagon :: Providers :: SSH External Provider</name>
<description>
Wagon provider that gets and puts artifacts using SSH protocol with a preinstalled SSH client
Expand Down
3 changes: 2 additions & 1 deletion wagon-providers/wagon-ssh/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ under the License.
<parent>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-providers</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon-providers.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wagon-ssh</artifactId>
<version>${wagon-ssh.version}</version>
<name>Apache Maven Wagon :: Providers :: SSH Provider</name>

<properties>
Expand Down
5 changes: 3 additions & 2 deletions wagon-providers/wagon-webdav-jackrabbit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ under the License.
<parent>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-providers</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon-providers.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wagon-webdav-jackrabbit</artifactId>
<version>${wagon-webdav-jackrabbit.version}</version>
<name>Apache Maven Wagon :: Providers :: WebDAV Provider</name>
<description>
Wagon provider that gets and puts artifacts through WebDAV protocol
Expand All @@ -49,7 +50,7 @@ under the License.
<!-- Workaround for QDOX-148, see also MNG-3686 -->
<groupId>${project.groupId}</groupId>
<artifactId>wagon-http-shared</artifactId>
<version>${project.version}</version>
<version>${wagon-http-shared.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
Expand Down
3 changes: 2 additions & 1 deletion wagon-tcks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ under the License.
<parent>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wagon-tcks</artifactId>
<version>${wagon-tcks.version}</version>
<packaging>pom</packaging>
<name>Apache Maven Wagon :: Test Compatibility Kits</name>

Expand Down
3 changes: 2 additions & 1 deletion wagon-tcks/wagon-tck-http/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ under the License.
<parent>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-tcks</artifactId>
<version>3.4.2-SNAPSHOT</version>
<version>${wagon-tcks.version}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>wagon-tck-http</artifactId>
<version>${wagon-tck-http.version}</version>

<name>Apache Maven Wagon :: HTTP Test Compatibility Kit</name>

Expand Down

0 comments on commit fec377e

Please sign in to comment.