[jboss-user] [JBoss Seam] - jboss seam 2.0.0.CR1 sources
motte79
do-not-reply at jboss.com
Mon Oct 1 12:01:38 EDT 2007
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
More information about the jboss-user
mailing list