You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Esteban DUGUEPEROUX (JIRA)" <ji...@codehaus.org> on 2009/02/24 20:33:19 UTC

[jira] Created: (ARCHETYPE-228) site missing module in maven-archetype-j2ee-simple archetype plugin

site missing module in maven-archetype-j2ee-simple archetype plugin
-------------------------------------------------------------------

                 Key: ARCHETYPE-228
                 URL: http://jira.codehaus.org/browse/ARCHETYPE-228
             Project: Maven Archetype
          Issue Type: Bug
          Components: Generator
            Reporter: Esteban DUGUEPEROUX
            Priority: Minor


Hi,

When I create a j2ee-simple project from archetype n°10 the main pom.xml specify a site module but without site directory.
Then at each j2ee project creation I need to delete the relevant line in pom.xml.

Can we have a site directory generated or the relevant line in pom.xml deleted.

Regards.

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

       

[jira] Updated: (ARCHETYPE-228) site missing module in maven-archetype-j2ee-simple archetype plugin

Posted by "Matthew McCullough (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/ARCHETYPE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthew McCullough updated ARCHETYPE-228:
-----------------------------------------

    Attachment: ARCHETYPE-228-j2ee.diff

Adding back the j2ee sample as an archetype

> site missing module in maven-archetype-j2ee-simple archetype plugin
> -------------------------------------------------------------------
>
>                 Key: ARCHETYPE-228
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-228
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Generator
>            Reporter: Esteban DUGUEPEROUX
>            Priority: Minor
>         Attachments: ARCHETYPE-228-j2ee.diff, ARCHETYPE-228-part1.diff
>
>
> Hi,
> When I create a j2ee-simple project from archetype n°10 the main pom.xml specify a site module but without site directory.
> Then at each j2ee project creation I need to delete the relevant line in pom.xml.
> Can we have a site directory generated or the relevant line in pom.xml deleted.
> Regards.

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

       

[jira] Commented: (ARCHETYPE-228) site missing module in maven-archetype-j2ee-simple archetype plugin

Posted by "Matthew McCullough (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/ARCHETYPE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209355#action_209355 ] 

Matthew McCullough commented on ARCHETYPE-228:
----------------------------------------------

Looks like the samples that were brought over, but not active (that I activated) are not quite set up as archetypes.  They need a wrapper project above them that is of type <packaging>maven-archetype</packaging>

> site missing module in maven-archetype-j2ee-simple archetype plugin
> -------------------------------------------------------------------
>
>                 Key: ARCHETYPE-228
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-228
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Generator
>            Reporter: Esteban DUGUEPEROUX
>            Priority: Minor
>         Attachments: ARCHETYPE-228-j2ee.diff, ARCHETYPE-228-part1.diff
>
>
> Hi,
> When I create a j2ee-simple project from archetype n°10 the main pom.xml specify a site module but without site directory.
> Then at each j2ee project creation I need to delete the relevant line in pom.xml.
> Can we have a site directory generated or the relevant line in pom.xml deleted.
> Regards.

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

       

[jira] Updated: (MARCHETYPES-15) site missing module in maven-archetype-j2ee-simple archetype plugin

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MARCHETYPES-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MARCHETYPES-15:
-------------------------------------

      Component/s: Maven Simple J2EE Archetype
    Fix Version/s: 1.1

> site missing module in maven-archetype-j2ee-simple archetype plugin
> -------------------------------------------------------------------
>
>                 Key: MARCHETYPES-15
>                 URL: http://jira.codehaus.org/browse/MARCHETYPES-15
>             Project: Maven Archetype Bundles
>          Issue Type: Bug
>          Components: Maven Simple J2EE Archetype
>            Reporter: Esteban DUGUEPEROUX
>            Priority: Minor
>             Fix For: 1.1
>
>         Attachments: ARCHETYPE-228-j2ee.diff, ARCHETYPE-228-part1.diff
>
>
> Hi,
> When I create a j2ee-simple project from archetype n°10 the main pom.xml specify a site module but without site directory.
> Then at each j2ee project creation I need to delete the relevant line in pom.xml.
> Can we have a site directory generated or the relevant line in pom.xml deleted.
> Regards.

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

       

[jira] Commented: (ARCHETYPE-228) site missing module in maven-archetype-j2ee-simple archetype plugin

Posted by "Esteban DUGUEPEROUX (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/ARCHETYPE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=166907#action_166907 ] 

Esteban DUGUEPEROUX commented on ARCHETYPE-228:
-----------------------------------------------

And the following XML header shouldn't be compulsory ?

<project xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                      http://maven.apache.org/xsd/maven-4.0.0.xsd">


> site missing module in maven-archetype-j2ee-simple archetype plugin
> -------------------------------------------------------------------
>
>                 Key: ARCHETYPE-228
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-228
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Generator
>            Reporter: Esteban DUGUEPEROUX
>            Priority: Minor
>
> Hi,
> When I create a j2ee-simple project from archetype n°10 the main pom.xml specify a site module but without site directory.
> Then at each j2ee project creation I need to delete the relevant line in pom.xml.
> Can we have a site directory generated or the relevant line in pom.xml deleted.
> Regards.

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

       

[jira] Commented: (ARCHETYPE-228) site missing module in maven-archetype-j2ee-simple archetype plugin

Posted by "Matthew McCullough (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/ARCHETYPE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209352#action_209352 ] 

Matthew McCullough commented on ARCHETYPE-228:
----------------------------------------------

The future of this plugin for Maven 3 is over at http://github.com/sonatype/sonatype-archetype

For Maven 2, I've attached a patch that basically just gets the archetypes woven into the build process (they were disabled as modules).  Next up is adding back the J2ee one (a second supplemental patch) to the samples.  I'll start by coping it from http://svn.apache.org/viewvc/maven/archetype/branches/archetype-1.0.x/maven-archetype-bundles/maven-archetype-j2ee-simple/

and then massaging it to fix the Maven 2 versions of the 2.0-alpha-4 plugin and the Maven 3, 0.8.7 version of the plugin.

Work in progress...

Check out http://github.com/matthewmccullough/sonatype-archetype for what I did on the Maven 3.0 side today.

> site missing module in maven-archetype-j2ee-simple archetype plugin
> -------------------------------------------------------------------
>
>                 Key: ARCHETYPE-228
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-228
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Generator
>            Reporter: Esteban DUGUEPEROUX
>            Priority: Minor
>
> Hi,
> When I create a j2ee-simple project from archetype n°10 the main pom.xml specify a site module but without site directory.
> Then at each j2ee project creation I need to delete the relevant line in pom.xml.
> Can we have a site directory generated or the relevant line in pom.xml deleted.
> Regards.

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

       

[jira] Updated: (ARCHETYPE-228) site missing module in maven-archetype-j2ee-simple archetype plugin

Posted by "Matthew McCullough (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/ARCHETYPE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthew McCullough updated ARCHETYPE-228:
-----------------------------------------

    Attachment: ARCHETYPE-228-part1.diff

This is "fix part one" that gets the samples compiling and passing tests with Maven 2.2.1.  Next up is a patch that adds back the j2EE sample.

> site missing module in maven-archetype-j2ee-simple archetype plugin
> -------------------------------------------------------------------
>
>                 Key: ARCHETYPE-228
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-228
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Generator
>            Reporter: Esteban DUGUEPEROUX
>            Priority: Minor
>         Attachments: ARCHETYPE-228-part1.diff
>
>
> Hi,
> When I create a j2ee-simple project from archetype n°10 the main pom.xml specify a site module but without site directory.
> Then at each j2ee project creation I need to delete the relevant line in pom.xml.
> Can we have a site directory generated or the relevant line in pom.xml deleted.
> Regards.

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

       

[jira] Moved: (MARCHETYPES-15) site missing module in maven-archetype-j2ee-simple archetype plugin

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MARCHETYPES-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy moved ARCHETYPE-228 to MARCHETYPES-15:
----------------------------------------------------

    Component/s:     (was: Archetypes)
            Key: MARCHETYPES-15  (was: ARCHETYPE-228)
        Project: Maven Archetype Bundles  (was: Maven Archetype)

> site missing module in maven-archetype-j2ee-simple archetype plugin
> -------------------------------------------------------------------
>
>                 Key: MARCHETYPES-15
>                 URL: http://jira.codehaus.org/browse/MARCHETYPES-15
>             Project: Maven Archetype Bundles
>          Issue Type: Bug
>            Reporter: Esteban DUGUEPEROUX
>            Priority: Minor
>         Attachments: ARCHETYPE-228-j2ee.diff, ARCHETYPE-228-part1.diff
>
>
> Hi,
> When I create a j2ee-simple project from archetype n°10 the main pom.xml specify a site module but without site directory.
> Then at each j2ee project creation I need to delete the relevant line in pom.xml.
> Can we have a site directory generated or the relevant line in pom.xml deleted.
> Regards.

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

       

[jira] Updated: (MARCHETYPES-15) site missing module in maven-archetype-j2ee-simple archetype plugin

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MARCHETYPES-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MARCHETYPES-15:
-------------------------------------

    Fix Version/s:     (was: 1.1)
                   5

> site missing module in maven-archetype-j2ee-simple archetype plugin
> -------------------------------------------------------------------
>
>                 Key: MARCHETYPES-15
>                 URL: http://jira.codehaus.org/browse/MARCHETYPES-15
>             Project: Maven Archetype Bundles
>          Issue Type: Bug
>          Components: Maven Simple J2EE Archetype
>            Reporter: Esteban DUGUEPEROUX
>            Priority: Minor
>             Fix For: 5
>
>         Attachments: ARCHETYPE-228-j2ee.diff, ARCHETYPE-228-part1.diff
>
>
> Hi,
> When I create a j2ee-simple project from archetype n°10 the main pom.xml specify a site module but without site directory.
> Then at each j2ee project creation I need to delete the relevant line in pom.xml.
> Can we have a site directory generated or the relevant line in pom.xml deleted.
> Regards.

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

       

[jira] Commented: (ARCHETYPE-228) site missing module in maven-archetype-j2ee-simple archetype plugin

Posted by "Antony Stubbs (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/ARCHETYPE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183985#action_183985 ] 

Antony Stubbs commented on ARCHETYPE-228:
-----------------------------------------

Gives a very bad impression of Maven.. see here: http://stackoverflow.com/questions/1082012/maven-archetype-j2ee-simple-generates-a-failing-project

> site missing module in maven-archetype-j2ee-simple archetype plugin
> -------------------------------------------------------------------
>
>                 Key: ARCHETYPE-228
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-228
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Generator
>            Reporter: Esteban DUGUEPEROUX
>            Priority: Minor
>
> Hi,
> When I create a j2ee-simple project from archetype n°10 the main pom.xml specify a site module but without site directory.
> Then at each j2ee project creation I need to delete the relevant line in pom.xml.
> Can we have a site directory generated or the relevant line in pom.xml deleted.
> Regards.

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

       

[jira] Commented: (ARCHETYPE-228) site missing module in maven-archetype-j2ee-simple archetype plugin

Posted by "Matthew McCullough (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/ARCHETYPE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209314#action_209314 ] 

Matthew McCullough commented on ARCHETYPE-228:
----------------------------------------------

I'm working towards fixing this since it bothers me as well and makes my classes unable to use this archetype.

Oddly, the archetype plugin was updated to 2.0-alpha-4, but the j2ee archetype was not brought along for the ride.  The archetype-catalog.xml file (http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-common/src/main/resources/archetype-catalog.xml?view=markup) is still pointing to the 1.0 release of this archetype (http://repo1.maven.org/maven2/org/apache/maven/archetypes/maven-archetype-j2ee-simple/1.0/), which Wendy Smoak says is an old branch likely never to cut another release (makes sense).

So, this leaves us with the option of trying to migrate the guts of the j2ee archetype to the 2.0-alpha-4 trunk (http://svn.apache.org/viewvc/maven/archetype/trunk/).  However, the Wendy says the archetype plugin has been completely re-written and now the archetypes are stored in "samples" in the source tree for this project.  The odd part is that I don't see a 2.0-alpha-4 of the samples (such as quickstart) having been published to central.

I've also captured this in a post to the mailing list.
http://n2.nabble.com/Maven-Archetype-1-0-to-2-0-variations-question-on-CLI-interactive-prompt-tc4523822.html#a4523822


> site missing module in maven-archetype-j2ee-simple archetype plugin
> -------------------------------------------------------------------
>
>                 Key: ARCHETYPE-228
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-228
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Generator
>            Reporter: Esteban DUGUEPEROUX
>            Priority: Minor
>
> Hi,
> When I create a j2ee-simple project from archetype n°10 the main pom.xml specify a site module but without site directory.
> Then at each j2ee project creation I need to delete the relevant line in pom.xml.
> Can we have a site directory generated or the relevant line in pom.xml deleted.
> Regards.

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

       

[jira] Updated: (ARCHETYPE-228) site missing module in maven-archetype-j2ee-simple archetype plugin

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/ARCHETYPE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated ARCHETYPE-228:
------------------------------------

    Component/s:     (was: Generator)
                 Archetypes

> site missing module in maven-archetype-j2ee-simple archetype plugin
> -------------------------------------------------------------------
>
>                 Key: ARCHETYPE-228
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-228
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Archetypes
>            Reporter: Esteban DUGUEPEROUX
>            Priority: Minor
>         Attachments: ARCHETYPE-228-j2ee.diff, ARCHETYPE-228-part1.diff
>
>
> Hi,
> When I create a j2ee-simple project from archetype n°10 the main pom.xml specify a site module but without site directory.
> Then at each j2ee project creation I need to delete the relevant line in pom.xml.
> Can we have a site directory generated or the relevant line in pom.xml deleted.
> Regards.

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