[jbossts-issues] [JBoss JIRA] (JBTM-1772) Cannot build with emma as dependency on adinn.jar?

Tom Jenkinson (JIRA) jira-events at lists.jboss.org
Mon Jun 10 07:24:54 EDT 2013

    [ https://issues.jboss.org/browse/JBTM-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780505#comment-12780505 ] 

Tom Jenkinson commented on JBTM-1772:

Hi Mark,

It is automated for a normal build, you were attempting a partial build, i.e. a specific module.

So for example:

./build.sh -PcodeCoverage

That would automatically have done everything you needed and you should not have seen an error.

But as you did: 
./build.sh clean install -PcodeCoverage -pl STM
i.e. a specific module, then the build can't do the install of that module for you so you have to install the module by hand (once).
> Cannot build with emma as dependency on adinn.jar?
> --------------------------------------------------
>                 Key: JBTM-1772
>                 URL: https://issues.jboss.org/browse/JBTM-1772
>             Project: JBoss Transaction Manager
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Build System, Testing
>    Affects Versions: 5.0.0.M4
>         Environment: Mac OS 10.7
>            Reporter: Mark Little
>            Assignee: Tom Jenkinson
>            Priority: Blocker
> When trying to build STM with emma as per 1766 instructions, I get the following build time error:
> /Users/marklittle/github/narayana/tools/maven/bin/mvn -s tools/maven/conf/settings.xml -Dorson.jar.location=/Users/marklittle/github/narayana/ext/ -Demma.jar.location=/Users/marklittle/github/narayana/ext/emma.jar clean install   -PcodeCoverage -pl STM
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Narayana: STM 5.0.0.M4-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ core ---
> [INFO] 
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ core ---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /Users/marklittle/github/narayana/STM/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ core ---
> [INFO] Compiling 40 source files to /Users/marklittle/github/narayana/STM/target/classes
> [INFO] 
> [INFO] --- emma-maven-plugin:1.0-alpha-3:instrument (default) @ core ---
> Downloading: http://repository.jboss.org/nexus/content/groups/public/emma/emma/2.0.12224-adinn/emma-2.0.12224-adinn.pom
> Downloading: http://repo.maven.apache.org/maven2/emma/emma/2.0.12224-adinn/emma-2.0.12224-adinn.pom
> [WARNING] The POM for emma:emma:jar:2.0.12224-adinn is missing, no dependency information available
> Downloading: http://repository.jboss.org/nexus/content/groups/public/emma/emma/2.0.12224-adinn/emma-2.0.12224-adinn.jar
> Downloading: http://repo.maven.apache.org/maven2/emma/emma/2.0.12224-adinn/emma-2.0.12224-adinn.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4.095s
> [INFO] Finished at: Sun Jun 09 15:31:51 BST 2013
> [INFO] Final Memory: 23M/207M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:emma-maven-plugin:1.0-alpha-3:instrument (default) on project core: Execution default of goal org.codehaus.mojo:emma-maven-plugin:1.0-alpha-3:instrument failed: Plugin org.codehaus.mojo:emma-maven-plugin:1.0-alpha-3 or one of its dependencies could not be resolved: Could not find artifact emma:emma:jar:2.0.12224-adinn in jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/) -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

More information about the jbossts-issues mailing list