Michal Matloka created SHRINKRES-78:
---------------------------------------
Summary: Build under JDK 7 fails
Key: SHRINKRES-78
URL:
https://issues.jboss.org/browse/SHRINKRES-78
Project: ShrinkWrap Resolvers
Issue Type: Bug
Environment: jdk 7
Reporter: Michal Matloka
Assignee: Andrew Rubinger
{noformat}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project
shrinkwrap-resolver-api: Compilation failure: Compilation failure:
[ERROR] \Dev\JBoss\shrinkwrap
resolver\api\src\main\java\org\jboss\shrinkwrap\resolver\api\FormatStage.java:[67,18]
error: name clash: as(Class<InputStream>) and as(Class<File>) have the same
erasure
[ERROR] \Dev\JBoss\shrinkwrap
resolver\api\src\main\java\org\jboss\shrinkwrap\resolver\api\FormatStage.java:[81,16]
error: name clash: asSingle(Class<InputStream>) and asSingle(Class<File>) have
the same erasure
{noformat}
This article describes cause of this problem:
http://notatube.blogspot.com/2010/07/interesting-change-to-method-signatu...
Resoluion - API change?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira