Hello!

Please point me how maven works with system property. I get the next problem:
When I try to execute under Linux a command "maven 
-Dcclastbuildtimestamp=20040608174237 -Dlabel=build.11 
-Dcclastgoodbuildtimestamp=20040608174237 -Dlastbuildsuccessful=false 
-Dcvstimestamp=2004-06-09 08:36:01 GMT -Dcctimestamp=20040609123601 -X -b -p 
project.xml site" I always get the following exception:

attaining goal build:start
attaining goal 08:36:01
com.werken.werkz.NoSuchGoalException: No goal [08:36:01]
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:190)
        at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:531)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
        at org.apache.maven.cli.App.doMain(App.java:466)
        at org.apache.maven.cli.App.main(App.java:1117)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
Total time: 10 seconds

When I put the value of the -Dcvstimestamp key in quotes like this 
-Dcvstimestamp="2004-06-09 08:36:01 GMT" it doesn't help :( but in Windows2000 it 
works fine. Please shed light on this problem.

Thanks a lot for all your responses!

Reply via email to