[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-1035) Deploy sources jars on mvn deploy
Geoffrey De Smet (JIRA)
jira-events at lists.jboss.org
Fri Aug 3 11:35:07 EDT 2007
[ http://jira.jboss.com/jira/browse/JBRULES-1035?page=all ]
Geoffrey De Smet resolved JBRULES-1035.
---------------------------------------
Resolution: Done
Assignee: Geoffrey De Smet (was: Mark Proctor)
fixed
> Deploy sources jars on mvn deploy
> ---------------------------------
>
> Key: JBRULES-1035
> URL: http://jira.jboss.com/jira/browse/JBRULES-1035
> Project: JBoss Rules
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.0.0.GA
> Reporter: Geoffrey De Smet
> Assigned To: Geoffrey De Smet
> Priority: Minor
> Fix For: 4.0.1
>
> Attachments: sources.patch
>
>
> Because the maven-source-plugin isn't attached to the default lifecylce, you need to explicitly link it in <plugins>.
> Hope this changes for maven 2.1.
> I also added test-jar sources :)
> In the parent pom I changed this:
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-source-plugin</artifactId>
> <version>2.0.2</version>
> <executions>
> <execution>
> <goals>
> <goal>jar</goal>
> + <goal>test-jar</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> ...
> </pluginManagement>
> <plugins>
> + <plugin>
> + <!-- Entry needed to create, install and deploy sources jars -->
> + <groupId>org.apache.maven.plugins</groupId>
> + <artifactId>maven-source-plugin</artifactId>
> + </plugin>
> </plugins>
> </build>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list