[
http://jira.codehaus.org/browse/ARCHETYPE-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy closed ARCHETYPE-17.
----------------------------------
Resolution: Duplicate
duplicate of ARCHETYPE-4
> Validation of package: Source does not compile when the package name contains
> a - sign.
> ---------------------------------------------------------------------------------------
>
> Key: ARCHETYPE-17
> URL: http://jira.codehaus.org/browse/ARCHETYPE-17
> Project: Maven Archetype
> Issue Type: Improvement
> 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