MNG-6781 fix sisu project url, which is invalid in pom

This commit is contained in:
Hervé Boutemy 2019-10-13 17:58:33 +02:00
parent 55572a4eb0
commit eca4905fcd
1 changed files with 7 additions and 1 deletions

View File

@ -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