| Summary: | Error parsing activemq-core pom | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Jason Bennett <jasonab> | ||||
| Component: | m2e | Assignee: | Project Inbox <m2e.core-inbox> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | igor | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Jason Bennett
This also occurs with org.mybatis:mybatis:jar:3.0.4. I believe this has been mentioned in the past as being caused by the ${} variable in dependency specifications.
I am unable to reproduce the problem using neither latest m2e from master nor official 0.12.1. Tried adding dependencies on both activemq:core 5.4.2 and org.mybatis:mybatis:jar:3.0.4 to a test project and both resolved without a problem. For the reference, here is my test pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>q</groupId> <artifactId>q</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging> <name>q</name> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.0.4</version> </dependency> <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-core</artifactId> <version>5.4.2</version> </dependency> </dependencies> </project> Anything else I need to do to reproduce the problem? Also, can you please attach your Eclipse installation configuration (Help->AboutEclipseSDK->InstallationDetails->Configuration)? Here is the debug log I'm seeing: 2/1/11 4:49:19 PM PST: [WARN] The POM for org.apache.activemq:activemq-core:jar:5.4.2 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model for org.apache.activemq:activemq-core:5.4.2 [ERROR] Failed to determine Java version for profile jdk1.4 @ 2/1/11 4:49:19 PM PST: [WARN] The POM for org.mybatis:mybatis:jar:3.0.4 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model for org.mybatis:mybatis:3.0.4 [ERROR] Failed to determine Java version for profile doclava @ org.mybatis:mybatis-parent:8 2/1/11 4:49:19 PM PST: [WARN] The POM for org.mybatis:mybatis-spring:jar:1.0.0 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model for org.mybatis:mybatis-spring:1.0.0 [ERROR] Failed to determine Java version for profile doclava @ org.mybatis:mybatis-parent:8 I normally see this when I access one of the dependency screens (e.g. Dependency Hierarchy). My Eclipse system info is huge - almost to the point where Mozilla chokes on it. Is there a particular section that's helpful? You can gzip the configuration and attach the .gz file. Since the problem may be related to JDK profile activation, what is exact version of JVM you are using and do you use JDK or JRE? Created attachment 188108 [details]
Reporter's eclipse configuration
(In reply to comment #4) > Since the problem may be related to JDK profile activation, what is exact > version of JVM you are using and do you use JDK or JRE? JDK 1.6.0_22 is used to start Eclipse. It's also configured as the default build VM. I am closing this issue until somebody can provide additional information that explains the problem or provides a patch. |