timezra / tycho_new_plugin_project

Maven/Tycho archetype project for creating a new Tycho-enabled Eclipse plugin, a test fragment, a feature and an update site.
2 stars 0 forks source link

Issue using the new plugin project #1

Closed anktrive closed 12 years ago

anktrive commented 12 years ago

Hi Tim,

I had created this issue at the following location by mistake. All the information is there in the link given below.

https://issues.sonatype.org/browse/OSSRH-2464

Regards, Ankur

timezra commented 12 years ago

Hi Ankur,

My sincerest apologies. I had re-organized the release repo and did not realize that things were broken because I was re-testing with a cached copy. The release repo should now have the right structure. Please try again and let me know if you run into any issues. I still need to re-re-organize the snapshots repo.

Regards, ---Tim---

On Tue, Nov 15, 2011 at 11:03 PM, anktrive < reply@reply.github.com

wrote:

Hi Tim,

I had created this issue at the following location by mistake. All the information is there in the link given below.

https://issues.sonatype.org/browse/OSSRH-2464

Regards, Ankur


Reply to this email directly or view it on GitHub: https://github.com/timezra/tycho_new_plugin_project/issues/1

http://timezra.blogspot.com

timezra commented 12 years ago

One more update in this. I have fixed the maven repository layout. Unfortunately, that means going forward, you should use this command to generate from the archetype: $> mvn archetype:generate -DarchetypeCatalog=http://timezra.github.com/maven/releases/archetype

Not having the final path segment will still work for now, but will soon no longer be supported.

anktrive commented 12 years ago

Hi Tim, I am getting the following exception now

Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530) Maven home: C:\Maven\apache-maven-3.0.3 Java version: 1.6.0_27, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_27\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows xp", version: "5.1", arch: "x86", family: "windows" [INFO] Error stacktraces are turned on. [DEBUG] Reading global settings from C:\Maven\apache-maven-3.0.3\conf\settings.xml [DEBUG] Reading user settings from C:\Documents and Settings\anktrive.m2\settings.xml [DEBUG] Using local repository at C:\apps\repo [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for C:\apps\repo [INFO] Scanning for projects... [DEBUG] org.apache.maven.archetype:archetype-packaging:jar:2.1: [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.sonatype.aether.transfer < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.sonatype.aether.metadata < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core [DEBUG] Imported: org.sonatype.aether.collection < plexus.core [DEBUG] Imported: org.sonatype.aether.version < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.sonatype.aether.repository < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.sonatype.aether.artifact < plexus.core [DEBUG] Imported: org.sonatype.aether.spi < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.sonatype.aether.graph < plexus.core [DEBUG] Imported: org.sonatype.aether.* < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.sonatype.aether.impl < plexus.core [DEBUG] Imported: org.apache.maven.wagon.* < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.sonatype.aether.deployment < plexus.core [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.sonatype.aether.installation < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.* < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.sonatype.aether.resolution < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.codehaus.plexus.* < plexus.core [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core [DEBUG] Populating class realm maven.api [DEBUG] Created new class realm extension>org.apache.maven.archetype:archetype-packaging:2.1 [DEBUG] Importing foreign packages into class realm extension>org.apache.maven.archetype:archetype-packaging:2.1 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm extension>org.apache.maven.archetype:archetype-packaging:2.1 [DEBUG] Included: org.apache.maven.archetype:archetype-packaging:jar:2.1 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:1.1 [DEBUG] Extension realms for project timezra.tycho:new-plugin-project-archetype:maven-archetype:1.0.1-SNAPSHOT: [ClassRealm[extension>org.apache.maven.archetype:archetype-packaging:2.1, parent: sun.misc.Launcher$AppClassLoader@35ce36]] [DEBUG] Created new class realm project>timezra.tycho:new-plugin-project-archetype:1.0.1-SNAPSHOT [DEBUG] Populating class realm project>timezra.tycho:new-plugin-project-archetype:1.0.1-SNAPSHOT [DEBUG] Included: org.apache.maven.archetype:archetype-packaging:jar:2.1 [DEBUG] Looking up lifecyle mappings for packaging maven-archetype from ClassRealm[project>timezra.tycho:new-plugin-project-archetype:1.0.1-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-install-plugin [DEBUG] Could not find metadata org.apache.maven.plugins:maven-install-plugin/maven-metadata.xml in local (C:\apps\repo) [DEBUG] Skipped remote update check for org.apache.maven.plugins:maven-install-plugin/maven-metadata.xml, locally cached metadata up-to-date. [DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-install-plugin to 2.3.1 from repository central (http://repo1.maven.org/maven2, releases) [DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-resources-plugin [DEBUG] Could not find metadata org.apache.maven.plugins:maven-resources-plugin/maven-metadata.xml in local (C:\apps\repo) [DEBUG] Skipped remote update check for org.apache.maven.plugins:maven-resources-plugin/maven-metadata.xml, locally cached metadata up-to-date. [DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-resources-plugin to 2.5 from repository central (http://repo1.maven.org/maven2, releases) [DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-deploy-plugin [DEBUG] Could not find metadata org.apache.maven.plugins:maven-deploy-plugin/maven-metadata.xml in local (C:\apps\repo) [DEBUG] Skipped remote update check for org.apache.maven.plugins:maven-deploy-plugin/maven-metadata.xml, locally cached metadata up-to-date. [DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-deploy-plugin to 2.7 from repository central (http://repo1.maven.org/maven2, releases) [DEBUG] Resolving plugin prefix archetype from [org.apache.maven.plugins, org.codehaus.mojo] [DEBUG] Resolved plugin prefix archetype to org.apache.maven.plugins:maven-archetype-plugin from POM timezra.tycho:new-plugin-project-archetype:maven-archetype:1.0.1-SNAPSHOT [DEBUG] === REACTOR BUILD PLAN ================================================ [DEBUG] Project: timezra.tycho:new-plugin-project-archetype:maven-archetype:1.0.1-SNAPSHOT [DEBUG] Tasks: [archetype:generate] [DEBUG] Style: Aggregating [DEBUG] ======================================================================= [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building new-plugin-project-archetype 1.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [DEBUG] Resolving plugin prefix archetype from [org.apache.maven.plugins, org.codehaus.mojo] [DEBUG] Resolved plugin prefix archetype to org.apache.maven.plugins:maven-archetype-plugin from POM timezra.tycho:new-plugin-project-archetype:maven-archetype:1.0.1-SNAPSHOT [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] === PROJECT BUILD PLAN ================================================ [DEBUG] Project: timezra.tycho:new-plugin-project-archetype:1.0.1-SNAPSHOT [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [] [DEBUG] Repositories (dependencies): [central (http://repo1.maven.org/maven2, releases)] [DEBUG] Repositories (plugins) : [central (http://repo1.maven.org/maven2, releases)] [DEBUG] --- init fork of timezra.tycho:new-plugin-project-archetype:1.0.1-SNAPSHOT for org.apache.maven.plugins:maven-archetype-plugin:2.1:generate (default-cli) --- [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [] [DEBUG] --- exit fork of timezra.tycho:new-plugin-project-archetype:1.0.1-SNAPSHOT for org.apache.maven.plugins:maven-archetype-plugin:2.1:generate (default-cli) --- [DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-archetype-plugin:2.1:generate (default-cli) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${archetypeArtifactId} ${archetypeCatalog} ${archetypeGroupId} ${archetypeRepository} ${archetypeVersion} ${basedir} ${filter} ${goals} ${interactiveMode} ${localRepository} ${project.remoteArtifactRepositories} ${session}

[DEBUG] ======================================================================= [INFO] [INFO] >>> maven-archetype-plugin:2.1:generate (default-cli) @ new-plugin-project-archetype >>> [INFO] [INFO] <<< maven-archetype-plugin:2.1:generate (default-cli) @ new-plugin-project-archetype <<< [INFO] [INFO] --- maven-archetype-plugin:2.1:generate (default-cli) @ new-plugin-project-archetype --- [DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://repo1.maven.org/maven2 via proxy-syd-1.cisco.com:80 as null Downloading: http://repo1.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom 2 KB
4 KB

Downloaded: http://repo1.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom (4 KB at 1.3 KB/sec) [DEBUG] Reading resolution tracking file C:\apps\repo\classworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.pom.lastUpdated [DEBUG] Writing resolution tracking file C:\apps\repo\classworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.pom.lastUpdated [DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://repo1.maven.org/maven2 via proxy-syd-1.cisco.com:80 as null Downloading: http://repo1.maven.org/maven2/classworlds/classworlds/1.1/classworlds-1.1.pom 3 KB
4 KB

Downloaded: http://repo1.maven.org/maven2/classworlds/classworlds/1.1/classworlds-1.1.pom (4 KB at 1.8 KB/sec) [DEBUG] Reading resolution tracking file C:\apps\repo\classworlds\classworlds\1.1\classworlds-1.1.pom.lastUpdated [DEBUG] Writing resolution tracking file C:\apps\repo\classworlds\classworlds\1.1\classworlds-1.1.pom.lastUpdated [DEBUG] org.apache.maven.plugins:maven-archetype-plugin:jar:2.1: [DEBUG] org.apache.maven.archetype:archetype-catalog:jar:2.1:compile [DEBUG] org.apache.maven.archetype:archetype-descriptor:jar:2.1:compile [DEBUG] org.apache.maven.archetype:archetype-registry:jar:2.1:compile [DEBUG] org.apache.maven.archetype:archetype-common:jar:2.1:compile [DEBUG] net.sourceforge.jchardet:jchardet:jar:1.0:compile [DEBUG] dom4j:dom4j:jar:1.6.1:compile [DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile [DEBUG] jdom:jdom:jar:1.0:compile [DEBUG] org.apache.maven:maven-model:jar:2.0.8:compile [DEBUG] org.apache.maven:maven-project:jar:2.0.8:compile [DEBUG] org.apache.maven:maven-plugin-registry:jar:2.0.8:compile [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile [DEBUG] junit:junit:jar:4.8.2:test (scope managed from compile) (version managed from 3.8.1) [DEBUG] commons-io:commons-io:jar:1.4:compile [DEBUG] org.codehaus.plexus:plexus-velocity:jar:1.1.8:compile [DEBUG] org.apache.velocity:velocity:jar:1.5:compile [DEBUG] commons-lang:commons-lang:jar:2.1:compile [DEBUG] oro:oro:jar:2.0.8:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.5.8:compile [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.8:compile [DEBUG] org.apache.maven:maven-core:jar:2.0.8:compile [DEBUG] org.apache.maven:maven-settings:jar:2.0.8:compile [DEBUG] org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.8:compile [DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:2.0.8:compile [DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-9:compile [DEBUG] org.apache.maven:maven-profile:jar:2.0.8:compile [DEBUG] org.apache.maven:maven-artifact:jar:2.0.8:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.8:compile [DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.0.8:compile [DEBUG] commons-cli:commons-cli:jar:1.0:compile [DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0.8:compile [DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-5:compile (version managed from 1.0-alpha-4) [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.8:compile [DEBUG] org.apache.maven:maven-monitor:jar:2.0.8:compile [DEBUG] classworlds:classworlds:jar:1.1:compile [DEBUG] org.apache.maven.shared:maven-invoker:jar:2.0.10:compile [DEBUG] commons-collections:commons-collections:jar:3.2.1:compile [DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-archetype-plugin:2.1 [DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-archetype-plugin:2.1 [DEBUG] Imported: < project>timezra.tycho:new-plugin-project-archetype:1.0.1-SNAPSHOT [DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-archetype-plugin:2.1 [DEBUG] Included: org.apache.maven.plugins:maven-archetype-plugin:jar:2.1 [DEBUG] Included: org.apache.maven.archetype:archetype-catalog:jar:2.1 [DEBUG] Included: org.apache.maven.archetype:archetype-descriptor:jar:2.1 [DEBUG] Included: org.apache.maven.archetype:archetype-registry:jar:2.1 [DEBUG] Included: org.apache.maven.archetype:archetype-common:jar:2.1 [DEBUG] Included: net.sourceforge.jchardet:jchardet:jar:1.0 [DEBUG] Included: dom4j:dom4j:jar:1.6.1 [DEBUG] Included: xml-apis:xml-apis:jar:1.0.b2 [DEBUG] Included: jdom:jdom:jar:1.0 [DEBUG] Included: commons-io:commons-io:jar:1.4 [DEBUG] Included: org.codehaus.plexus:plexus-velocity:jar:1.1.8 [DEBUG] Included: org.apache.velocity:velocity:jar:1.5 [DEBUG] Included: commons-lang:commons-lang:jar:2.1 [DEBUG] Included: oro:oro:jar:2.0.8 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:1.5.8 [DEBUG] Included: org.apache.maven.reporting:maven-reporting-api:jar:2.0.8 [DEBUG] Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-9 [DEBUG] Included: commons-cli:commons-cli:jar:1.0 [DEBUG] Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-5 [DEBUG] Included: org.apache.maven.shared:maven-invoker:jar:2.0.10 [DEBUG] Included: commons-collections:commons-collections:jar:3.2.1 [DEBUG] Excluded: org.apache.maven:maven-model:jar:2.0.8 [DEBUG] Excluded: org.apache.maven:maven-project:jar:2.0.8 [DEBUG] Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.8 [DEBUG] Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1 [DEBUG] Excluded: junit:junit:jar:4.8.2 [DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:2.0.8 [DEBUG] Excluded: org.apache.maven:maven-core:jar:2.0.8 [DEBUG] Excluded: org.apache.maven:maven-settings:jar:2.0.8 [DEBUG] Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.8 [DEBUG] Excluded: org.apache.maven:maven-profile:jar:2.0.8 [DEBUG] Excluded: org.apache.maven:maven-artifact:jar:2.0.8 [DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.8 [DEBUG] Excluded: org.apache.maven:maven-error-diagnostics:jar:2.0.8 [DEBUG] Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.0.8 [DEBUG] Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.8 [DEBUG] Excluded: org.apache.maven:maven-monitor:jar:2.0.8 [DEBUG] Excluded: classworlds:classworlds:jar:1.1 [DEBUG] Configuring mojo org.apache.maven.plugins:maven-archetype-plugin:2.1:generate from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-archetype-plugin:2.1, parent: sun.misc.Launcher$AppClassLoader@35ce36] [DEBUG] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [DEBUG] Setting property: site.resource.loader.class => 'org.codehaus.plexus.velocity.SiteResourceLoader'. [DEBUG] Setting property: velocimacro.messages.on => 'false'. [DEBUG] Setting property: resource.loader => 'classpath,site'. [DEBUG] Setting property: runtime.log.invalid.references => 'false'. [DEBUG] Setting property: resource.manager.logwhenfound => 'false'. [DEBUG] *** [DEBUG] Starting Apache Velocity v1.5 (compiled: 2007-02-22 08:52:29) [DEBUG] RuntimeInstance initializing. [DEBUG] Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties [DEBUG] LogSystem has been deprecated. Please use a LogChute implementation. [DEBUG] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) [DEBUG] ResourceLoader instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [DEBUG] ResourceLoader instantiated: org.codehaus.plexus.velocity.SiteResourceLoader [DEBUG] ResourceCache: initialized (class org.apache.velocity.runtime.resource.ResourceCacheImpl) [DEBUG] Default ResourceManager initialization complete. [DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Include [DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [DEBUG] Created '20' parsers. [DEBUG] Velocimacro : initialization starting. [DEBUG] Velocimacro : allowInline = true : VMs can be defined inline in templates [DEBUG] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions [DEBUG] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed. [DEBUG] Velocimacro : autoload off : VM system will not automatically reload global library macros [DEBUG] Velocimacro : Velocimacro : initialization complete. [DEBUG] RuntimeInstance successfully initialized. [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-archetype-plugin:2.1:generate' with basic configurator --> DEBUG archetypeCatalog = http://timezra.github.com/maven/releases DEBUG basedir = C:\data\timez DEBUG interactiveMode = true DEBUG localRepository = id: local url: file:///C:/apps/repo/ layout: none

DEBUG remoteArtifactRepositories = [ id: central url: http://repo1.maven.org/maven2 layout: default snapshots: [enabled => false, update => daily] releases: [enabled => true, update => daily] ] DEBUG session = org.apache.maven.execution.MavenSession@552a2b [DEBUG] -- end configuration -- [INFO] Generating project in Interactive mode [DEBUG] Searching for remote catalog: http://timezra.github.com/maven/releases/archetype-catalog.xml [INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0) Choose archetype: 1: http://timezra.github.com/maven/releases -> timezra.tycho:new-plugin-project-archetype (Creates a new Tycho-enabled Eclipse plug-in project heirarchy along with a test fragment, a feature and an update site.) Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : [DEBUG] Not found archetype timezra.tycho:new-plugin-project-archetype:1.0.0 in cache [DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://timezra.github.com/maven via proxy-syd-1.cisco.com:80 as null Downloading: http://timezra.github.com/maven/timezra/tycho/new-plugin-project-archetype/1.0.0/new-plugin-project-archetype-1.0.0.jar 27 B
722 B
747 B
2 KB
4 KB
4 KB
8 KB
9 KB
13 KB
13 KB
17 KB
18 KB

Downloaded: http://timezra.github.com/maven/timezra/tycho/new-plugin-project-archetype/1.0.0/new-plugin-project-archetype-1.0.0.jar (18 KB at 7.1 KB/sec) [DEBUG] Reading resolution tracking file C:\apps\repo\timezra\tycho\new-plugin-project-archetype\1.0.0\new-plugin-project-archetype-1.0.0.jar.lastUpdated [DEBUG] Writing resolution tracking file C:\apps\repo\timezra\tycho\new-plugin-project-archetype\1.0.0\new-plugin-project-archetype-1.0.0.jar.lastUpdated [DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://timezra.github.com/maven via proxy-syd-1.cisco.com:80 as null Downloading: http://timezra.github.com/maven/timezra/tycho/new-plugin-project-archetype/1.0.0/new-plugin-project-archetype-1.0.0.pom 27 B
723 B
748 B
2 KB
3 KB

Downloaded: http://timezra.github.com/maven/timezra/tycho/new-plugin-project-archetype/1.0.0/new-plugin-project-archetype-1.0.0.pom (3 KB at 1.7 KB/sec) [DEBUG] Reading resolution tracking file C:\apps\repo\timezra\tycho\new-plugin-project-archetype\1.0.0\new-plugin-project-archetype-1.0.0.pom.lastUpdated [DEBUG] Writing resolution tracking file C:\apps\repo\timezra\tycho\new-plugin-project-archetype\1.0.0\new-plugin-project-archetype-1.0.0.pom.lastUpdated [DEBUG] Found archetype timezra.tycho:new-plugin-project-archetype:1.0.0 in cache: C:\apps\repo\timezra\tycho\new-plugin-project-archetype\1.0.0\new-plugin-project-archetype-1.0.0.jar [DEBUG] checking fileset archetype status on C:\apps\repo\timezra\tycho\new-plugin-project-archetype\1.0.0\new-plugin-project-archetype-1.0.0.jar [DEBUG] Searching for META-INF/maven/archetype-metadata.xml inside C:\apps\repo\timezra\tycho\new-plugin-project-archetype\1.0.0\new-plugin-project-archetype-1.0.0.jar [DEBUG] - archetype-resources/features/rootArtifactId.feature/build.properties [DEBUG] - archetype-resources/features/rootArtifactId.feature/feature.properties [DEBUG] - archetype-resources/features/rootArtifactId.feature/feature.xml [DEBUG] - archetype-resources/features/rootArtifactId.feature/license.html [DEBUG] - archetype-resources/features/rootArtifactId.feature/pom.xml [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/build.properties [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/feature.properties [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/feature.xml [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/license.html [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/pom.xml [DEBUG] - archetype-resources/features/pom.xml [DEBUG] - archetype-resources/plugins/rootArtifactId/build.properties [DEBUG] - archetype-resources/plugins/rootArtifactId/META-INF/MANIFEST.MF [DEBUG] - archetype-resources/plugins/rootArtifactId/plugin.properties [DEBUG] - archetype-resources/plugins/rootArtifactId/pom.xml [DEBUG] - archetype-resources/plugins/rootArtifactId/src/main/java/Activator.java [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/build.properties [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/META-INF/MANIFEST.MF [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/plugin.properties [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/pom.xml [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/src/test/java/ActivatorTest.java [DEBUG] - archetype-resources/plugins/pom.xml [DEBUG] - archetype-resources/pom.xml [DEBUG] - archetype-resources/README [DEBUG] - archetype-resources/update-site/index.html [DEBUG] - archetype-resources/update-site/pom.xml [DEBUG] - archetype-resources/update-site/site.xml [DEBUG] - archetype-resources/update-site/web/site.css [DEBUG] - archetype-resources/update-site/web/site.xsl [DEBUG] - META-INF/maven/archetype-metadata.xml [DEBUG] Entry found [DEBUG] Found archetype timezra.tycho:new-plugin-project-archetype:1.0.0 in cache: C:\apps\repo\timezra\tycho\new-plugin-project-archetype\1.0.0\new-plugin-project-archetype-1.0.0.jar [DEBUG] Searching for META-INF/maven/archetype-metadata.xml inside C:\apps\repo\timezra\tycho\new-plugin-project-archetype\1.0.0\new-plugin-project-archetype-1.0.0.jar [DEBUG] - archetype-resources/features/rootArtifactId.feature/build.properties [DEBUG] - archetype-resources/features/rootArtifactId.feature/feature.properties [DEBUG] - archetype-resources/features/rootArtifactId.feature/feature.xml [DEBUG] - archetype-resources/features/rootArtifactId.feature/license.html [DEBUG] - archetype-resources/features/rootArtifactId.feature/pom.xml [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/build.properties [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/feature.properties [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/feature.xml [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/license.html [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/pom.xml [DEBUG] - archetype-resources/features/pom.xml [DEBUG] - archetype-resources/plugins/rootArtifactId/build.properties [DEBUG] - archetype-resources/plugins/rootArtifactId/META-INF/MANIFEST.MF [DEBUG] - archetype-resources/plugins/rootArtifactId/plugin.properties [DEBUG] - archetype-resources/plugins/rootArtifactId/pom.xml [DEBUG] - archetype-resources/plugins/rootArtifactId/src/main/java/Activator.java [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/build.properties [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/META-INF/MANIFEST.MF [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/plugin.properties [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/pom.xml [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/src/test/java/ActivatorTest.java [DEBUG] - archetype-resources/plugins/pom.xml [DEBUG] - archetype-resources/pom.xml [DEBUG] - archetype-resources/README [DEBUG] - archetype-resources/update-site/index.html [DEBUG] - archetype-resources/update-site/pom.xml [DEBUG] - archetype-resources/update-site/site.xml [DEBUG] - archetype-resources/update-site/web/site.css [DEBUG] - archetype-resources/update-site/web/site.xsl [DEBUG] - META-INF/maven/archetype-metadata.xml [DEBUG] Entry found [DEBUG] Creating ArchetypeConfiguration from fileset descriptor and Properties [DEBUG] Adding requiredProperty groupId [DEBUG] Setting property groupId=my.company [DEBUG] Setting defaultProperty groupId=my.company [DEBUG] Adding requiredProperty artifactId [DEBUG] Setting property artifactId=my.company.do_something [DEBUG] Setting defaultProperty artifactId=my.company.do_something [DEBUG] Adding requiredProperty version [DEBUG] Setting property version=1.0.0 [DEBUG] Setting defaultProperty version=1.0.0 [DEBUG] Adding requiredProperty package [DEBUG] Setting property package=my.company.do_something [DEBUG] Setting defaultProperty package=my.company.do_something [DEBUG] Adding requiredProperty pluginName [DEBUG] Setting property pluginName=Do Something [DEBUG] Setting defaultProperty pluginName=Do Something [DEBUG] Adding requiredProperty updateSiteLocation [DEBUG] Setting property updateSiteLocation=http://www.my.company/update-site [DEBUG] Setting defaultProperty updateSiteLocation=http://www.my.company/update-site [DEBUG] Adding requiredProperty javaVersion [DEBUG] Setting property javaVersion=1.6 [DEBUG] Setting defaultProperty javaVersion=1.6 [DEBUG] Adding requiredProperty eclipseVersion [DEBUG] Setting property eclipseVersion=indigo [DEBUG] Setting defaultProperty eclipseVersion=indigo [DEBUG] Adding requiredProperty pluginCategory [DEBUG] Setting property pluginCategory=Things That Do Stuff [DEBUG] Setting defaultProperty pluginCategory=Things That Do Stuff [DEBUG] Required properties before content sort: [groupId, artifactId, version, package, pluginName, updateSiteLocation, javaVersion, eclipseVersion, pluginCategory] [DEBUG] Required properties after content sort: [groupId, artifactId, version, package, eclipseVersion, javaVersion, pluginCategory, pluginName, updateSiteLocation] [INFO] Using property: groupId = my.company [INFO] Using property: artifactId = my.company.do_something [INFO] Using property: version = 1.0.0 [INFO] Using property: package = my.company.do_something [INFO] Using property: eclipseVersion = indigo [INFO] Using property: javaVersion = 1.6 [INFO] Using property: pluginCategory = Things That Do Stuff [INFO] Using property: pluginName = Do Something [INFO] Using property: updateSiteLocation = http://www.my.company/update-site Confirm properties configuration: groupId: my.company artifactId: my.company.do_something version: 1.0.0 package: my.company.do_something eclipseVersion: indigo javaVersion: 1.6 pluginCategory: Things That Do Stuff pluginName: Do Something updateSiteLocation: http://www.my.company/update-site Y: : [DEBUG] Archetype generation configuration confirmed [DEBUG] Found archetype timezra.tycho:new-plugin-project-archetype:1.0.0 in cache: C:\apps\repo\timezra\tycho\new-plugin-project-archetype\1.0.0\new-plugin-project-archetype-1.0.0.jar [DEBUG] Found archetype timezra.tycho:new-plugin-project-archetype:1.0.0 in cache: C:\apps\repo\timezra\tycho\new-plugin-project-archetype\1.0.0\new-plugin-project-archetype-1.0.0.jar [DEBUG] checking fileset archetype status on C:\apps\repo\timezra\tycho\new-plugin-project-archetype\1.0.0\new-plugin-project-archetype-1.0.0.jar [DEBUG] Searching for META-INF/maven/archetype-metadata.xml inside C:\apps\repo\timezra\tycho\new-plugin-project-archetype\1.0.0\new-plugin-project-archetype-1.0.0.jar [DEBUG] - archetype-resources/features/rootArtifactId.feature/build.properties [DEBUG] - archetype-resources/features/rootArtifactId.feature/feature.properties [DEBUG] - archetype-resources/features/rootArtifactId.feature/feature.xml [DEBUG] - archetype-resources/features/rootArtifactId.feature/license.html [DEBUG] - archetype-resources/features/rootArtifactId.feature/pom.xml [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/build.properties [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/feature.properties [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/feature.xml [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/license.html [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/pom.xml [DEBUG] - archetype-resources/features/pom.xml [DEBUG] - archetype-resources/plugins/rootArtifactId/build.properties [DEBUG] - archetype-resources/plugins/rootArtifactId/META-INF/MANIFEST.MF [DEBUG] - archetype-resources/plugins/rootArtifactId/plugin.properties [DEBUG] - archetype-resources/plugins/rootArtifactId/pom.xml [DEBUG] - archetype-resources/plugins/rootArtifactId/src/main/java/Activator.java [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/build.properties [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/META-INF/MANIFEST.MF [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/plugin.properties [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/pom.xml [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/src/test/java/ActivatorTest.java [DEBUG] - archetype-resources/plugins/pom.xml [DEBUG] - archetype-resources/pom.xml [DEBUG] - archetype-resources/README [DEBUG] - archetype-resources/update-site/index.html [DEBUG] - archetype-resources/update-site/pom.xml [DEBUG] - archetype-resources/update-site/site.xml [DEBUG] - archetype-resources/update-site/web/site.css [DEBUG] - archetype-resources/update-site/web/site.xsl [DEBUG] - META-INF/maven/archetype-metadata.xml [DEBUG] Entry found [DEBUG] Searching for META-INF/maven/archetype-metadata.xml inside C:\apps\repo\timezra\tycho\new-plugin-project-archetype\1.0.0\new-plugin-project-archetype-1.0.0.jar [DEBUG] - archetype-resources/features/rootArtifactId.feature/build.properties [DEBUG] - archetype-resources/features/rootArtifactId.feature/feature.properties [DEBUG] - archetype-resources/features/rootArtifactId.feature/feature.xml [DEBUG] - archetype-resources/features/rootArtifactId.feature/license.html [DEBUG] - archetype-resources/features/rootArtifactId.feature/pom.xml [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/build.properties [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/feature.properties [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/feature.xml [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/license.html [DEBUG] - archetype-resources/features/rootArtifactId.source.feature/pom.xml [DEBUG] - archetype-resources/features/pom.xml [DEBUG] - archetype-resources/plugins/rootArtifactId/build.properties [DEBUG] - archetype-resources/plugins/rootArtifactId/META-INF/MANIFEST.MF [DEBUG] - archetype-resources/plugins/rootArtifactId/plugin.properties [DEBUG] - archetype-resources/plugins/rootArtifactId/pom.xml [DEBUG] - archetype-resources/plugins/rootArtifactId/src/main/java/Activator.java [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/build.properties [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/META-INF/MANIFEST.MF [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/plugin.properties [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/pom.xml [DEBUG] - archetype-resources/plugins/rootArtifactId.tests/src/test/java/ActivatorTest.java [DEBUG] - archetype-resources/plugins/pom.xml [DEBUG] - archetype-resources/pom.xml [DEBUG] - archetype-resources/README [DEBUG] - archetype-resources/update-site/index.html [DEBUG] - archetype-resources/update-site/pom.xml [DEBUG] - archetype-resources/update-site/site.xml [DEBUG] - archetype-resources/update-site/web/site.css [DEBUG] - archetype-resources/update-site/web/site.xsl [DEBUG] - META-INF/maven/archetype-metadata.xml [DEBUG] Entry found [INFO] ---------------------------------------------------------------------------- [INFO] Using following parameters for creating project from Archetype: new-plugin-project-archetype:1.0.0 [INFO] ---------------------------------------------------------------------------- [INFO] Parameter: groupId, Value: my.company [INFO] Parameter: artifactId, Value: my.company.do_something [INFO] Parameter: version, Value: 1.0.0 [INFO] Parameter: package, Value: my.company.do_something [INFO] Parameter: packageInPathFormat, Value: my/company/do_something [INFO] Parameter: groupId, Value: my.company [INFO] Parameter: pluginName, Value: Do Something [INFO] Parameter: version, Value: 1.0.0 [INFO] Parameter: pluginCategory, Value: Things That Do Stuff [INFO] Parameter: eclipseVersion, Value: indigo [INFO] Parameter: javaVersion, Value: 1.6 [INFO] Parameter: package, Value: my.company.do_something [INFO] Parameter: updateSiteLocation, Value: http://www.my.company/update-site [INFO] Parameter: artifactId, Value: my.company.do_something [DEBUG] getFilesetArchetypeResources( "C:\apps\repo\timezra\tycho\new-plugin-project-archetype\1.0.0\new-plugin-project-archetype-1.0.0.jar" ) [DEBUG] - found resource (archetype-resources/)features/rootArtifactId.feature/build.properties [DEBUG] - found resource (archetype-resources/)features/rootArtifactId.feature/feature.properties [DEBUG] - found resource (archetype-resources/)features/rootArtifactId.feature/feature.xml [DEBUG] - found resource (archetype-resources/)features/rootArtifactId.feature/license.html [DEBUG] - found resource (archetype-resources/)features/rootArtifactId.feature/pom.xml [DEBUG] - found resource (archetype-resources/)features/rootArtifactId.source.feature/build.properties [DEBUG] - found resource (archetype-resources/)features/rootArtifactId.source.feature/feature.properties [DEBUG] - found resource (archetype-resources/)features/rootArtifactId.source.feature/feature.xml [DEBUG] - found resource (archetype-resources/)features/rootArtifactId.source.feature/license.html [DEBUG] - found resource (archetype-resources/)features/rootArtifactId.source.feature/pom.xml [DEBUG] - found resource (archetype-resources/)features/pom.xml [DEBUG] - found resource (archetype-resources/)plugins/rootArtifactId/build.properties [DEBUG] - found resource (archetype-resources/)plugins/rootArtifactId/META-INF/MANIFEST.MF [DEBUG] - found resource (archetype-resources/)plugins/rootArtifactId/plugin.properties [DEBUG] - found resource (archetype-resources/)plugins/rootArtifactId/pom.xml [DEBUG] - found resource (archetype-resources/)plugins/rootArtifactId/src/main/java/Activator.java [DEBUG] - found resource (archetype-resources/)plugins/rootArtifactId.tests/build.properties [DEBUG] - found resource (archetype-resources/)plugins/rootArtifactId.tests/META-INF/MANIFEST.MF [DEBUG] - found resource (archetype-resources/)plugins/rootArtifactId.tests/plugin.properties [DEBUG] - found resource (archetype-resources/)plugins/rootArtifactId.tests/pom.xml [DEBUG] - found resource (archetype-resources/)plugins/rootArtifactId.tests/src/test/java/ActivatorTest.java [DEBUG] - found resource (archetype-resources/)plugins/pom.xml [DEBUG] - found resource (archetype-resources/)pom.xml [DEBUG] - found resource (archetype-resources/)README [DEBUG] - found resource (archetype-resources/)update-site/index.html [DEBUG] - found resource (archetype-resources/)update-site/pom.xml [DEBUG] - found resource (archetype-resources/)update-site/site.xml [DEBUG] - found resource (archetype-resources/)update-site/web/site.css [DEBUG] - found resource (archetype-resources/)update-site/web/site.xsl [DEBUG] - ignored resource META-INF/maven/archetype-metadata.xml [DEBUG] Processing complete archetype new-plugin-project-archetype [DEBUG] Processing module my.company.do_something [DEBUG] Processing module rootArtifactId my.company.do_something [DEBUG] Processing module pom C:\data\timez\my.company.do_something\pom.xml [DEBUG] Processing module moduleOffset [DEBUG] Processing module outputDirectoryFile C:\data\timez\my.company.do_something [DEBUG] Processing fileset project moduleId my.company.do_something [DEBUG] Processing fileset project pom C:\data\timez\my.company.do_something\pom.xml [DEBUG] Processing fileset project moduleOffset [DEBUG] Processing fileset project outputDirectoryFile C:\data\timez\my.company.do_something [DEBUG] Processing fileset project basedirPom C:\data\timez\pom.xml [DEBUG] Processing pom C:\data\timez\my.company.do_something\pom.xml with parent C:\data\timez\pom.xml [DEBUG] Processing template archetype-resources/pom.xml [DEBUG] Merging into C:\data\timez\my.company.do_something\pom.xml [DEBUG] Adding module my.company.do_something [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 48.370s [INFO] Finished at: Wed Nov 16 14:38:40 IST 2011 [INFO] Final Memory: 7M/247M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.1:generate (default-cli) on project new-plugin-project-archetype: org.apache.maven.archetype.exception.InvalidPackaging: Unable to add module to the current project as it is not of packaging type 'pom' -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.1:generate (default-cli) on project new-plugin-project-archetype: org.apache.maven.archetype.exception.InvalidPackaging: Unable to add module to the current project as it is not of packaging type 'pom' at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoFailureException: org.apache.maven.archetype.exception.InvalidPackaging: Unable to add module to the current project as it is not of packaging type 'pom' at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:211) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

anktrive commented 12 years ago

Apologies for bold letters..

timezra commented 12 years ago

Interesting. Thanks for the trace. It looks like you got quite a bit farther. Would it be possible for you to blow away your local maven repository (C:\Users\your_username.m2\repository)? Or at least to remove the timezra and org\apache\maven\plugins\maven-archetype-plugin directories under there. Also, are you generating the project in a clean directory? I just tried generating from the archetype on a clean Win7 box with Maven 3.0.3, and it worked without a problem. Unfortunately, I don't have access to a WinXP machine, but I don't believe that there should be much difference between the two.

Thanks for your help in troubleshooting, ---Tim---

On Wed, Nov 16, 2011 at 1:13 AM, anktrive < reply@reply.github.com

wrote:

Apologies for bold letters..


Reply to this email directly or view it on GitHub:

https://github.com/timezra/tycho_new_plugin_project/issues/1#issuecomment-2757376

http://timezra.blogspot.com

timezra commented 12 years ago

Waiting for response to previous question.... This issue will be closed in a week if no response is given.

anktrive commented 12 years ago

Hi Tim... Sorry for the delayed response... Actually I tried an alternative solution(http://zeroturnaround.com/articles/building-eclipse-plug-ins-with-maven-3-and-tycho/) which worked for me and I have not tried this solution again. I think we can close the issue and reopen if required at a later point. Regards, Ankur