maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Peters <sp_...@yahoo.com>
Subject Compilation error on Maven getting started guide
Date Mon, 01 Apr 2013 17:57:28 GMT
Hi

I tried to follow the Maven getting started guide, and ran into problems when first trying
to compile the generated project.
I generated the project with:
> mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.testing
-DartifactId=maven-intro


using the defaults.

mvn compile gives me this error:
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project maven-intro: Compilation failure
/.../maven-intro/src/main/java/com/testing/App.java:[1,13] ';' expected

I run Mac OS X 10.7.5.

> envĀ 
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
LANG=de_CH.UTF-8

> java -version
java version "1.6.0_43"
Java(TM) SE Runtime Environment (build 1.6.0_43-b01-447-11M4203)
Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode)

I guess it's an encoding problem. But how to quickly make it right?
Thanks!

Simon
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message