java code which executes maven goals using maven API

2008-07-21 Thread nehal vyas

I wish to execute the maven plugin goals with the help of a java class. If
anyoune could help me out with how to use the maven API classes and
functions PLEASE HELP...
-- 
View this message in context: 
http://www.nabble.com/java-code-which-executes-maven-goals-using-maven-API-tp18563530p18563530.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem with mvn scm:diff.Help me with its correct usage.

2008-06-18 Thread nehal vyas

Hello everyone,
I am trying to use mvn scm:diff command.I have set the
connection
  connectionin the configuration for
the mvn scm plugin too.But the command fails :(:-(..The output stack trace I
am getting is 
 Provider message:
 The cvs command failed.
 Command output:



 BUILD ERROR

Command failed.The cvs command failed.

org.apache.maven.lifecycle.LifecycleExecutionException: Command failed.The
cvs command failed.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExec
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecy
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecut
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
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:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command
failed.The cvs command failed.
at
org.apache.maven.scm.plugin.AbstractScmMojo.checkResult(AbstractScmMojo.java:398)
at org.apache.maven.scm.plugin.DiffMojo.execute(DiffMojo.java:92)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java
... 16 more

Can anyone help me out please with the correct usage of diff command.
-- 
View this message in context: 
http://www.nabble.com/Problem-with-mvn-scm%3Adiff.Help-me-with-its-correct-usage.-tp17961522p17961522.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



help regarding checkout according to tagname using mvn scm plugin

2008-06-17 Thread nehal vyas

I want to checkout my project according to tagname.Can anyone helpme out with
the command?
-- 
View this message in context: 
http://www.nabble.com/help-regarding-checkout-according-to-tagname-using-mvn-scm-plugin-tp17885847p17885847.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]