maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NR031 <nataraja...@cognizant.com>
Subject Re: Repository 'central' will be blacklisted
Date Tue, 31 Mar 2009 09:14:45 GMT

Hi,

    I am following the steps given in the URL 
http://www.ensode.net/maven_intro.html HERE  to compile and run my java
class

When I run the command,

mvn archetype:create -DgroupId=maven-test -DartifactId=maven-test
-DpackageName=net.ensode.maventest

I am getting,

===============================================================================
 D:\178010\Softwares\Apache-Maven-Installed>mvn -X archetype:create
-DgroupId=mav
en-test -DartifactId=maven-test -DpackageName=net.ensode.maventest
+ Error stacktraces are turned on.
Apache Maven 2.1.0 (r755702; 2009-03-19 00:40:27+0530)
Java version: 1.6.0_06
Java home: D:\178010\JDK 6U6\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and
Settin
gs\178010\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'D:\178010\Softwares\A
pache-Maven-Installed\apache-maven-2.1.0\bin\..\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins
[INFO] org.apache.maven.plugins: checking for updates from central
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] Connecting to repository: 'central' with url:
'http://repo1.maven.org/ma
ven2'.
[DEBUG] Using Proxy: proxy.mycompany.com
[DEBUG] Loading plugin prefixes from group: org.codehaus.mojo
[INFO] org.codehaus.mojo: checking for updates from central
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] Connecting to repository: 'central' with url:
'http://repo1.maven.org/ma
ven2'.
[DEBUG] Using Proxy: proxy.mycompany.com
[INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking
for up
dates from central
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] Connecting to repository: 'central' with url:
'http://repo1.maven.org/ma
ven2'.
[DEBUG] Using Proxy: proxy.mycompany.com
[DEBUG] maven-archetype-plugin: resolved to version 2.0-alpha-4 from
repository
central
[DEBUG] Trying repository central
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] Connecting to repository: 'central' with url:
'http://repo1.maven.org/ma
ven2'.
[DEBUG] Using Proxy: proxy.mycompany.com
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archet
ype-plugin/2.0-alpha-4/maven-archetype-plugin-2.0-alpha-4.pom
[DEBUG] attempting to create parent directories for destination:
maven-archetype
-plugin-2.0-alpha-4.pom.tmp
4K downloaded  (maven-archetype-plugin-2.0-alpha-4.pom)
[DEBUG]   Artifact resolved
[DEBUG] Retrieving parent-POM:
org.apache.maven.archetype:maven-archetype:pom:2.
0-alpha-4 for project:
org.apache.maven.plugins:maven-archetype-plugin:maven-plu
gin:null from the repository.
[DEBUG] Trying repository central
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] Connecting to repository: 'central' with url:
'http://repo1.maven.org/ma
ven2'.
[DEBUG] Using Proxy: proxy.mycompany.com
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
etype/2.0-alpha-4/maven-archetype-2.0-alpha-4.pom
[DEBUG] attempting to create parent directories for destination:
maven-archetype
-2.0-alpha-4.pom.tmp
13K downloaded  (maven-archetype-2.0-alpha-4.pom)
[DEBUG]   Artifact resolved
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:9 for
project:
org.apache.maven.archetype:maven-archetype:pom:2.0-alpha-4 from the
repository.
[DEBUG] Trying repository central
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] Connecting to repository: 'central' with url:
'http://repo1.maven.org/ma
ven2'.
[DEBUG] Using Proxy: proxy.mycompany.com
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/9/maven
-parent-9.pom
[DEBUG] attempting to create parent directories for destination:
maven-parent-9.
pom.tmp
32K downloaded  (maven-parent-9.pom)
[DEBUG]   Artifact resolved
[DEBUG] Retrieving parent-POM: org.apache:apache:pom:4 for project:
org.apache.m
aven:maven-parent:pom:9 from the repository.
[DEBUG] Trying repository central
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] Connecting to repository: 'central' with url:
'http://repo1.maven.org/ma
ven2'.
[DEBUG] Using Proxy: proxy.mycompany.com
Downloading: http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
[DEBUG] attempting to create parent directories for destination:
apache-4.pom.tm
p
4K downloaded  (apache-4.pom)
[DEBUG]   Artifact resolved
[DEBUG] Adding managed dependencies for
org.apache.maven.plugins:maven-archetype
-plugin
[DEBUG]   org.apache.maven.archetype:archetype-common:jar:2.0-alpha-4
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.8
[DEBUG]   org.apache.maven:maven-model:jar:2.0.8
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.4.6
[DEBUG]   org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-5
[DEBUG]   org.codehaus.plexus:plexus-velocity:jar:1.1.3
[DEBUG]   commons-io:commons-io:jar:1.3.1
[DEBUG]   dom4j:dom4j:jar:1.6.1
[DEBUG]   jdom:jdom:jar:1.0
[DEBUG]   org.apache.velocity:velocity:jar:1.5
[DEBUG]   net.sourceforge.jchardet:jchardet:jar:1.0
[DEBUG]   commons-collections:commons-collections:jar:3.2
[DEBUG]   junit:junit:jar:3.8.2:test
[DEBUG]  
org.apache.maven.shared:maven-plugin-testing-harness:jar:1.0-beta-1:te
st
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-6:test
[DEBUG]   org.apache.maven:maven-project:jar:2.0.8
[DEBUG]   org.apache.maven:maven-core:jar:2.0.8
[DEBUG]  
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG] Trying repository central
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] Connecting to repository: 'central' with url:
'http://repo1.maven.org/ma
ven2'.
[DEBUG] Using Proxy: proxy.mycompany.com
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archet
ype-plugin/2.0-alpha-4/maven-archetype-plugin-2.0-alpha-4.jar
[DEBUG] attempting to create parent directories for destination:
maven-archetype
-plugin-2.0-alpha-4.jar.tmp
2K downloaded  (maven-archetype-plugin-2.0-alpha-4.jar)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'cfe0d8bc0c
c25d678a588e362d652ad7bf71503c'; remote =
'aa643e648d45860242adc10288930b02fc353
eb3' - RETRYING
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archet
ype-plugin/2.0-alpha-4/maven-archetype-plugin-2.0-alpha-4.jar
[DEBUG] attempting to create parent directories for destination:
maven-archetype
-plugin-2.0-alpha-4.jar.tmp
2K downloaded  (maven-archetype-plugin-2.0-alpha-4.jar)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'f39fb360a4
fdc3cc990d80b0d7ef3e4ad5f73f14'; remote =
'aa643e648d45860242adc10288930b02fc353
eb3' - IGNORING
[DEBUG]   Artifact resolved
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin descriptor for the plugin Plugin
[org.apache.maven.plugins:mav
en-archetype-plugin] was not found. Please verify that the plugin JAR
D:\178010\
Softwares\Apache-Maven-Installed\Maven-Repo\org\apache\maven\plugins\maven-arche
type-plugin\2.0-alpha-4\maven-archetype-plugin-2.0-alpha-4.jar is intact.
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
java.lang.IllegalStateException: The plugin descriptor for the plugin Plugin
[or
g.apache.maven.plugins:maven-archetype-plugin] was not found. Please verify
that
 the plugin JAR
D:\178010\Softwares\Apache-Maven-Installed\Maven-Repo\org\apache
\maven\plugins\maven-archetype-plugin\2.0-alpha-4\maven-archetype-plugin-2.0-alp
ha-4.jar is intact.
        at
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginM
anager.java:353)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(De
faultPluginManager.java:217)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
inManager.java:177)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1517)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1786)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
AggregationNeeds(DefaultLifecycleExecutor.java:446)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:176)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Tue Mar 31 14:36:33 IST 2009
[INFO] Final Memory: 2M/4M
[INFO]
------------------------------------------------------------------------
D:\178010\Softwares\Apache-Maven-Installed>

===============================================================================

What could be the problem in this case and what is the solution for the
same?



Thanks in advance,

===============================================================================

Wayne Fay wrote:
> 
>>  <proxies>
>>    <!-- proxy
> ...
>>    </proxy>
>>    -->
>>  </proxies>
> 
> If this is literally the content of your file, then you should realize
> that you've commented out the new <proxy> that you defined in the XML
> with the XML comment tags <!-- ... -->. Please open this file in an
> XML-editor so you can fix it, or learn XML and adjust the comment tags
> as you deem necessary.
> 
> Wayne
> 
> ---------------------------------------------------------------------
> 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/Repository-%27central%27-will-be-blacklisted-tp22654645p22801252.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


Mime
View raw message