Source does not compile when the package name contains a - sign.
----------------------------------------------------------------
Key: MNG-1675
URL: http://jira.codehaus.org/browse/MNG-1675
Project: Maven 2
Type: Bug
Versions: 2.0
Environment: Windows XP SP1 java version "1.4.2_05"
Reporter: Luc Carpentier
I tried the "getting started" path for maven and found out that the App.java
file does not compile when the package name contains a - sign.
This is strange, since internet addesses can contains this sign, and I found no
rules against this sign in the java naming conventions.
In the section:
How do I make my first Maven project?
a new project is created with:
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
In the groupId, i specified a - sign in the domain name (since my domain name
contains this sign).
When I tried to compile with mvn compile, I get the error:
.....app\App.java:[1,14] ';' expected
This does not happen when I remove the - sign in the groupId
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]