You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2021/01/31 17:51:33 UTC

[maven-artifact-plugin] branch master updated: prepare for 3.0.0

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-artifact-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new d2d6262  prepare for 3.0.0
d2d6262 is described below

commit d2d62622bc6e9ec4abbcf59d0591af852bca16bd
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Jan 31 18:51:03 2021 +0100

    prepare for 3.0.0
---
 .gitignore                                                            | 2 ++
 pom.xml                                                               | 2 +-
 .../org/apache/maven/plugins/artifact/buildinfo/BuildInfoWriter.java  | 2 +-
 .../maven/plugins/artifact/buildinfo/ReferenceBuildinfoUtil.java      | 4 ++--
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/.gitignore b/.gitignore
index f79c928..f810aca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,8 @@ bin/
 *.ipr
 *.iml
 .idea
+.vscode/
+.factorypath
 out/
 .DS_Store
 /bootstrap
diff --git a/pom.xml b/pom.xml
index a7370c1..6c87fb8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,7 +30,7 @@
   </parent>
 
   <artifactId>maven-artifact-plugin</artifactId>
-  <version>1.1-SNAPSHOT</version>
+  <version>3.0.0-SNAPSHOT</version>
   <packaging>maven-plugin</packaging>
 
   <name>Apache Maven Artifact Plugin</name>
diff --git a/src/main/java/org/apache/maven/plugins/artifact/buildinfo/BuildInfoWriter.java b/src/main/java/org/apache/maven/plugins/artifact/buildinfo/BuildInfoWriter.java
index 973756f..34a27cb 100644
--- a/src/main/java/org/apache/maven/plugins/artifact/buildinfo/BuildInfoWriter.java
+++ b/src/main/java/org/apache/maven/plugins/artifact/buildinfo/BuildInfoWriter.java
@@ -172,7 +172,7 @@ class BuildInfoWriter
         printFile( prefix, artifact.getFile(), getArtifactFilename( artifact ) );
         artifacts.put( artifact, prefix );
     }
-    
+
     private String getArtifactFilename( Artifact artifact )
     {
         StringBuilder path = new StringBuilder( 128 );
diff --git a/src/main/java/org/apache/maven/plugins/artifact/buildinfo/ReferenceBuildinfoUtil.java b/src/main/java/org/apache/maven/plugins/artifact/buildinfo/ReferenceBuildinfoUtil.java
index 81b0f86..f5865b9 100644
--- a/src/main/java/org/apache/maven/plugins/artifact/buildinfo/ReferenceBuildinfoUtil.java
+++ b/src/main/java/org/apache/maven/plugins/artifact/buildinfo/ReferenceBuildinfoUtil.java
@@ -59,7 +59,7 @@ import java.util.jar.Manifest;
 class ReferenceBuildinfoUtil
 {
     private static final Set<String> JAR_TYPES;
-    
+
     static
     {
         Set<String> types = new HashSet<>();
@@ -118,7 +118,7 @@ class ReferenceBuildinfoUtil
                     // download
                     File file = downloadReference( repo, artifact );
                     referenceArtifacts.put( artifact, file );
-                    
+
                     // guess Java version and OS
                     if ( ( javaVersion == null ) && JAR_TYPES.contains( artifact.getType() ) )
                     {