maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander <the.malk...@gmail.com>
Subject Re: Load and run artifact from shell script
Date Fri, 31 Jul 2009 14:28:05 GMT
Hello,

What do you mean "anywhere in system"? It works fine as "mvn
dependency:build-classpath" and could be invoked as command. You can invoke
that action in script, parse output and use result classpath in script. [?]
To download all dependencies you could use dependency:go-offline. [?]


2009/7/31 Lewis, Eric <Eric.Lewis@ipi.ch>

> Hi
>
> I have a utility project whose classes should be called from a shell
> script.
>
> The problem is how to access it: It's in the local repo, so I would like to
> do the following:
>
> - Download it and its runtime dependencies based on group and artifact ID,
> using the latest version
> - Create a classpath to use in the shell script
>
> As far as I can see, the dependency:build-classpath would do part of it
> (not downloading, though), but it only works with a POM.
> I need to do this anywhere in the file system.
>
> Any hints how I could start?
>
> Thanks & best regards
> Eric
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Alexander

Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message