[
https://issues.apache.org/jira/browse/FLEX-34849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14558497#comment-14558497
]
Christofer Dutz commented on FLEX-34849:
----------------------------------------
Ok ... if I disable the file-name filter I actually did find this ...
Well actually nothing seems to be missing, the tools jar seems to use the
"java.home" property. Actually this should work and I have never had problems
with it. Eventually something is wrong with your Eclipse setup. As in
http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide in the part
"Environment variables" you can see that "java.home" is automatically set ...
would be interesting to see what it is set to in your case. Eventually
http://www.avajava.com/tutorials/lessons/how-do-i-display-the-value-of-a-property.html
could help ...
If it's a real problem, I'd be happy to help fix ... I think the dependency is
only needed during compile time ... I think I had the problem of not being able
to set scope=system and scope=provided at the same time ... perhaps adding
optional=true to that dependency could be helpfull.
Chris
> addeding flex-messaging-core as a maven dependency gives a wrong dependency
> ----------------------------------------------------------------------------
>
> Key: FLEX-34849
> URL: https://issues.apache.org/jira/browse/FLEX-34849
> Project: Apache Flex
> Issue Type: Dependency upgrade
> Components: BlazeDS
> Affects Versions: BlazeDS 4.7
> Environment: eclipse luna, maven 3.3
> Reporter: Peter Bierman
> Priority: Minor
>
> When adding this dependency to my pom.xml inside elipse luna building a
> project which includes blazeds:
> <dependency>
> <groupId>org.apache.flex.blazeds</groupId>
> <artifactId>flex-messaging-common</artifactId>
> <version>4.7.0</version>
> </dependency>
> gives the following error:
> Description Resource Path Location Type
> Missing artifact com.sun:tools:jar:jdk-version pom.xml Maven
> Dependency Problem
> now the tools.jar is automaticcaly added through the jdk but it seems
> somewhere in the dependency list the text 'jdk-version' is still present
> instead of the real version number like 1.6, 1.7 or 1.8.
> I'm no maven expert but probably somewhere there are some missing curly
> brackets ({jdk-version}) or something which makes the text hard coded instead
> of evaluated.
> as a workaround I added the tools.jar to my local repository through the
> following command (from inside my jdk lib folder):
> c:\Program Files\Java\jdk1.8.0_45\lib>mvn install:install-file
> -DgroupId=com.sun
> -DartifactId=tools -Dpackaging=jar -Dversion=jdk-version -Dfile=tools.jar
> -Dgen
> eratePom=true
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)