Hi Simon, > 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
What does "cat maven-intro/src/main/java/com/testing/App.java" show? Is the file syntactically valid? Regards, Curtis On Mon, Apr 1, 2013 at 12:57 PM, Simon Peters <[email protected]> wrote: > 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
