[rules-dev] sources jar not on repo => patch

Mark Proctor mproctor at codehaus.org
Sat Jul 28 06:36:38 EDT 2007


Hmm strange that's the correct url, you should have write access. email 
helpdesk at jboss.com

Mark
Geoffrey De Smet wrote:
> http://jira.jboss.com/jira/browse/JBRULES-1035
>
> I tried to commit it myself, but failed.
> I am not sure if that's because I haven't got commit rights
> or if it's because I am using the wrong svn url
> or if it's because I am locally using the wrong login for that svn url?
>
> My svn url is https://svn.labs.jboss.com/labs/jbossrules/trunk
>
> Anyway, the patch is attached to the issue, works too :)
>
> ----
>
> 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>
>
>
>
> Then people can use
>  "mvn -DdownloadSources=true eclipse:eclipse idea:idea"
>




More information about the rules-dev mailing list