[
http://jira.codehaus.org/browse/ARCHETYPE-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raphaël Piéroni closed ARCHETYPE-229.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.0-alpha-5
Appled since revision 764216
> Do not use hardcoded path to the build directory in create-from-project goal
> ----------------------------------------------------------------------------
>
> Key: ARCHETYPE-229
> URL: http://jira.codehaus.org/browse/ARCHETYPE-229
> Project: Maven Archetype
> Issue Type: Improvement
> Components: Creator
> Affects Versions: 2.0-alpha-4
> Reporter: Florent Robineau
> Priority: Trivial
> Fix For: 2.0-alpha-5
>
>
> When using mvn archetype:create-from-project, the archetype is generated in
> target/generated-sources/archetype irrespective of what the project's
> specified build directory is.
> Fix should be trivial: instead of using "${basedir}/target" as the expression
> for outputDirectory in
> org.apache.maven.archetype.mojos.CreateArchetypeFromProjectMojo (line 142 on
> the current version in svn), use "${project.build.directory}".
--
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