[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1035) Deploy sources jars on mvn deploy

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Sat Jul 28 13:10:47 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBRULES-1035?page=comments#action_12370342 ] 
            
Geoffrey De Smet commented on JBRULES-1035:
-------------------------------------------

apparently my patch is also changing something in the <reports> section, which shouln't be included.
I did an svn update before changing the pom, and did not alter that so I don't know why that got in there too.

> 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: Mark Proctor
>            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