List Info

Thread: How can i specify maven goals with -D in CC?




How can i specify maven goals with -D in CC?
user name
2007-04-05 01:42:01
All,

I read the document at
http://cruisecontrol.sourceforge.net/ma
in/configxml.html#maven2-goal-note
but still not too sure how to do "mvn install
-Dmaven.test.failure.ignore=true", can somebody give me
the maven2
section of the CC xml code?

Thanks.

B.

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crui
secontrol-user

Re: How can i specify maven goals with -D in CC?
user name
2007-04-11 09:48:23
According to the section "Child Elements" it
should be

<maven2 mvnscript="..."
goal="...">
   <property name="maven.test.failure.ignore"
value="true"/>
</maven2>

-Gisbert

Baz wrote:
> All,
> 
> I read the document at
> http://cruisecontrol.sourceforge.net/ma
in/configxml.html#maven2-goal-note
> but still not too sure how to do "mvn install
> -Dmaven.test.failure.ignore=true", can somebody
give me the maven2
> section of the CC xml code?
> 
> Thanks.
> 
> B.
> 
>
------------------------------------------------------------
-------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to share your
> opinions on IT & business topics through brief
surveys-and earn cash
> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Cruisecontrol-user mailing list
> Cruisecontrol-userlists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/crui
secontrol-user

-- 
Gisbert Amm
Softwareentwickler Infrastruktur
Telefon: (0721) 91374 - 4224
Telefax: (0721) 91374 - 2740
E-Mail: gisbert.amm1und1.de
Internet: www.1und1.de

1&1 Internet AG
Elgendorfer Strasse 57
56410 Montabaur

Amtsgericht Montabaur HRB 6484

Vorstand: Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger

(Vorsitzender), Matthias Greve, Hans-Henning Doerr, Henning
Ahlert, 
Achim Weiss, Robert Hoffmann,
Aufsichtsratsvorsitzender: Michael Scheeren

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crui
secontrol-user

Re: How can i specify maven goals with -D in CC?
user name
2007-04-11 15:27:21
On 4/11/07, Gisbert Amm <giawebde.de> wrote:
> According to the section "Child Elements" it
should be
>
> <maven2 mvnscript="..."
goal="...">
>    <property
name="maven.test.failure.ignore"
value="true"/>
> </maven2>

may I suggest using

-Dtest=dummy

instead ?

That would at least let maven compile the code and execute
the 'dummy'
class (which doesn't exist).

(replace 'dummy with whatever pleases you. I use 't'...)

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crui
secontrol-user

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )