You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 119 Next »

  • Added by [Kapil Garg], last edited by [Kapil Garg] on Mar 21, 2011  ([view change|../../../../../../../../../pages/diffpages.action?pageId=2687533&originalId=2687538])
    [|../../../../../../../../../display/KB/Getting+Error+while+running+creatplugin.bat#page-metadata-start]

C:\jogetSourceCode\jogetworkflow.git\wflow-plugin-archetype>create-plugin.bat  com.a
rtisol.plugin.test MyPlugin
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ------------------------------------------------------------------------
[INFO] Building wflow-plugin-archetype
[INFO]    task-segment: [archetype:create] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [archetype:create

Unknown macro:

Unknown macro: {execution}

]
[WARNING] This goal is deprecated. Please use mvn archetype:generate instead
[INFO] Defaulting package to group ID: com.artisol.plugin.test
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Old (1.x) Archetype: wfl
ow-plugin-archetype:2.0-SNAPSHOT
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.artisol.plugin.test
[INFO] Parameter: packageName, Value: com.artisol.plugin.test
[INFO] Parameter: package, Value: com.artisol.plugin.test
[INFO] Parameter: artifactId, Value: MyPlugin
[INFO] Parameter: basedir, Value: C:\jogetSourceCode\jogetworkflow.git\wflow-plugin-
archetype
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error creating from archetype
Embedded error: Unable to add module to the current project as it is not of packagin
g type 'pom'
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Mar 21 02:44:39 CET 2011
[INFO] Final Memory: 11M/109M
[INFO] ------------------------------------------------------------------------
C:\jogetSourceCode\jogetworkflow.git\wflow-plugin-archetype>create-plugin.bat  com.a

rtisol.plugin.test MyPlugin

[INFO] Scanning for projects...

[INFO] Searching repository for plugin with prefix: 'archetype'.

[INFO] ------------------------------------------------------------------------

[INFO] Building wflow-plugin-archetype

[INFO]    task-segment: [archetype:create] (aggregator-style)

[INFO] ------------------------------------------------------------------------

[INFO] [archetype:create

Unknown macro:

]

[WARNING] This goal is deprecated. Please use mvn archetype:generate instead

[INFO] Defaulting package to group ID: com.artisol.plugin.test

[INFO] ----------------------------------------------------------------------------

[INFO] Using following parameters for creating project from Old (1.x) Archetype: wfl

ow-plugin-archetype:2.0-SNAPSHOT

[INFO] ----------------------------------------------------------------------------

[INFO] Parameter: groupId, Value: com.artisol.plugin.test

[INFO] Parameter: packageName, Value: com.artisol.plugin.test

[INFO] Parameter: package, Value: com.artisol.plugin.test

[INFO] Parameter: artifactId, Value: MyPlugin

[INFO] Parameter: basedir, Value: C:\jogetSourceCode\jogetworkflow.git\wflow-plugin-

archetype

[INFO] Parameter: version, Value: 1.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] Error creating from archetype

Embedded error: Unable to add module to the current project as it is not of packagin

g type 'pom'

[INFO] ------------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 2 seconds

[INFO] Finished at: Mon Mar 21 02:44:39 CET 2011

[INFO] Final Memory: 11M/109M

[INFO] ------------------------------------------------------------------------

When I use mvn:generate:archtype as below, I get following errror

C:\jogetSourceCode\jogetworkflow.git\wflow-plugin-archetype>mvn archtype:generate
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archtype'.
[INFO] artifact org.apache.maven.plugins:maven-archtype-plugin: checking for updates
 from central
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-archtype-plugin' does not exist or
 no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Mar 21 03:05:46 CET 2011
C:\jogetSourceCode\jogetworkflow.git\wflow-plugin-archetype>mvn archtype:generate

[INFO] Scanning for projects...

[INFO] Searching repository for plugin with prefix: 'archtype'.

[INFO] artifact org.apache.maven.plugins:maven-archtype-plugin: checking for updates

 from central

[INFO] ------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] The plugin 'org.apache.maven.plugins:maven-archtype-plugin' does not exist or

 no valid version could be found

[INFO] ------------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1 second

[INFO] Finished at: Mon Mar 21 03:05:46 CET 2011

  • No labels