[
https://issues.jboss.org/browse/AS7-2343?page=com.atlassian.jira.plugin.s...
]
Paul Gier closed AS7-2343.
--------------------------
Fix Version/s: No Release
(was: 7.1.1.Final)
Resolution: Rejected
I'm going to close this issue, since this isn't really a bug. The rhq jar is
needed at build time but not at run time.
Remove dependency on rhq plugin annotations
-------------------------------------------
Key: AS7-2343
URL:
https://issues.jboss.org/browse/AS7-2343
Project: Application Server 7
Issue Type: Enhancement
Components: Build System, Clustering
Reporter: Paul Gier
Fix For: No Release
The AS 7 build currently pulls in a transitive dependency on the artifact
org.rhq.helpers:rhq-pluginAnnotations:jar:3.0.1.
This jar is not included in the AS zip, and the dependency should be removed from the
build. However, just excluding this dependency causes a compile error in the infinispan
module, so some of the source probably needs to be changed.
{quote}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project
jboss-as-clustering-infinispan: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR]
org/infinispan/manager/DefaultCacheManager.class(org/infinispan/manager:DefaultCacheManager.class):
warning: Cannot find annotation method 'displayName()' in type
'org.rhq.helpers.pluginAnnotations.agent.Metric': class file for
org.rhq.helpers.pluginAnnotations.agent.Metric not found
[ERROR]
org/infinispan/manager/DefaultCacheManager.class(org/infinispan/manager:DefaultCacheManager.class):
warning: Cannot find annotation method 'dataType()' in type
'org.rhq.helpers.pluginAnnotations.agent.Metric'
[ERROR] An exception has occurred in the compiler (1.6.0_20). Please file a bug at the
Java Developer Connection (
http://java.sun.com/webapps/bugreport) after checking the Bug
Parade for duplicates. Include your program and the following diagnostic in your report.
Thank you.
[ERROR] com.sun.tools.javac.code.Symbol$CompletionFailure: class file for
org.rhq.helpers.pluginAnnotations.agent.DataType not found
{quote}
--
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