adding -Dproperty to goals ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

adding -Dproperty to goals ?

Jorg Heymans-2
Hi,

I'm trying to get Hudson to build Cocoon. We use a profile to
distinguish between a full build and core build. The full build profile
is triggered by -Dallblocks.

Now when i specify in the goals configuration of the project
"-Dallblocks clean install" i get this error message

ERROR: Invalid task '-Dallblocks': you must specify a valid lifecycle
phase, or a goal in the format plugin:goal or
pluginGroupId:pluginArtifactId:pluginVersion:goal
org.apache.maven.BuildFailureException: Invalid task '-Dallblocks': you
must specify a valid lifecycle phase, or a goal in the format
plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
       

Is there a workaround for this ?


Regards,
Jorg Heymans

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: adding -Dproperty to goals ?

Kohsuke Kawaguchi-2

This is for the experimental native m2 support, right?

See https://hudson.dev.java.net/issues/show_bug.cgi?id=312

Jorg Heymans wrote:

> Hi,
>
> I'm trying to get Hudson to build Cocoon. We use a profile to
> distinguish between a full build and core build. The full build profile
> is triggered by -Dallblocks.
>
> Now when i specify in the goals configuration of the project
> "-Dallblocks clean install" i get this error message
>
> ERROR: Invalid task '-Dallblocks': you must specify a valid lifecycle
> phase, or a goal in the format plugin:goal or
> pluginGroupId:pluginArtifactId:pluginVersion:goal
> org.apache.maven.BuildFailureException: Invalid task '-Dallblocks': you
> must specify a valid lifecycle phase, or a goal in the format
> plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
>
>
> Is there a workaround for this ?
>
>
> Regards,
> Jorg Heymans
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment