You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Jason van Zyl <ja...@maven.org> on 2007/01/19 06:47:07 UTC

Re: svn commit: r497679 - /maven/core-integration-testing/trunk/core-integration-tests/pom.xml

What are you doing?

The tests by themselves aren't of much use without the test projects.  
You JAR up the tests and they run against nothing.

Jason.

On 18 Jan 07, at 7:37 PM 18 Jan 07, carlos@apache.org wrote:

> Author: carlos
> Date: Thu Jan 18 17:37:00 2007
> New Revision: 497679
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=497679
> Log:
> jar the tests for use in other projects
>
> Modified:
>     maven/core-integration-testing/trunk/core-integration-tests/ 
> pom.xml
>
> Modified: maven/core-integration-testing/trunk/core-integration- 
> tests/pom.xml
> URL: http://svn.apache.org/viewvc/maven/core-integration-testing/ 
> trunk/core-integration-tests/pom.xml? 
> view=diff&rev=497679&r1=497678&r2=497679
> ====================================================================== 
> ========
> --- maven/core-integration-testing/trunk/core-integration-tests/ 
> pom.xml (original)
> +++ maven/core-integration-testing/trunk/core-integration-tests/ 
> pom.xml Thu Jan 18 17:37:00 2007
> @@ -20,6 +20,17 @@
>            <forkMode>never</forkMode>
>          </configuration>
>        </plugin>
> +      <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>
>    <dependencies>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: svn commit: r497679 - /maven/core-integration-testing/trunk/core-integration-tests/pom.xml

Posted by Carlos Sanchez <ca...@apache.org>.
the test projects also get jarred, the problem I didn't see is that
generated stuff like target also gets included. Still looking to a
solution to reuse the tests in other environments like insie eclipse.

On 1/18/07, Jason van Zyl <ja...@maven.org> wrote:
> What are you doing?
>
> The tests by themselves aren't of much use without the test projects.
> You JAR up the tests and they run against nothing.
>
> Jason.
>
> On 18 Jan 07, at 7:37 PM 18 Jan 07, carlos@apache.org wrote:
>
> > Author: carlos
> > Date: Thu Jan 18 17:37:00 2007
> > New Revision: 497679
> >
> > URL: http://svn.apache.org/viewvc?view=rev&rev=497679
> > Log:
> > jar the tests for use in other projects
> >
> > Modified:
> >     maven/core-integration-testing/trunk/core-integration-tests/
> > pom.xml
> >
> > Modified: maven/core-integration-testing/trunk/core-integration-
> > tests/pom.xml
> > URL: http://svn.apache.org/viewvc/maven/core-integration-testing/
> > trunk/core-integration-tests/pom.xml?
> > view=diff&rev=497679&r1=497678&r2=497679
> > ======================================================================
> > ========
> > --- maven/core-integration-testing/trunk/core-integration-tests/
> > pom.xml (original)
> > +++ maven/core-integration-testing/trunk/core-integration-tests/
> > pom.xml Thu Jan 18 17:37:00 2007
> > @@ -20,6 +20,17 @@
> >            <forkMode>never</forkMode>
> >          </configuration>
> >        </plugin>
> > +      <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>
> >    <dependencies>
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                             -- The Princess Bride

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org