You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by knaas <kn...@biglots.com> on 2007/12/19 16:48:26 UTC

Re: HELP - repository central will be blacklisted

This is old, and you may have figured out your issue, but this is what worked
for us.

We had our artifactory configured to use both apache's official maven
release and snaphot repositories.  We also had our settings.xml set to be a
mirrorOf "*" so that everything would go to our artifactory repo.  

I couldn't figure out why it kept complaining about
maven-archetype-plugin:pom:1.0-SNAPSHOT.  Well, its because the snapshot in
the apache repository is probably busted!  I added the
maven-archetype-plugin to the excludes pattern for the apache snapshot repo
and voila, it works.

<remoteRepository>
	    <key>apache-m2-snapshots</key>
	    <description>maven.org snapshot repository</description>
	    <handleReleases>false</handleReleases>
	    <handleSnapshots>true</handleSnapshots>
	    <!-- the maven-archetype-plugin is completely screwed up in the m2
snapshots -->
	   
<excludesPattern>org/artifactory/**,org/jfrog/**,org/apache/maven/plugins/maven-archetype-plugin/**</excludesPattern>
	    <url>http://people.apache.org/repo/m2-snapshot-repository</url>
        </remoteRepository>



Raffaele wrote:
> 
> unfortunately it doesn't work! 
> 
> I'm using also Artifactory but mvn archetype should be retrieve its plugin
> direclt from central, is it right?
> Moreover I've disabled profile which uses repo on Artifactory and mvn
> archetype it doesn't work too.
> 
> I've tried also to check out a project with its pom from svn, and I tried
> to run mvn help:... on that pom, but I've encountered the same errors like
> above.
> 
> Any other hint?
> Thanks so much,
> Raffaele
> 
> 
> Wayne Fay wrote:
>> 
>> If you attempted to run Maven --before-- configuring the proxy, then
>> you likely have bad metadata in ~/.m2/. Delete this directory and try
>> again. And/or try mvn -U to force updates now that the proxy is
>> configured.
>> 
>> Wayne
>> 
>> On 10/10/07, Raffaele <r....@prismasw.it> wrote:
>>>
>>> Hi all,
>>>
>>> I have just installed maven under linux red hat system.
>>>
>>> The first test I've done was:
>>> mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
>>>
>>> and it doesn't work, the error is the following:
>>> http://www.nabble.com/file/p13136436/error.jpg
>>>
>>> Then I tried to configure proxy as suggested here
>>> http://maven.apache.org/guides/mini/guide-proxies.html
>>>
>>> But the error remains!
>>>
>>> I'm sure to ha configured properly the proxy, in fact I have another
>>> maven
>>> installation in WIndows and it works!
>>>
>>> Any help?
>>> Thanks
>>> Raffaele
>>> --
>>> View this message in context:
>>> http://www.nabble.com/HELP---repository-central-will-be-blacklisted-tf4601005s177.html#a13136436
>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/HELP---repository-central-will-be-blacklisted-tp13136436s177p14419443.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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