Re: newbie error with archetype:create
It happens often when you download a bunch of stuff on ibiblio since it is quite a busy site. Just run it again and everything should work. On 6/7/06, Maria Odea Ching <[EMAIL PROTECTED]> wrote: Hi Joe, Try removing the maven-profile jar files (including its corresponding pom & metadata files) from your local repo and then execute mvn archetype... again. It seemed that the pom was corrupted when it was downloaded from the central repo. Thanks, Odea Joe Hudson wrote: > Hello, I tried running the archetype:create target (I recently downloaded > and installed maven2 and am going through the docs: > http://maven.apache.org/guides/getting-started/index.html) and I am running > into the following error. Could anybody help me please? Thanks. > > Joe Hudson > > mvn -X -e archetype:create -DgroupId=com.myadbox.web -DartifactId=admin > + Error stacktraces are turned on. > Maven version: 2.0.4 > [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and > Settings\joe\.m2\plugin-registry.xml' > [DEBUG] Building Maven global-level plugin registry from: 'C:\Documents and > Settings\joe\My Documents\My > Development\Java\maven-2.0.4\bin\..\conf\plugin-registr > y.xml' > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'archetype'. > [DEBUG] maven-archetype-plugin: resolved to version 1.0-alpha-4 from > repository central > [DEBUG] Retrieving parent-POM: > org.apache.maven.archetype:maven-archetype::1.0-alpha-4 for project: > org.apache.maven.plugins:maven-archetype-plugin:maven-plugin > :1.0-alpha-4 from the repository. > [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: > org.apache.maven.archetype:maven-archetype:pom:1.0-alpha-4 from the > repository. > [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: > org.apache.maven:maven-parent:pom:1 from the repository. > [INFO] > > [INFO] Building Maven Default Project > [INFO]task-segment: [archetype:create] (aggregator-style) > [INFO] > > [DEBUG] > org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-4:run > time (selected for runtime) > [DEBUG] Retrieving parent-POM: > org.apache.maven.archetype:maven-archetype::1.0-alpha-4 for project: > org.apache.maven.archetype:maven-archetype-core:jar:1.0-alph > a-4 from the repository. > [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: > org.apache.maven.archetype:maven-archetype:pom:1.0-alpha-4 from the > repository. > [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: > org.apache.maven:maven-parent:pom:1 from the repository. > [DEBUG] > org.apache.maven.archetype:maven-archetype-core:jar:1.0-alpha-4:runtime > (selected for runtime) > [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: > org.apache.maven:maven-model:jar:2.0 from the repository. > [DEBUG] org.apache.maven:maven-model:jar:2.0:runtime (selected for > runtime) > [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected > for runtime) > [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus-containers::1.0.3 > for project: null:plexus-container-default:jar:1.0-alpha-9 from the > repository. > [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for > project: org.codehaus.plexus:plexus-containers:pom:1.0.3 from the > repository. > [DEBUG] > org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime > (selected for runtime) > [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for > runtime) > [DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime) > [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: > org.apache.maven:maven-artifact-manager:jar:2.0 from the repository. > [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0:runtime > (selected for runtime) > [DEBUG] > org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime > (removed - nearer found: 1.0-alpha-9) > [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: > org.apache.maven:maven-artifact:jar:2.0 from the repository. > [DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (selected for > runtime) > [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: > org.apache.maven:maven-repository-metadata:jar:2.0 from the repository. > [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0:runtime > (selected for runtime) > [DEBUG] > org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected > for runtime) > [DEBUG] org.codehaus.plexus:plexus-velocity:jar:1.1.2:runtime (selected > for runtime) > [DEBUG] Retrieving parent-POM: plexus:plexus-containers::1.0.2 for project: > org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-7 from the > repository. > [DEBUG] Skipping disabled repository apac
Re: newbie error with archetype:create
Hi Joe, Try removing the maven-profile jar files (including its corresponding pom & metadata files) from your local repo and then execute mvn archetype... again. It seemed that the pom was corrupted when it was downloaded from the central repo. Thanks, Odea Joe Hudson wrote: Hello, I tried running the archetype:create target (I recently downloaded and installed maven2 and am going through the docs: http://maven.apache.org/guides/getting-started/index.html) and I am running into the following error. Could anybody help me please? Thanks. Joe Hudson mvn -X -e archetype:create -DgroupId=com.myadbox.web -DartifactId=admin + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\joe\.m2\plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'C:\Documents and Settings\joe\My Documents\My Development\Java\maven-2.0.4\bin\..\conf\plugin-registr y.xml' [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [DEBUG] maven-archetype-plugin: resolved to version 1.0-alpha-4 from repository central [DEBUG] Retrieving parent-POM: org.apache.maven.archetype:maven-archetype::1.0-alpha-4 for project: org.apache.maven.plugins:maven-archetype-plugin:maven-plugin :1.0-alpha-4 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.archetype:maven-archetype:pom:1.0-alpha-4 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository. [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [archetype:create] (aggregator-style) [INFO] [DEBUG] org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-4:run time (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven.archetype:maven-archetype::1.0-alpha-4 for project: org.apache.maven.archetype:maven-archetype-core:jar:1.0-alph a-4 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.archetype:maven-archetype:pom:1.0-alpha-4 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository. [DEBUG] org.apache.maven.archetype:maven-archetype-core:jar:1.0-alpha-4:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-model:jar:2.0 from the repository. [DEBUG] org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus-containers::1.0.3 for project: null:plexus-container-default:jar:1.0-alpha-9 from the repository. [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: org.codehaus.plexus:plexus-containers:pom:1.0.3 from the repository. [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime (selected for runtime) [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime) [DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-artifact-manager:jar:2.0 from the repository. [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (removed - nearer found: 1.0-alpha-9) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-artifact:jar:2.0 from the repository. [DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-repository-metadata:jar:2.0 from the repository. [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for runtime) [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-velocity:jar:1.1.2:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: plexus:plexus-containers::1.0.2 for project: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-7 from the repository. [DEBUG] Skipping disabled repository apache.snapshots [DEBUG] Trying repository central Downloading: http://repo1.maven.org/maven2/plexus/plexus-containers/1.0.2/plexus-containe rs-1.0.2.pom 471b downloaded [DEBUG] Artifact resolved [DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project: plexus:plexus-containers:pom:1.0.2 from the repository. [DEBUG] Skipping disabled repository apache.snapshots [
newbie error with archetype:create
Hello, I tried running the archetype:create target (I recently downloaded and installed maven2 and am going through the docs: http://maven.apache.org/guides/getting-started/index.html) and I am running into the following error. Could anybody help me please? Thanks. Joe Hudson mvn -X -e archetype:create -DgroupId=com.myadbox.web -DartifactId=admin + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\joe\.m2\plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'C:\Documents and Settings\joe\My Documents\My Development\Java\maven-2.0.4\bin\..\conf\plugin-registr y.xml' [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [DEBUG] maven-archetype-plugin: resolved to version 1.0-alpha-4 from repository central [DEBUG] Retrieving parent-POM: org.apache.maven.archetype:maven-archetype::1.0-alpha-4 for project: org.apache.maven.plugins:maven-archetype-plugin:maven-plugin :1.0-alpha-4 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.archetype:maven-archetype:pom:1.0-alpha-4 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository. [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [archetype:create] (aggregator-style) [INFO] [DEBUG] org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-4:run time (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven.archetype:maven-archetype::1.0-alpha-4 for project: org.apache.maven.archetype:maven-archetype-core:jar:1.0-alph a-4 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.archetype:maven-archetype:pom:1.0-alpha-4 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository. [DEBUG] org.apache.maven.archetype:maven-archetype-core:jar:1.0-alpha-4:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-model:jar:2.0 from the repository. [DEBUG] org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus-containers::1.0.3 for project: null:plexus-container-default:jar:1.0-alpha-9 from the repository. [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: org.codehaus.plexus:plexus-containers:pom:1.0.3 from the repository. [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime (selected for runtime) [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime) [DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-artifact-manager:jar:2.0 from the repository. [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (removed - nearer found: 1.0-alpha-9) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-artifact:jar:2.0 from the repository. [DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-repository-metadata:jar:2.0 from the repository. [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for runtime) [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-velocity:jar:1.1.2:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: plexus:plexus-containers::1.0.2 for project: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-7 from the repository. [DEBUG] Skipping disabled repository apache.snapshots [DEBUG] Trying repository central Downloading: http://repo1.maven.org/maven2/plexus/plexus-containers/1.0.2/plexus-containe rs-1.0.2.pom 471b downloaded [DEBUG] Artifact resolved [DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project: plexus:plexus-containers:pom:1.0.2 from the repository. [DEBUG] Skipping disabled repository apache.snapshots [DEBUG] Trying repository central Downloading: http://repo1.maven.org/maven2/plexus/plexus-root/1.0.3/plexus-root-1.0.3.pom 5K downloaded [DEBUG] Artifact resolved [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-7:runtime (removed - nearer found: 1.0-alpha-9) [DEB