Hi,

"is not working" is not very descriptive. What's the concrete error message?
Have you tried to specify the full path to the executable?
Have you looked at the exec-maven-plugin's project page for examples?

BTW: any reason why you're using version 1.1.1? Looks like 1.2 is the current 
version.


Christoph

-------- Original-Nachricht --------
> Datum: Mon, 16 Aug 2010 05:15:18 -0700 (PDT)
> Von: Naresh <naresh_gambirapu...@adp.com>
> An: users@maven.apache.org
> Betreff: Want to Linux Shell command from Maven\'s pom.xml

> 
> Hi Experts
> 
> I want to execute linux shell commands from maven's pom.xml. Here I am
> pasting a part of pom.xml where i am trying to execute the command.
> 
> < plugin>
> 
> < groupId>org.codehaus.mojo< /groupId> 
> 
> < artifactId>exec-maven-plugin< /artifactId> 
> 
> < version>1.1.1< /version> 
> 
> < executions>
> 
> < execution>
> 
> < goals>
> 
> < goal>exec< /goal> 
> 
> < /goals>
> 
> < /execution>
> 
> < /executions>
> 
> < configuration>
> 
> < executable>hostname< /executable> 
> 
> < /configuration>
> 
> < /plugin>
> 
> 
> --------------------------------------------------------------------------------
> 
> But the above is not working. Can you please help me out.
> 
> -- 
> View this message in context:
> http://maven.40175.n5.nabble.com/Want-to-Linux-Shell-command-from-Maven-s-pom-xml-tp2636616p2636616.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to