I believe you are looking for jar:test-jar
http://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html

<project xmlns="http://maven.apache.org/POM/4.0.0";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
    ...
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
    ...
</project>

On Wed, May 21, 2008 at 7:43 AM, Avi Laviad <[EMAIL PROTECTED]> wrote:

> hi,
> i got a project which have src classes and test classes.
> is there a way to install a .jar file for the src folder and another .jar
> file for the test folder?
>
> thanks in advance,
> Avi.
>

Reply via email to