]
Galder Zamarreño commented on AS7-2343:
---------------------------------------
It's marked as optional btw:
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: