Hi.
I created an ant file for this job and I will instruct the user how to call
it. But, as you said, these are just hack.
Anyways, thanks for everything.

My bests,
Cosmin

On Fri, Apr 4, 2008 at 7:33 PM, Giesselmann, Torben <
[EMAIL PROTECTED]> wrote:

> I don't really know if there's a builtin way to do this.
>
> But you could always use Maven's Groovy plugin and execute a Groovy script
> at the "install" goal:
>  - have it download the file
>  - unpack it and do whatever file operations you like
>  - start a new process executing a 'mvn install:install-file'
>
> Still ... it seems like a "hack" to me. ;-) Maybe there's a better way.
>
> Regards,
> - Torben
>
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: Cosmin Marginean [mailto:[EMAIL PROTECTED]
> > Gesendet: Freitag, 4. April 2008 14:33
> > An: Maven Users List
> > Betreff: Re: Third party dependency
> >
> > Hello,
> >
> > Thanks for the reply. I apologize for being uncler. I only
> > realized that now that I am reading my initial mail again. The part:
> >
> > > This means that I would like to be able to download a zip from
> > > http://somehost.com/somepath/something.zip, unpack it and copy some
> > > jar from there in the local Maven repository. I would like
> > to be able
> > > to run this before the plugin goal is runing.
> >
> > actually means that I would like to do this automatically
> > when the plugin is installed. So what I actually need to know
> > if it's possible with conventional Maven weapons to do these
> > operations (download + unpack + install with a
> > group/artifactId/etc in local repo) automatically.
> >
> > Thanks again. My bests,
> > Cosmin
> >
> > On Fri, Apr 4, 2008 at 3:17 PM, Giesselmann, Torben <
> > [EMAIL PROTECTED]> wrote:
> >
> > > Heya -- you can install the library in your local
> > repository, see here:
> > >
> > >
> > > http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
> > >
> > > Or you could just as well setup an internal repository:
> > >
> > >
> > >
> > http://maven.apache.org/guides/introduction/introduction-to-repositori
> > > es.html
> > >
> > > Regards,
> > > - Torben Giesselmann
> > >
> > >
> > >
> > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Cosmin Marginean [mailto:[EMAIL PROTECTED]
> > > > Gesendet: Donnerstag, 3. April 2008 15:46
> > > > An: Maven Users List
> > > > Betreff: Third party dependency
> > > >
> > > > Hello,
> > > >
> > > > I am having this issue related to a third-party dependency.
> > > > It's about Saxon and some license issues that are not
> > clarified yet.
> > > > I have a Maven plugin that is using the Saxon
> > transformer. However,
> > > > I would like to know if Maven provides a solution to use a
> > > > dependency when it's not in a Maven repository.
> > > > This means that I would like to be able to download a zip from
> > > > http://somehost.com/somepath/something.zip, unpack it and
> > copy some
> > > > jar from there in the local Maven repository. I would like to be
> > > > able to run this before the plugin goal is runing.
> > > > I know I could do this from Java code with some tricks,
> > but I would
> > > > like to know if there is a "standard" approach for this
> > using Maven.
> > > >
> > > > Thanks in advance
> > > > --
> > > > Cosmin Marginean
> > > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Cosmin Marginean
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Cosmin Marginean

Reply via email to