[
https://issues.apache.org/jira/browse/ARIES-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13063948#comment-13063948
]
John Ross commented on ARIES-708:
---------------------------------
Within the util pom, I changed the parent back to java5-parent. Within the
java5-parent pom, I changed the source from 1.5 to 1.6. This results in no
compile errors on the util project.
Within the util project, I wrote a quick test class that used
Properties.store(Writer, String), which is new to 1.6. Because I'm using a 1.6
compiler, there were no workspace indications that anything was wrong. However,
when I performed a maven build with goal install, it errored out with
[ERROR] Undefined reference:
java/util/Properties.store(Ljava/io/Writer;Ljava/lang/String;)V in
C:\cygwin\home\[email protected]\aries\util\target\classes\org\apache\aries\util\temp\Test.class
[WARNING] Rule 0: org.codehaus.mojo.animal_sniffer.enforcer.CheckSignatureRule
failed with message:
Signature errors found. Verify them and put @IgnoreJRERequirement on them.
So everything looks good as far as I can see. Without objection, I'll commit
the changes.
> org.apache.aries.util pom should point to java6-parent, not java5-parent
> ------------------------------------------------------------------------
>
> Key: ARIES-708
> URL: https://issues.apache.org/jira/browse/ARIES-708
> Project: Aries
> Issue Type: Bug
> Components: Util
> Affects Versions: 0.4
> Reporter: John Ross
> Assignee: John Ross
> Fix For: 0.4
>
>
> Pulled in org.apache.aries.util using m2e and received a bunch of errors
> about the @Override annotation use on implemented interface methods. Parent
> should be java6-parent.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira