[
https://issues.apache.org/jira/browse/FELIX-4952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14618615#comment-14618615
]
Carsten Ziegeler commented on FELIX-4952:
-----------------------------------------
[~karlpauls] You could use the new parent pom versoin 3 which has everything
configured for the animals sniffer plugin etc.
> 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)