You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Alok, Niraj" <ni...@gs.com> on 2007/06/25 14:25:34 UTC

Plugin downloads

Hi,

Is there some difference in which dependencies are downloaded when
specified as plugin dependencies and when specified as normal pom
dependencies ?

I have a jar, in the remote repo at
niraj.alok.date/0-SNAPSHOT/date-0-20070625.064105-191-sources.jar

In one of my plugins, I am specifying dependency as 

			<dependency>
	
<groupId>niraj.alok</groupId>
	
<artifactId>date</artifactId>
	
<version>0-SNAPSHOT</version>
	
<classifier>sources</classifier>
			</dependency>

On doing a mvn command, it says 
Downloading:
<<remote_repo>>/repository/niraj/alok/date/0-SNAPSHOT/date-0-SNAPSHOT-so
urces.jar
[WARNING] Unable to get resource from repository <<remote_repo>>

The same dependency when moved from the plugin's set to the normal pom,
says this:
Downloading:
<<remote_repo>>/repository/niraj/alok/date/0-SNAPSHOT/date-0-20070625.06
4105-191-sources.jar
14K downloaded

Why is this discrepancy ?

Thanks,
Niraj

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


RE: Plugin downloads

Posted by "Alok, Niraj" <ni...@gs.com>.
It seems the problem is limited to only those artifacts that don't have
a metadata.xml.
How is this possible when all the artifacts are uploaded to the
repository through a common process ?
In this cases, how do we generate the missing metadata file ? 

-----Original Message-----
From: Alok, Niraj 
Sent: Monday, June 25, 2007 5:56 PM
To: 'Maven Users List'
Subject: Plugin downloads

Hi,

Is there some difference in which dependencies are downloaded when
specified as plugin dependencies and when specified as normal pom
dependencies ?

I have a jar, in the remote repo at
niraj.alok.date/0-SNAPSHOT/date-0-20070625.064105-191-sources.jar

In one of my plugins, I am specifying dependency as 

			<dependency>
	
<groupId>niraj.alok</groupId>
	
<artifactId>date</artifactId>
	
<version>0-SNAPSHOT</version>
	
<classifier>sources</classifier>
			</dependency>

On doing a mvn command, it says 
Downloading:
<<remote_repo>>/repository/niraj/alok/date/0-SNAPSHOT/date-0-SNAPSHOT-so
urces.jar
[WARNING] Unable to get resource from repository <<remote_repo>>

The same dependency when moved from the plugin's set to the normal pom,
says this:
Downloading:
<<remote_repo>>/repository/niraj/alok/date/0-SNAPSHOT/date-0-20070625.06
4105-191-sources.jar
14K downloaded

Why is this discrepancy ?

Thanks,
Niraj

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