I was avoiding this, but you're both only re-enforcing what I was thinking
of doing.
I have raised this as an issue (improvement) for the jar plugin
http://jira.codehaus.org/browse/MJAR-138 at least it's on the radar that
way. Please feel encouraged to comment/edit the issue if you can add improve
That is my personal preference as well, but sometimes people do what they
want to do ;-)
On 3 September 2010 15:14, Benson Margulies wrote:
> There are a number of pitfalls with test jars. My entirely personal
> suggestion is this: any time you are tempted to put a test jar
> configuration
> int
There are a number of pitfalls with test jars. My entirely personal
suggestion is this: any time you are tempted to put a test jar configuration
into a POM, just go and make a new, ordinary, project with the shared test
code in it, and use it with test. You won't regret it.
On Fri, Sep 3, 2010 at
-DskipTests only skips running the tests not building the test-jar
On 3 September 2010 09:58, Andrew Hughes wrote:
> Hi Guys,
>
> The problem is not that we're skipping the tests. I really don't want to
> run
> the tests... but I do want the jar:test-jar to still run and build...
> moduleA-0.0.0
Hi Guys,
The problem is not that we're skipping the tests. I really don't want to run
the tests... but I do want the jar:test-jar to still run and build...
moduleA-0.0.0-test.jar so that other module still resolve
this.
On Fri, Sep 3, 2010 at 5:08 PM, Stephen Connolly <
stephen.alan.conno...@gm
and you don't need the =true for -DskipTests
On 3 September 2010 08:17, Barrie Treloar wrote:
> On Fri, Sep 3, 2010 at 4:15 PM, Stephen Connolly
> wrote:
> > just use "-DskipTests" as that will skip running the tests but not
> compiling
> > or packaging them... oh and it's shorter than its alia
On Fri, Sep 3, 2010 at 4:15 PM, Stephen Connolly
wrote:
> just use "-DskipTests" as that will skip running the tests but not compiling
> or packaging them... oh and it's shorter than its alias
> "-Dmaven.skip.test.exec=true" as well as the bigger skip that you are using
> "-Dmaven.skip.test=true"
just use "-DskipTests" as that will skip running the tests but not compiling
or packaging them... oh and it's shorter than its alias
"-Dmaven.skip.test.exec=true" as well as the bigger skip that you are using
"-Dmaven.skip.test=true"
-Stephen
On 3 September 2010 02:28, Andrew Hughes wrote:
> Hi
On Fri, Sep 3, 2010 at 10:58 AM, Andrew Hughes wrote:
> Hi Guys,
>
> When -Dmaven.test.skip=true the jar:test-jar goals are skipped. Other
> modules who have a dependency on the jar:test-jar artifact then fail
> (unresolved dependency).
>
> Is this a sensible default for the plugin and any idea's
Hi Guys,
When -Dmaven.test.skip=true the jar:test-jar goals are skipped. Other
modules who have a dependency on the jar:test-jar artifact then fail
(unresolved dependency).
Is this a sensible default for the plugin and any idea's how I can override
this?
Thanks heaps (again) :)
--Andrew
10 matches
Mail list logo