maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyle Holohan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MDEPLOY-196) As a user, I would like to be to specify the licenses for a generated default pom
Date Sat, 06 Jun 2015 03:08:00 GMT

    [ https://issues.apache.org/jira/browse/MDEPLOY-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14575543#comment-14575543
] 

Kyle Holohan commented on MDEPLOY-196:
--------------------------------------

I was able to achieve this by:

https://github.com/kholohan/maven-plugins/commit/65083030785f91600224666da3d943e6f5981de7

> As a user,  I would like to be to specify the licenses for a generated default pom
> ----------------------------------------------------------------------------------
>
>                 Key: MDEPLOY-196
>                 URL: https://issues.apache.org/jira/browse/MDEPLOY-196
>             Project: Maven Deploy Plugin
>          Issue Type: Story
>            Reporter: Kyle Holohan
>
> It would be nice to be able to specify the licenses that we want to include in the generated
pom file.  Something along the lines of this:
>       <plugin>
>         <artifactId>maven-install-plugin</artifactId>
>         <configuration>
>           <groupId>org.apache.maven.test</groupId>
>           <artifactId>maven-install-file-test</artifactId>
>           <version>1.0-SNAPSHOT</version>
>           <packaging>jar</packaging>
>           <file>${basedir}/target/test-classes/unit/install-file-basic-test/target/maven-install-test-1.0-SNAPSHOT.jar
>           </file>
>           <localRepository>${localRepository}</localRepository>
>           <licenses>
>           	<license>
>           	  <name>Apache License, Version 2.0</name>
>     		  <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
>           	</license>
>           </licenses>
>         </configuration>
>       </plugin>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message