You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by "Urs Keller (Created) (JIRA)" <ji...@apache.org> on 2012/02/13 20:40:59 UTC
[jira] [Created] (NPANDAY-542) Support for multiple source dirs
Support for multiple source dirs
--------------------------------
Key: NPANDAY-542
URL: https://issues.apache.org/jira/browse/NPANDAY-542
Project: NPanday
Issue Type: Improvement
Components: Maven Plugins
Affects Versions: Backlog
Reporter: Urs Keller
If another maven plugin generates sources for other plugins to process this is not picked up by NPanday.
Typically we have a plugin adding to the sources with the following code:
/**
* The source directories containing the sources to be compiled.
*
* @parameter expression="${project.compileSourceRoots}"
* @required
* @readonly
*/
private List<String> compileSourceRoots;
...
compileSourceRoots.add(getTargetDir().getAbsolutePath());
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (NPANDAY-542) Support for multiple source dirs
Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Corneliussen resolved NPANDAY-542.
---------------------------------------
Resolution: Fixed
> Support for multiple source dirs
> --------------------------------
>
> Key: NPANDAY-542
> URL: https://issues.apache.org/jira/browse/NPANDAY-542
> Project: NPanday
> Issue Type: Improvement
> Components: Maven Plugins
> Affects Versions: 1.4-incubating
> Reporter: Urs Keller
> Assignee: Lars Corneliussen
> Fix For: 1.5.0-incubating
>
>
> If another maven plugin generates sources for other plugins to process this is not picked up by NPanday.
> Typically we have a plugin adding to the sources with the following code:
> /**
> * The source directories containing the sources to be compiled.
> *
> * @parameter expression="${project.compileSourceRoots}"
> * @required
> * @readonly
> */
> private List<String> compileSourceRoots;
> ...
> compileSourceRoots.add(getTargetDir().getAbsolutePath());
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (NPANDAY-542) Support for multiple source dirs
Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269763#comment-13269763 ]
Lars Corneliussen commented on NPANDAY-542:
-------------------------------------------
I'll do this along with NPANDAY-418 and NPANDAY-210
> Support for multiple source dirs
> --------------------------------
>
> Key: NPANDAY-542
> URL: https://issues.apache.org/jira/browse/NPANDAY-542
> Project: NPanday
> Issue Type: Improvement
> Components: Maven Plugins
> Affects Versions: Backlog
> Reporter: Urs Keller
> Assignee: Lars Corneliussen
>
> If another maven plugin generates sources for other plugins to process this is not picked up by NPanday.
> Typically we have a plugin adding to the sources with the following code:
> /**
> * The source directories containing the sources to be compiled.
> *
> * @parameter expression="${project.compileSourceRoots}"
> * @required
> * @readonly
> */
> private List<String> compileSourceRoots;
> ...
> compileSourceRoots.add(getTargetDir().getAbsolutePath());
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (NPANDAY-542) Support for multiple source dirs
Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271174#comment-13271174 ]
Lars Corneliussen commented on NPANDAY-542:
-------------------------------------------
integration tests would be fine - but. stop. no excuses! :-)
> Support for multiple source dirs
> --------------------------------
>
> Key: NPANDAY-542
> URL: https://issues.apache.org/jira/browse/NPANDAY-542
> Project: NPanday
> Issue Type: Improvement
> Components: Maven Plugins
> Affects Versions: 1.4-incubating
> Reporter: Urs Keller
> Assignee: Lars Corneliussen
> Fix For: 1.5.0-incubating
>
>
> If another maven plugin generates sources for other plugins to process this is not picked up by NPanday.
> Typically we have a plugin adding to the sources with the following code:
> /**
> * The source directories containing the sources to be compiled.
> *
> * @parameter expression="${project.compileSourceRoots}"
> * @required
> * @readonly
> */
> private List<String> compileSourceRoots;
> ...
> compileSourceRoots.add(getTargetDir().getAbsolutePath());
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (NPANDAY-542) Support for multiple source dirs
Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Corneliussen reassigned NPANDAY-542:
-----------------------------------------
Assignee: Lars Corneliussen
> Support for multiple source dirs
> --------------------------------
>
> Key: NPANDAY-542
> URL: https://issues.apache.org/jira/browse/NPANDAY-542
> Project: NPanday
> Issue Type: Improvement
> Components: Maven Plugins
> Affects Versions: Backlog
> Reporter: Urs Keller
> Assignee: Lars Corneliussen
>
> If another maven plugin generates sources for other plugins to process this is not picked up by NPanday.
> Typically we have a plugin adding to the sources with the following code:
> /**
> * The source directories containing the sources to be compiled.
> *
> * @parameter expression="${project.compileSourceRoots}"
> * @required
> * @readonly
> */
> private List<String> compileSourceRoots;
> ...
> compileSourceRoots.add(getTargetDir().getAbsolutePath());
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (NPANDAY-542) Support for multiple source dirs
Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Corneliussen updated NPANDAY-542:
--------------------------------------
Affects Version/s: (was: Backlog)
1.4-incubating
Fix Version/s: 1.5.0-incubating
> Support for multiple source dirs
> --------------------------------
>
> Key: NPANDAY-542
> URL: https://issues.apache.org/jira/browse/NPANDAY-542
> Project: NPanday
> Issue Type: Improvement
> Components: Maven Plugins
> Affects Versions: 1.4-incubating
> Reporter: Urs Keller
> Assignee: Lars Corneliussen
> Fix For: 1.5.0-incubating
>
>
> If another maven plugin generates sources for other plugins to process this is not picked up by NPanday.
> Typically we have a plugin adding to the sources with the following code:
> /**
> * The source directories containing the sources to be compiled.
> *
> * @parameter expression="${project.compileSourceRoots}"
> * @required
> * @readonly
> */
> private List<String> compileSourceRoots;
> ...
> compileSourceRoots.add(getTargetDir().getAbsolutePath());
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (NPANDAY-542) Support for multiple source dirs
Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271172#comment-13271172 ]
Lars Corneliussen commented on NPANDAY-542:
-------------------------------------------
excludes/includes will now only be used for the MAIN source folders (build.sourceDirectory/testSourceDirectory)
From additional folders, all files (matching the compile language) will be included.
Is that a good approach, Urs?
> Support for multiple source dirs
> --------------------------------
>
> Key: NPANDAY-542
> URL: https://issues.apache.org/jira/browse/NPANDAY-542
> Project: NPanday
> Issue Type: Improvement
> Components: Maven Plugins
> Affects Versions: 1.4-incubating
> Reporter: Urs Keller
> Assignee: Lars Corneliussen
> Fix For: 1.5.0-incubating
>
>
> If another maven plugin generates sources for other plugins to process this is not picked up by NPanday.
> Typically we have a plugin adding to the sources with the following code:
> /**
> * The source directories containing the sources to be compiled.
> *
> * @parameter expression="${project.compileSourceRoots}"
> * @required
> * @readonly
> */
> private List<String> compileSourceRoots;
> ...
> compileSourceRoots.add(getTargetDir().getAbsolutePath());
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira