[ 
https://issues.apache.org/jira/browse/FELIX-4952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Pauls resolved FELIX-4952.
-------------------------------
       Resolution: Fixed
    Fix Version/s: connect-0.2.0

I added the sniffer plugin to the pom and fixed the two violations in 
configuration java15 version1.0. 

Please close this issue if it works for you with java5 now (can't test this atm 
- don't have java5 around anymore apparently).

> Connect fails to build on Java 1.5
> ----------------------------------
>
>                 Key: FELIX-4952
>                 URL: https://issues.apache.org/jira/browse/FELIX-4952
>             Project: Felix
>          Issue Type: Bug
>          Components: Connect
>            Reporter: Neil Bartlett
>            Assignee: Karl Pauls
>            Priority: Critical
>             Fix For: connect-0.2.0
>
>
> The maven animal sniffer plugin reports the following API violations:
> {noformat}
> [ERROR] 
> /Users/nbartlett/Projects/felix-svn/connect/src/main/java/org/apache/felix/connect/PojoSR.java:107:
>  Undefined reference: java.util.Enumeration 
> java.util.Collections.emptyEnumeration()
> [ERROR] 
> /Users/nbartlett/Projects/felix-svn/connect/src/main/java/org/apache/felix/connect/URLRevision.java:53:
>  Undefined reference: java.util.Enumeration 
> java.util.Collections.emptyEnumeration()
> {noformat}
> Note that the {{Collections.emptyEnumeration()}} method is only available in 
> Java 1.7+.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to