[
https://issues.jboss.org/browse/AS7-2343?page=com.atlassian.jira.plugin.s...
]
Galder Zamarreño commented on AS7-2343:
---------------------------------------
Paul, I don't get what your problem is. Infinispan needs RHQ plugin annotations, so
ship it. That's what AS7 has been doing all along.
Btw, Ian Springer from the RHQ team is looking into the possibility of reducing the
retention policy of this annotation taking in account how the RHQ XML file is generated,
in order to see if the runtime dependency can be removed.
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
Assignee: Galder Zamarreño
Fix For: 7.1.0.CR1
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