List Info

Thread: Problem with Composite build




Problem with Composite build
country flaguser name
United States
2007-04-16 14:56:36
I am using CC2.6.1 with JDK1.6.

When I define a composite maven build, the build fails with
the
error that both mvnhome and mvnscript may not be defined.
My maven2 element defines mvnhome alone as follows:

       // from config.xml

        <schedule interval="86400">
           <composite>
             <maven2
               mvnhome="/opt/maven"
               pomfile="projects/proj1/pom.xml"
               goal="clean install"
               flags="-q"
             />

       </composite>

The composite build has only one builder (maven2) as of now;
I plan to add
more buildres later.

It appears that mvnscript is being implcitly defined by
<composite>.
Could someone shed light on why this is occurring? Also,
where is the
schema of CC config available?

Regards

/U
          

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crui
secontrol-user

Re: Problem with Composite build
user name
2007-04-17 02:30:30
> It appears that mvnscript is being implcitly defined by
<composite>.
> Could someone shed light on why this is occurring?

Do you do any preconfiguration of maven2?  Perhaps you have
the
mavenscript attribute preconfigured earlier in your
config.xml.

> Also, where is the
> schema of CC config available?

There is no schema but the detailed reference for the
elements is here:

http://cruisecontrol.sourceforge.net/main/configxml.htm

Jtf


On 4/16/07, uma_rkcomcast.net <uma_rkcomcast.net> wrote:
>
> I am using CC2.6.1 with JDK1.6.
>
> When I define a composite maven build, the build fails
with the
> error that both mvnhome and mvnscript may not be
defined.
> My maven2 element defines mvnhome alone as follows:
>
>        // from config.xml
>
>         <schedule interval="86400">
>            <composite>
>              <maven2
>                mvnhome="/opt/maven"
>               
pomfile="projects/proj1/pom.xml"
>                goal="clean install"
>                flags="-q"
>              />
>
>        </composite>
>
> The composite build has only one builder (maven2) as of
now; I plan to add
> more buildres later.
>
> It appears that mvnscript is being implcitly defined by
<composite>.
> Could someone shed light on why this is occurring?
Also, where is the
> schema of CC config available?
>
> Regards
>
> /U
>


-- 
http://www.developer
testing.com/
http://www.junitfactory.c
om

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crui
secontrol-user

[1-2]

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