You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Roman Kournjaev <ko...@gmail.com> on 2009/03/07 12:11:55 UTC
Extracting classpath for an application from maven
Hi All
I have a maven based application, well now i want to run it in cmd mode, it
means just executing the compiled class.
How do i extract the classpath for this application from my pom easilly ?
Thanks in advance.
Roman
Re: Extracting classpath for an application from maven
Posted by Trevor Harmon <tr...@vocaro.com>.
On Mar 7, 2009, at 3:11 AM, Roman Kournjaev wrote:
> I have a maven based application, well now i want to run it in cmd
> mode, it
> means just executing the compiled class.
I use exec:java for this.
Trevor
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Extracting classpath for an application from maven
Posted by Roman Kournjaev <ko...@gmail.com>.
Thanks , i think thats the best and proper way to get it .!
On Wed, Mar 18, 2009 at 1:18 PM, Nicolas R. <nr...@jaxio.com> wrote:
>
> Hello,
>
> Try to run 'mvn dependency:build-classpath'
> Here is the doc:
> http://maven.apache.org/plugins/maven-dependency-plugin/plugin-info.html
>
> Nicolas
> --
> http://www.springfuse.com www.springfuse.com
>
>
> Roman Kournjaev wrote:
> >
> > Hi All
> >
> > I have a maven based application, well now i want to run it in cmd mode,
> > it
> > means just executing the compiled class.
> > How do i extract the classpath for this application from my pom easilly
> ?
> >
> > Thanks in advance.
> > Roman
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Extracting-classpath-for-an-application-from-maven-tp22386575p22576977.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: Extracting classpath for an application from maven
Posted by "Nicolas R." <nr...@jaxio.com>.
Hello,
Try to run 'mvn dependency:build-classpath'
Here is the doc:
http://maven.apache.org/plugins/maven-dependency-plugin/plugin-info.html
Nicolas
--
http://www.springfuse.com www.springfuse.com
Roman Kournjaev wrote:
>
> Hi All
>
> I have a maven based application, well now i want to run it in cmd mode,
> it
> means just executing the compiled class.
> How do i extract the classpath for this application from my pom easilly ?
>
> Thanks in advance.
> Roman
>
>
--
View this message in context: http://www.nabble.com/Extracting-classpath-for-an-application-from-maven-tp22386575p22576977.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Extracting classpath for an application from maven
Posted by Roman Kournjaev <ko...@gmail.com>.
Thanks , that's a nice plugin.
But i see it places the jars into some assembled repository, but it would be
really nice to get the classpath to the jars that are in my local maven
repository.
Thanks in advance
On Sat, Mar 7, 2009 at 1:23 PM, Wim Deblauwe <wi...@gmail.com> wrote:
> This might be handy for this:
> http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/
>
> 2009/3/7 Roman Kournjaev <ko...@gmail.com>
>
> > Hi All
> >
> > I have a maven based application, well now i want to run it in cmd mode,
> it
> > means just executing the compiled class.
> > How do i extract the classpath for this application from my pom easilly
> ?
> >
> > Thanks in advance.
> > Roman
> >
>
Re: Extracting classpath for an application from maven
Posted by Wim Deblauwe <wi...@gmail.com>.
This might be handy for this:
http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/
2009/3/7 Roman Kournjaev <ko...@gmail.com>
> Hi All
>
> I have a maven based application, well now i want to run it in cmd mode, it
> means just executing the compiled class.
> How do i extract the classpath for this application from my pom easilly ?
>
> Thanks in advance.
> Roman
>