Hi,
I'm seeing some strange behavior with Maven 3.0.5 on Ubuntu.
BACKGROUND
=====================
When I run `mvn test` the console prints:
`[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?`
If I then open the project in Eclipse and run the test it runs fine. Subsequently if I close Eclipse and run the test with `mvn test` I get `BUILD SUCCESS`.
ANALYSIS
=====================
I run `mvn test` on the `test2` project, that was opened with eclipse, and I get -> `BUILD SUCCESS`.
I then create a `test3` project, copy the pom and the src directory from test2 to test 3. When running `mvn test` on the `test3` project I get the error again. I included the result from my console below:
ole [ at ] MKI:~/test2$ mvn test
Warning: JAVA_HOME environment variable is not set.
[INFO] Scanning for projects...
[INFO]
[INFO]
I'm seeing some strange behavior with Maven 3.0.5 on Ubuntu.
BACKGROUND
=====================
When I run `mvn test` the console prints:
`[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?`
If I then open the project in Eclipse and run the test it runs fine. Subsequently if I close Eclipse and run the test with `mvn test` I get `BUILD SUCCESS`.
ANALYSIS
=====================
I run `mvn test` on the `test2` project, that was opened with eclipse, and I get -> `BUILD SUCCESS`.
I then create a `test3` project, copy the pom and the src directory from test2 to test 3. When running `mvn test` on the `test3` project I get the error again. I included the result from my console below:
ole [ at ] MKI:~/test2$ mvn test
Warning: JAVA_HOME environment variable is not set.
[INFO] Scanning for projects...
[INFO]
[INFO]