1 Reply Latest reply on Oct 1, 2007 12:12 PM by pmuir

    jboss seam 2.0.0.CR1 sources

    motte1979

      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 ...