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 2019/10/13 15:58:38 UTC
[maven] branch master updated: MNG-6781 fix sisu project url,
which is invalid in pom
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.git
The following commit(s) were added to refs/heads/master by this push:
new eca4905 MNG-6781 fix sisu project url, which is invalid in pom
eca4905 is described below
commit eca4905fcdb8df5dc77ba0f683125643638a6b6e
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Oct 13 17:58:33 2019 +0200
MNG-6781 fix sisu project url, which is invalid in pom
---
apache-maven/src/main/appended-resources/META-INF/LICENSE.vm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/apache-maven/src/main/appended-resources/META-INF/LICENSE.vm b/apache-maven/src/main/appended-resources/META-INF/LICENSE.vm
index e129078..bf36fa7 100644
--- a/apache-maven/src/main/appended-resources/META-INF/LICENSE.vm
+++ b/apache-maven/src/main/appended-resources/META-INF/LICENSE.vm
@@ -46,6 +46,9 @@ subject to the terms and conditions of the following licenses:
#* *##if ( $license.name == "Eclipse Public License, Version 1.0" )
#* *##set ( $spdx = 'EPL-1.0' )
#* *##end
+#* *##if ( $project.url.startsWith( "http://www.eclipse.org/sisu/" ) )
+#* *##set ( $project.url = 'https://www.eclipse.org/sisu/' )
+#* *##end
#* *##if ( $includeLicense )
#* *##if ( $url || $spdx )
#* *##set ( $licFile = 'lib/' + $artId + '.license' )
@@ -56,7 +59,10 @@ subject to the terms and conditions of the following licenses:
#* *##end
#* *##end
-- $project.name#if ( $project.url ) ($project.url)#end $project.artifact
+- lib/${project.artifact.artifactId}-${project.artifact.version}.jar: $project.artifact.toString().replace( ':eclipse-plugin:', ':jar:' )
+ $project.name
+ #if ( $project.url )Project URL: ${project.url}#end
+
License: $license.name#if ( $spdx ) ($spdx)#end#if ( $url ) $url ($licFile)#end
#* *##end