You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Eric R. Green (JIRA)" <ji...@apache.org> on 2018/07/11 03:52:00 UTC

[jira] [Comment Edited] (ARCHETYPE-311) Basedir property in archetype:generate cannot be overriden

    [ https://issues.apache.org/jira/browse/ARCHETYPE-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16539525#comment-16539525 ] 

Eric R. Green edited comment on ARCHETYPE-311 at 7/11/18 3:51 AM:
------------------------------------------------------------------

[~rfscholte] please forgive me, I have been a Java developer for over sixteen years, but I'm still a bit new to maven plugin development. By PR, do you mean "plugin registry"? If so, can you point me to the appropriate documentation for what I'd need to do with regard to this?


was (Author: ericgreen86):
[~rfscholte] please forgive me, but I have been a Java developer for over sixteen years, but I'm still a bit new to maven plugin development. By PR, do you mean "plugin registry"? If so, can you point me to the appropriate documentation for what I'd need to do with regard to this?

> Basedir property in archetype:generate cannot be overriden
> ----------------------------------------------------------
>
>                 Key: ARCHETYPE-311
>                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-311
>             Project: Maven Archetype
>          Issue Type: Bug
>         Environment: Windows XP, maven 2.2.0
>            Reporter: Samuli Saarinen
>            Priority: Major
>         Attachments: patch.txt
>
>
> Following is the output when trying to execute archetype:generate using alternative directory for basedir
> {noformat}
> 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] ------------------------------------------------------------------------
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)