You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by James Hutton <ja...@gmail.com> on 2013/11/15 19:31:16 UTC

Maven Extension automatic deployment

Hi,
I have a project where I need to temporarily have a maven build extension
(because we're migrating to maven) and did not know if there is any way to
get the maven extension artifact to automatically download.  I have seen
that if the artifact is in my local repository that it does not need to be
in my lib/ext folder but if it hasn't already been downloaded maven throws
an error that it can't find the artifact.  Are there any options or steps I
can document that would prevent me from having to get the artifact deployed
into all of my maven installations or local repositories?  I saw some
documentation on the Eclipse Tycho project that they seem to believe it
should automatically download, but it did not for me (I think there is a
proxy issue).  My extension is still in a snapshot state, could it be that
if I made a release it would automatically download?

Thanks,
James

Re: Maven Extension automatic deployment

Posted by James Hutton <ja...@gmail.com>.
That's exactly what it looks like.  First extension of maven, and thought
it was behaving differently.

James.
On Nov 18, 2013 9:06 AM, "Wayne Fay" <wa...@gmail.com> wrote:

> My guess is there's a "corporate" repository set up with snapshots set
> to false. So his Maven install did not find the build extension until
> it was released. We won't know for sure until he provides more
> information.
>
> Wayne
>
> On Mon, Nov 18, 2013 at 1:04 AM, Anders Hammar <an...@hammar.net> wrote:
> > Strange, you should file a ticket about this. Please provide a simple
> > project to reproduce the issue.
> >
> > /Anders (mobile)
> > Den 18 nov 2013 02:38 skrev "James Hutton" <ja...@gmail.com>:
> >
> >> Yeah, turns out I just needed to release it.  For some reason maven
> wasn't
> >> downloading the build extension at all when it was a snapshot version.
> >>  After making a release maven pulled down the artifact correctly
> without it
> >> being preloaded in my maven install or local repository.
> >>
> >>
> >> On Sun, Nov 17, 2013 at 8:21 PM, Russell Gold <ru...@gold-family.us>
> wrote:
> >>
> >> > Hi James,
> >> >
> >> > There are some things I don’t understand about your scenario. You say
> you
> >> > “temporarily” have a maven build extension. What does that mean? Are
> you
> >> > currently using ant? And using ant tasks for maven to build the maven
> >> > portions? Or now using maven and having it call an old build tool?
> More
> >> > information would help us to help you.
> >> >
> >> > Regards,
> >> > Russ
> >> >
> >> > On Nov 15, 2013, at 1:31 PM, James Hutton <ja...@gmail.com>
> >> > wrote:
> >> >
> >> > > Hi,
> >> > > I have a project where I need to temporarily have a maven build
> >> extension
> >> > > (because we're migrating to maven) and did not know if there is any
> way
> >> > to
> >> > > get the maven extension artifact to automatically download.  I have
> >> seen
> >> > > that if the artifact is in my local repository that it does not
> need to
> >> > be
> >> > > in my lib/ext folder but if it hasn't already been downloaded maven
> >> > throws
> >> > > an error that it can't find the artifact.  Are there any options or
> >> > steps I
> >> > > can document that would prevent me from having to get the artifact
> >> > deployed
> >> > > into all of my maven installations or local repositories?  I saw
> some
> >> > > documentation on the Eclipse Tycho project that they seem to
> believe it
> >> > > should automatically download, but it did not for me (I think there
> is
> >> a
> >> > > proxy issue).  My extension is still in a snapshot state, could it
> be
> >> > that
> >> > > if I made a release it would automatically download?
> >> > >
> >> > > Thanks,
> >> > > James
> >> >
> >> > -----------------
> >> > Author, Getting Started with Apache Maven <
> >> > http://www.packtpub.com/getting-started-with-apache-maven/video>
> >> >
> >> > Come read my webnovel, Take a Lemon <http://www.takealemon.com>,
> >> > and listen to the Misfile radio play <
> >> > http://www.fuzzyfacetheater.com/misfile/>!
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Maven Extension automatic deployment

Posted by Wayne Fay <wa...@gmail.com>.
My guess is there's a "corporate" repository set up with snapshots set
to false. So his Maven install did not find the build extension until
it was released. We won't know for sure until he provides more
information.

Wayne

On Mon, Nov 18, 2013 at 1:04 AM, Anders Hammar <an...@hammar.net> wrote:
> Strange, you should file a ticket about this. Please provide a simple
> project to reproduce the issue.
>
> /Anders (mobile)
> Den 18 nov 2013 02:38 skrev "James Hutton" <ja...@gmail.com>:
>
>> Yeah, turns out I just needed to release it.  For some reason maven wasn't
>> downloading the build extension at all when it was a snapshot version.
>>  After making a release maven pulled down the artifact correctly without it
>> being preloaded in my maven install or local repository.
>>
>>
>> On Sun, Nov 17, 2013 at 8:21 PM, Russell Gold <ru...@gold-family.us> wrote:
>>
>> > Hi James,
>> >
>> > There are some things I don’t understand about your scenario. You say you
>> > “temporarily” have a maven build extension. What does that mean? Are you
>> > currently using ant? And using ant tasks for maven to build the maven
>> > portions? Or now using maven and having it call an old build tool? More
>> > information would help us to help you.
>> >
>> > Regards,
>> > Russ
>> >
>> > On Nov 15, 2013, at 1:31 PM, James Hutton <ja...@gmail.com>
>> > wrote:
>> >
>> > > Hi,
>> > > I have a project where I need to temporarily have a maven build
>> extension
>> > > (because we're migrating to maven) and did not know if there is any way
>> > to
>> > > get the maven extension artifact to automatically download.  I have
>> seen
>> > > that if the artifact is in my local repository that it does not need to
>> > be
>> > > in my lib/ext folder but if it hasn't already been downloaded maven
>> > throws
>> > > an error that it can't find the artifact.  Are there any options or
>> > steps I
>> > > can document that would prevent me from having to get the artifact
>> > deployed
>> > > into all of my maven installations or local repositories?  I saw some
>> > > documentation on the Eclipse Tycho project that they seem to believe it
>> > > should automatically download, but it did not for me (I think there is
>> a
>> > > proxy issue).  My extension is still in a snapshot state, could it be
>> > that
>> > > if I made a release it would automatically download?
>> > >
>> > > Thanks,
>> > > James
>> >
>> > -----------------
>> > Author, Getting Started with Apache Maven <
>> > http://www.packtpub.com/getting-started-with-apache-maven/video>
>> >
>> > Come read my webnovel, Take a Lemon <http://www.takealemon.com>,
>> > and listen to the Misfile radio play <
>> > http://www.fuzzyfacetheater.com/misfile/>!
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>

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


Re: Maven Extension automatic deployment

Posted by Anders Hammar <an...@hammar.net>.
Strange, you should file a ticket about this. Please provide a simple
project to reproduce the issue.

/Anders (mobile)
Den 18 nov 2013 02:38 skrev "James Hutton" <ja...@gmail.com>:

> Yeah, turns out I just needed to release it.  For some reason maven wasn't
> downloading the build extension at all when it was a snapshot version.
>  After making a release maven pulled down the artifact correctly without it
> being preloaded in my maven install or local repository.
>
>
> On Sun, Nov 17, 2013 at 8:21 PM, Russell Gold <ru...@gold-family.us> wrote:
>
> > Hi James,
> >
> > There are some things I don’t understand about your scenario. You say you
> > “temporarily” have a maven build extension. What does that mean? Are you
> > currently using ant? And using ant tasks for maven to build the maven
> > portions? Or now using maven and having it call an old build tool? More
> > information would help us to help you.
> >
> > Regards,
> > Russ
> >
> > On Nov 15, 2013, at 1:31 PM, James Hutton <ja...@gmail.com>
> > wrote:
> >
> > > Hi,
> > > I have a project where I need to temporarily have a maven build
> extension
> > > (because we're migrating to maven) and did not know if there is any way
> > to
> > > get the maven extension artifact to automatically download.  I have
> seen
> > > that if the artifact is in my local repository that it does not need to
> > be
> > > in my lib/ext folder but if it hasn't already been downloaded maven
> > throws
> > > an error that it can't find the artifact.  Are there any options or
> > steps I
> > > can document that would prevent me from having to get the artifact
> > deployed
> > > into all of my maven installations or local repositories?  I saw some
> > > documentation on the Eclipse Tycho project that they seem to believe it
> > > should automatically download, but it did not for me (I think there is
> a
> > > proxy issue).  My extension is still in a snapshot state, could it be
> > that
> > > if I made a release it would automatically download?
> > >
> > > Thanks,
> > > James
> >
> > -----------------
> > Author, Getting Started with Apache Maven <
> > http://www.packtpub.com/getting-started-with-apache-maven/video>
> >
> > Come read my webnovel, Take a Lemon <http://www.takealemon.com>,
> > and listen to the Misfile radio play <
> > http://www.fuzzyfacetheater.com/misfile/>!
> >
> >
> >
> >
> >
> >
> >
> >
>

Re: Maven Extension automatic deployment

Posted by James Hutton <ja...@gmail.com>.
Yeah, turns out I just needed to release it.  For some reason maven wasn't
downloading the build extension at all when it was a snapshot version.
 After making a release maven pulled down the artifact correctly without it
being preloaded in my maven install or local repository.


On Sun, Nov 17, 2013 at 8:21 PM, Russell Gold <ru...@gold-family.us> wrote:

> Hi James,
>
> There are some things I don’t understand about your scenario. You say you
> “temporarily” have a maven build extension. What does that mean? Are you
> currently using ant? And using ant tasks for maven to build the maven
> portions? Or now using maven and having it call an old build tool? More
> information would help us to help you.
>
> Regards,
> Russ
>
> On Nov 15, 2013, at 1:31 PM, James Hutton <ja...@gmail.com>
> wrote:
>
> > Hi,
> > I have a project where I need to temporarily have a maven build extension
> > (because we're migrating to maven) and did not know if there is any way
> to
> > get the maven extension artifact to automatically download.  I have seen
> > that if the artifact is in my local repository that it does not need to
> be
> > in my lib/ext folder but if it hasn't already been downloaded maven
> throws
> > an error that it can't find the artifact.  Are there any options or
> steps I
> > can document that would prevent me from having to get the artifact
> deployed
> > into all of my maven installations or local repositories?  I saw some
> > documentation on the Eclipse Tycho project that they seem to believe it
> > should automatically download, but it did not for me (I think there is a
> > proxy issue).  My extension is still in a snapshot state, could it be
> that
> > if I made a release it would automatically download?
> >
> > Thanks,
> > James
>
> -----------------
> Author, Getting Started with Apache Maven <
> http://www.packtpub.com/getting-started-with-apache-maven/video>
>
> Come read my webnovel, Take a Lemon <http://www.takealemon.com>,
> and listen to the Misfile radio play <
> http://www.fuzzyfacetheater.com/misfile/>!
>
>
>
>
>
>
>
>

Re: Maven Extension automatic deployment

Posted by Russell Gold <ru...@gold-family.us>.
Hi James,

There are some things I don’t understand about your scenario. You say you “temporarily” have a maven build extension. What does that mean? Are you currently using ant? And using ant tasks for maven to build the maven portions? Or now using maven and having it call an old build tool? More information would help us to help you.

Regards,
Russ

On Nov 15, 2013, at 1:31 PM, James Hutton <ja...@gmail.com> wrote:

> Hi,
> I have a project where I need to temporarily have a maven build extension
> (because we're migrating to maven) and did not know if there is any way to
> get the maven extension artifact to automatically download.  I have seen
> that if the artifact is in my local repository that it does not need to be
> in my lib/ext folder but if it hasn't already been downloaded maven throws
> an error that it can't find the artifact.  Are there any options or steps I
> can document that would prevent me from having to get the artifact deployed
> into all of my maven installations or local repositories?  I saw some
> documentation on the Eclipse Tycho project that they seem to believe it
> should automatically download, but it did not for me (I think there is a
> proxy issue).  My extension is still in a snapshot state, could it be that
> if I made a release it would automatically download?
> 
> Thanks,
> James

-----------------
Author, Getting Started with Apache Maven <http://www.packtpub.com/getting-started-with-apache-maven/video>

Come read my webnovel, Take a Lemon <http://www.takealemon.com>, 
and listen to the Misfile radio play <http://www.fuzzyfacetheater.com/misfile/>!