You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/11/24 23:30:06 UTC

[jira] Moved: (ARCHETYPE-17) Source does not compile when the package name contains a - sign.

     [ http://jira.codehaus.org/browse/ARCHETYPE-17?page=all ]

Brett Porter moved MNG-1675 to ARCHETYPE-17:
--------------------------------------------

       Version:     (was: 2.0)
    Complexity:   (was: Intermediate)
    Issue Type: Improvement  (was: Bug)
           Key: ARCHETYPE-17  (was: MNG-1675)
       Project: Maven Archetype  (was: Maven 2)

> 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
>         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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org