add a second execution with a configuration defining a different classifier
(test-src) and a different includes pattern

2009/9/21 Bill Brown <wbr...@colorfulsoftware.com>

>
> Greetings:
>
> I'm trying to include the "test" sources into a maven repository but am
> struggling getting them to generate.  I want them to be included during the
> 'mvn release' targets, but so far they aren't.  I've taken a look at the
> maven-source-plugin documentation but haven't been able to piece together
> the correct syntax.  I have the following for my configuration with
> <build><plugins>...
> <plugin>
>        <groupId>org.apache.maven.plugins</groupId>
>        <artifactId>maven-source-plugin</artifactId>
>        <configuration>
>                <includes>
>                        <include>src/main/java/**</include>
>                        <include>src/test/java/**</include>
>                </includes>
>        </configuration>
> </plugin>
>
>
> I would prefer the test sources to be in their own jar file but they can be
> mixed in with the regular sources if that is the only way this will work.
> Can someone on the list here give me a hint for how to do this?
>
> Thanks for your input.
> Bill
>
> --
> View this message in context:
> http://www.nabble.com/how-do-I-include-test-sources-in-the-release%3Aprepare-and-release%3Apreform-targets.-tp25530447p25530447.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to