You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by berndq <be...@gmx.net> on 2005/08/26 09:29:57 UTC

[m1] problem with plug-in auto-download

Hi,

I want to use the plug-in auto-download feature so I added

     <dependency>
       <groupId>maven-plugins</groupId>
       <artifactId>maven-izpack-plugin</artifactId>
       <version>0.3.1</version>
     </dependency>

to my pom and I have

maven.repo.remote=XXX,http://maven-plugins.sf.net/maven

But the constructed URL does not seem to be valid:

Error retrieving artifact from 
[http://maven-plugins.sf.net/maven/maven-plugins/jars/maven-izpack-plugin-0.3.1.jar]: 
java.io.IOException: Unknown error downloading; status code was: 302

The file actually is at

http://maven-plugins.sourceforge.net/maven/maven-plugins/plugins/maven-izpack-plugin-0.3.1.jar

Notice the additional "jar" in the crated URL. I would expect a 
"plugins" instead.

I assume:
- repo URL    = http://maven-plugins.sourceforge.net/maven
- groupID     = maven-plugins
- plugin type = plugins
- artifac     = maven-izpack-plugin


Is this a bug in URL creation, or RTFM or is the repo at 
http://maven-plugins.sourceforge.net incorrectly organized?

Bernd


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


RE: [m1] problem with plug-in auto-download

Posted by Vincent Massol <vm...@pivolis.com>.
> -----Original Message-----
> From: berndq [mailto:berndq@gmx.net]
> Sent: vendredi 26 août 2005 10:13
> To: Maven Users List
> Subject: Re: [m1] problem with plug-in auto-download
> 
> Brett Porter wrote:
> 
> > That hasn't made it to the errata yet, maybe you could submit it?
> >
> 
> done

Thanks a lot Bernd and sorry for the typo (it was my fault!). It'll be fixed
in the next reprint.

-Vincent


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


Re: [m1] problem with plug-in auto-download

Posted by berndq <be...@gmx.net>.
Brett Porter wrote:

> That hasn't made it to the errata yet, maybe you could submit it?
> 

done

Bernd


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


Re: [m1] problem with plug-in auto-download

Posted by Brett Porter <br...@gmail.com>.
On 8/26/05, berndq <be...@gmx.net> wrote:
> I saw this very nice feature first in the "Maven A Developers's notebok"
> There is an example at page 184 of the first edition. This example
> does not mention the <type> tag.

That hasn't made it to the errata yet, maybe you could submit it?

http://www.oreilly.com/catalog/mavenadn/errata/

- Brett

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


Re: [m1] problem with plug-in auto-download

Posted by berndq <be...@gmx.net>.
Brett Porter wrote:
> Try:
> 
> <type>plugin</type>
> 

thanks, that fixed it!

I saw this very nice feature first in the "Maven A Developers's notebok"
There is an example at page 184 of the first edition. This example
does not mention the <type> tag.

Bernd


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


Re: [m1] problem with plug-in auto-download

Posted by Brett Porter <br...@gmail.com>.
Try:

<type>plugin</type>

Also, change the host from sf.net to sourceforget.net (so it doesn't
have to do the redirect).

- Brett

On 8/26/05, berndq <be...@gmx.net> wrote:
> Hi,
> 
> I want to use the plug-in auto-download feature so I added
> 
>      <dependency>
>        <groupId>maven-plugins</groupId>
>        <artifactId>maven-izpack-plugin</artifactId>
>        <version>0.3.1</version>
>      </dependency>
> 
> to my pom and I have
> 
> maven.repo.remote=XXX,http://maven-plugins.sf.net/maven
> 
> But the constructed URL does not seem to be valid:
> 
> Error retrieving artifact from
> [http://maven-plugins.sf.net/maven/maven-plugins/jars/maven-izpack-plugin-0.3.1.jar]:
> java.io.IOException: Unknown error downloading; status code was: 302
> 
> The file actually is at
> 
> http://maven-plugins.sourceforge.net/maven/maven-plugins/plugins/maven-izpack-plugin-0.3.1.jar
> 
> Notice the additional "jar" in the crated URL. I would expect a
> "plugins" instead.
> 
> I assume:
> - repo URL    = http://maven-plugins.sourceforge.net/maven
> - groupID     = maven-plugins
> - plugin type = plugins
> - artifac     = maven-izpack-plugin
> 
> 
> Is this a bug in URL creation, or RTFM or is the repo at
> http://maven-plugins.sourceforge.net incorrectly organized?
> 
> Bernd
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

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