|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
HELP - repository central will be blacklistedHi 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: ![]() 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 |
|
|
Re: HELP - repository central will be blacklistedIf 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.gambelli@...> 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@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: HELP - repository central will be blacklistedunfortunately 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
|
|
|
Re: HELP - repository central will be blacklistedSounds like "something else" is going on in your setup (computer,
network, proxy, antivirus, etc). I'm unable to help you fix things as your troubles are most likely specific to your situation. Wayne On 10/10/07, Raffaele <r.gambelli@...> 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.gambelli@...> 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@... > >> For additional commands, e-mail: users-help@... > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@... > > For additional commands, e-mail: users-help@... > > > > > > > > -- > View this message in context: http://www.nabble.com/HELP---repository-central-will-be-blacklisted-tf4601005s177.html#a13138150 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: HELP - repository central will be blacklistedThis 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>
|
| Free embeddable forum powered by Nabble | Forum Help |