You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Samuli Saarinen (JIRA)" <ji...@codehaus.org> on 2010/04/16 10:06:51 UTC
[jira] Created: (ARCHETYPE-297) Basedir property in
archetype:generate cannot be overriden
Basedir property in archetype:generate cannot be overriden
----------------------------------------------------------
Key: ARCHETYPE-297
URL: http://jira.codehaus.org/browse/ARCHETYPE-297
Project: Maven Archetype
Issue Type: Bug
Components: Plugin
Affects Versions: 2.0-alpha-4
Environment: Windows XP, maven 2.2.0
Reporter: Samuli Saarinen
Following is the output when trying to execute archetype:generate using alternative directory for basedir
D:\tmp>mvn -o -npr archetype:generate *-Dbasedir=d:/foo*
....
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating OldArchetype: maven-archetype-quickstart:RELEASE
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: test
[INFO] Parameter: packageName, Value: test
[INFO] Parameter: package, Value: test
[INFO] Parameter: artifactId, Value: test
[INFO] Parameter: basedir, Value: *D:\tmp*
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] ********************* End of debug info from resources from generated POM ***********************
[INFO] OldArchetype created in dir: D:\tmp\test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Fri Apr 16 10:53:06 EEST 2010
[INFO] Final Memory: 10M/19M
[INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (ARCHETYPE-297) Basedir property in
archetype:generate cannot be overriden
Posted by "Samuli Saarinen (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Samuli Saarinen updated ARCHETYPE-297:
--------------------------------------
Attachment: patch.txt
patch for the issue
> Basedir property in archetype:generate cannot be overriden
> ----------------------------------------------------------
>
> Key: ARCHETYPE-297
> URL: http://jira.codehaus.org/browse/ARCHETYPE-297
> Project: Maven Archetype
> Issue Type: Bug
> Components: Plugin
> Affects Versions: 2.0-alpha-4
> Environment: Windows XP, maven 2.2.0
> Reporter: Samuli Saarinen
> Attachments: patch.txt
>
>
> Following is the output when trying to execute archetype:generate using alternative directory for basedir
> D:\tmp>mvn -o -npr archetype:generate *-Dbasedir=d:/foo*
> ....
> [INFO] ----------------------------------------------------------------------------
> [INFO] Using following parameters for creating OldArchetype: maven-archetype-quickstart:RELEASE
> [INFO] ----------------------------------------------------------------------------
> [INFO] Parameter: groupId, Value: test
> [INFO] Parameter: packageName, Value: test
> [INFO] Parameter: package, Value: test
> [INFO] Parameter: artifactId, Value: test
> [INFO] Parameter: basedir, Value: *D:\tmp*
> [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> [INFO] ********************* End of debug info from resources from generated POM ***********************
> [INFO] OldArchetype created in dir: D:\tmp\test
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Fri Apr 16 10:53:06 EEST 2010
> [INFO] Final Memory: 10M/19M
> [INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (ARCHETYPE-311) Basedir property in archetype:generate
cannot be overriden
Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/ARCHETYPE-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318480#comment-318480 ]
Anders Hammar commented on ARCHETYPE-311:
-----------------------------------------
I can reproduce this with Maven 3.0.4 and version 2.2 of the plugin. It doesn't seem to be possible to override 'basedir'. Maybe renaming the param is the way to solve this?
> Basedir property in archetype:generate cannot be overriden
> ----------------------------------------------------------
>
> Key: ARCHETYPE-311
> URL: https://jira.codehaus.org/browse/ARCHETYPE-311
> Project: Maven Archetype
> Issue Type: Bug
> Environment: Windows XP, maven 2.2.0
> Reporter: Samuli Saarinen
> Attachments: patch.txt
>
>
> Following is the output when trying to execute archetype:generate using alternative directory for basedir
> D:\tmp>mvn -o -npr archetype:generate *-Dbasedir=d:/foo*
> ....
> [INFO] ----------------------------------------------------------------------------
> [INFO] Using following parameters for creating OldArchetype: maven-archetype-quickstart:RELEASE
> [INFO] ----------------------------------------------------------------------------
> [INFO] Parameter: groupId, Value: test
> [INFO] Parameter: packageName, Value: test
> [INFO] Parameter: package, Value: test
> [INFO] Parameter: artifactId, Value: test
> [INFO] Parameter: basedir, Value: *D:\tmp*
> [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> [INFO] ********************* End of debug info from resources from generated POM ***********************
> [INFO] OldArchetype created in dir: D:\tmp\test
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Fri Apr 16 10:53:06 EEST 2010
> [INFO] Final Memory: 10M/19M
> [INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Moved: (ARCHETYPE-311) Basedir property in
archetype:generate cannot be overriden
Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy moved MARCHETYPES-4 to ARCHETYPE-311:
---------------------------------------------------
Key: ARCHETYPE-311 (was: MARCHETYPES-4)
Project: Maven Archetype (was: Maven Archetype Bundles)
> Basedir property in archetype:generate cannot be overriden
> ----------------------------------------------------------
>
> Key: ARCHETYPE-311
> URL: http://jira.codehaus.org/browse/ARCHETYPE-311
> Project: Maven Archetype
> Issue Type: Bug
> Environment: Windows XP, maven 2.2.0
> Reporter: Samuli Saarinen
> Attachments: patch.txt
>
>
> Following is the output when trying to execute archetype:generate using alternative directory for basedir
> D:\tmp>mvn -o -npr archetype:generate *-Dbasedir=d:/foo*
> ....
> [INFO] ----------------------------------------------------------------------------
> [INFO] Using following parameters for creating OldArchetype: maven-archetype-quickstart:RELEASE
> [INFO] ----------------------------------------------------------------------------
> [INFO] Parameter: groupId, Value: test
> [INFO] Parameter: packageName, Value: test
> [INFO] Parameter: package, Value: test
> [INFO] Parameter: artifactId, Value: test
> [INFO] Parameter: basedir, Value: *D:\tmp*
> [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> [INFO] ********************* End of debug info from resources from generated POM ***********************
> [INFO] OldArchetype created in dir: D:\tmp\test
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Fri Apr 16 10:53:06 EEST 2010
> [INFO] Final Memory: 10M/19M
> [INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Moved: (MARCHETYPES-4) Basedir property in
archetype:generate cannot be overriden
Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MARCHETYPES-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy moved ARCHETYPE-297 to MARCHETYPES-4:
---------------------------------------------------
Component/s: (was: Plugin)
Affects Version/s: (was: 2.0-alpha-4)
Key: MARCHETYPES-4 (was: ARCHETYPE-297)
Project: Maven Archetype Bundles (was: Maven Archetype)
> Basedir property in archetype:generate cannot be overriden
> ----------------------------------------------------------
>
> Key: MARCHETYPES-4
> URL: http://jira.codehaus.org/browse/MARCHETYPES-4
> Project: Maven Archetype Bundles
> Issue Type: Bug
> Environment: Windows XP, maven 2.2.0
> Reporter: Samuli Saarinen
> Attachments: patch.txt
>
>
> Following is the output when trying to execute archetype:generate using alternative directory for basedir
> D:\tmp>mvn -o -npr archetype:generate *-Dbasedir=d:/foo*
> ....
> [INFO] ----------------------------------------------------------------------------
> [INFO] Using following parameters for creating OldArchetype: maven-archetype-quickstart:RELEASE
> [INFO] ----------------------------------------------------------------------------
> [INFO] Parameter: groupId, Value: test
> [INFO] Parameter: packageName, Value: test
> [INFO] Parameter: package, Value: test
> [INFO] Parameter: artifactId, Value: test
> [INFO] Parameter: basedir, Value: *D:\tmp*
> [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> [INFO] ********************* End of debug info from resources from generated POM ***********************
> [INFO] OldArchetype created in dir: D:\tmp\test
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Fri Apr 16 10:53:06 EEST 2010
> [INFO] Final Memory: 10M/19M
> [INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira