[jboss-jira] [JBoss JIRA] (AS7-2007) Testsuite tasks (tracking)
John Casey (Commented) (JIRA)
jira-events at lists.jboss.org
Tue Dec 20 17:08:09 EST 2011
[ https://issues.jboss.org/browse/AS7-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652407#comment-12652407 ]
John Casey commented on AS7-2007:
---------------------------------
I've written a plugin called org.commonjava.maven.plugins:directory-maven-plugin that has goals:
- execution-root = Resolves to the directory where maven was invoked
- directory-of = uses a <project/> configuration with groupId and artifactId to find another project in the current session, and returns its basedir
- highest-basedir = traverses the parent hierarchies of all current projects, up until it finds a parent that has been resolved instead of loaded locally. Then, it sorts these basedir paths and returns the one closest to the filesystem root. If the top two hits (highest results) are not nested within one another, it will fail.
I'd expect you to use something like these to pin down a particular project basedir reference, and inject it consistently into each project in the session. It may be that you actually need something like a combination of the last two, to reference a particular parent project that was loaded from disk (but may not be in the current session per se). If so, that's another easy one to write.
The plugin is here:
http://github.com/jdcasey/directory-maven-plugin
You can take a look at the README.md for more information.
> Testsuite tasks (tracking)
> --------------------------
>
> Key: AS7-2007
> URL: https://issues.jboss.org/browse/AS7-2007
> Project: Application Server 7
> Issue Type: Task
> Components: Test Suite
> Reporter: Ondrej Zizka
> Assignee: Ondrej Zizka
> Fix For: 7.1.0.Final
>
>
> Arquillian tasks affecting the testsuite: https://docspace.corp.redhat.com/docs/DOC-71831
> Maven wishes for christmas:
> * http://jira.codehaus.org/browse/SUREFIRE-803
> * http://jira.codehaus.org/browse/SUREFIRE-806
> * http://jira.codehaus.org/browse/SUREFIRE-808 or
> * http://jira.codehaus.org/browse/SUREFIRE-809
> * http://jira.codehaus.org/browse/MNG-5218 - ${basedir} in a property is re-resolved for each submodule; We need to have it optionally fixed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list