Problem with sandbox beehive-compiler-apt when using default maven repository
location on Windows
-------------------------------------------------------------------------------------------------
Key: BEEHIVE-1161
URL: http://issues.apache.org/jira/browse/BEEHIVE-1161
Project: Beehive
Issue Type: Bug
Affects Versions: 1.0.2
Environment: Windows XP, maven 2.0.4
Reporter: Niels Ull Harremoës
When having the maven repository in its default location ( e.g. C:\Documents
and Settings\nuh\.m2\repository), the plugin fails with the error:
[INFO] Compilation failure
Failure executing javac, but could not parse the error:
If the maven repository is configured to be elsewhere, e.g. c:\program
files\maven-2.0.4\repository, it works fine??
Here's the relevant part of the pom:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerId>apt</compilerId>
<source>1.5</source>
<target>1.5</target>
<fork>true</fork>
<verbose>true</verbose>
<compilerArguments>
<sourcepath>src/main/java;src/test/java</sourcepath>
<s>target/srcgen</s>
<APTweb.content.root>src/main/webapp</APTweb.content.root>
</compilerArguments>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.beehive</groupId>
<artifactId>beehive-compiler-apt</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
BTW, this was really painful to find - it worked great for some developers, and
failed with no error messages for the rest.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira