[
https://issues.apache.org/jira/browse/MDEPLOY-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kyle Holohan updated MDEPLOY-196:
---------------------------------
Description:
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:
{code:xml}
<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>
{code}
was:
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>
> 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:
> {code:xml}
> <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>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)