I have a problem with maven 3 running on Windows7 64 bit. When I execute maven eclipse: eclipse (I use maven-eclipse-plugin 2.8), maven does not create any configuration. I just get the following log:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building sesame-connector
[INFO] task-segment: [eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse {execution: default-cli}]
[INFO] Not running eclipse plugin goal for pom project
[INFO] Using Eclipse Workspace: C:\workspace
[WARNING] Workspace defines a VM that does not contain a valid jre/lib/rt.jar: C
:\Program Files\Java\jre6
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAIN
ER
My eclipse plugin configuration looks fine, so I really don't understand why it doesn't work:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugins>
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
<version>2.8</version>
</plugin>
</plugins>
Does anyone experience this behavior?
source
share