Is is possible to add the source-artifacts to your maven-repository ? 
Please .. 

You only need to add the following to your pom-files


  | <plugin>
  |                             <artifactId>maven-source-plugin</artifactId>
  |                             <configuration>
  |                                     <outputDirectory>
  |                                             ${project.build.directory}
  |                                     </outputDirectory>
  |                                     
<finalName>${project.artifactId}</finalName>
  |                                     <attach>true</attach>
  |                             </configuration>
  |                             <executions>
  |                                     <execution>
  |                                             <id>make-sources</id>
  |                                             <phase>package</phase>
  |                                             <goals>
  |                                                     <goal>jar</goal>
  |                                             </goals>
  |                                     </execution>
  |                             </executions>
  |                     </plugin>
  | 

This makes the source-plugin jar your sources at 'package'-time and install it 
to your repository ... 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090324#4090324

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090324
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to