You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by thomas2004 <th...@yahoo.de> on 2008/11/19 21:11:26 UTC

A question about "-DarchetypeArtifactId=maven-archetype-webapp"

Hi all,

I use the following mvn command to create a web project, but the generaed
web.xml uses "web-app_2_3.dtd". But what I want is "web-app_2_4.xsd" or even
"web-app_2_5.xsd". 

Someone knows is there a new maven artifact to do so?

Regards

Thomas
-- 
View this message in context: http://www.nabble.com/A-question-about-%22-DarchetypeArtifactId%3Dmaven-archetype-webapp%22-tp20588259p20588259.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: A question about "-DarchetypeArtifactId=maven-archetype-webapp"

Posted by Wayne Fay <wa...@gmail.com>.
> anything you need... set the web descriptor to the version you want, add any
> filters or other elements you use on every project. Add your organisational
> POM to the POM template as a parent. Add dependencies on standard
> frameworks, and so on.

If this wasn't clear, Brett is suggesting that you create your own
archetype. This process is pretty well-documented in the Maven website
so I'm not going in to details here.

If you create a useful archetype, feel free to contribute it back to
the Maven project (eg m-a-webapp-2.4 or -2.5). You may also want to
look at the appfuse archetypes.

Wayne

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


Re: A question about "-DarchetypeArtifactId=maven-archetype-webapp"

Posted by Brett Porter <br...@apache.org>.
On 20/11/2008, at 7:21 AM, thomas2004 wrote:

>
> For example? :-)

anything you need... set the web descriptor to the version you want,  
add any filters or other elements you use on every project. Add your  
organisational POM to the POM template as a parent. Add dependencies  
on standard frameworks, and so on.

Cheers,
Brett

>
>
>
>
> brettporter wrote:
>>
>> Archetype's are just a very simple starting point. I suggest if you
>> are doing this frequently, you create your own that has more than  
>> just
>> the standard web.xml in it anyway.
>>
>> Cheers,
>> Brett
>>
>> On 20/11/2008, at 7:11 AM, thomas2004 wrote:
>>
>>>
>>> Hi all,
>>>
>>> I use the following mvn command to create a web project, but the
>>> generaed
>>> web.xml uses "web-app_2_3.dtd". But what I want is "web-app_2_4.xsd"
>>> or even
>>> "web-app_2_5.xsd".
>>>
>>> Someone knows is there a new maven artifact to do so?
>>>
>>> Regards
>>>
>>> Thomas
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/A-question-about-%22-DarchetypeArtifactId%3Dmaven-archetype-webapp%22-tp20588259p20588259.html
>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>
>> --
>> Brett Porter
>> brett@apache.org
>> http://blogs.exist.com/bporter/
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/A-question-about-%22-DarchetypeArtifactId%3Dmaven-archetype-webapp%22-tp20588259p20588456.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


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


Re: A question about "-DarchetypeArtifactId=maven-archetype-webapp"

Posted by thomas2004 <th...@yahoo.de>.
For example? :-)



brettporter wrote:
> 
> Archetype's are just a very simple starting point. I suggest if you  
> are doing this frequently, you create your own that has more than just  
> the standard web.xml in it anyway.
> 
> Cheers,
> Brett
> 
> On 20/11/2008, at 7:11 AM, thomas2004 wrote:
> 
>>
>> Hi all,
>>
>> I use the following mvn command to create a web project, but the  
>> generaed
>> web.xml uses "web-app_2_3.dtd". But what I want is "web-app_2_4.xsd"  
>> or even
>> "web-app_2_5.xsd".
>>
>> Someone knows is there a new maven artifact to do so?
>>
>> Regards
>>
>> Thomas
>> -- 
>> View this message in context:
>> http://www.nabble.com/A-question-about-%22-DarchetypeArtifactId%3Dmaven-archetype-webapp%22-tp20588259p20588259.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
> 
> --
> Brett Porter
> brett@apache.org
> http://blogs.exist.com/bporter/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/A-question-about-%22-DarchetypeArtifactId%3Dmaven-archetype-webapp%22-tp20588259p20588456.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: A question about "-DarchetypeArtifactId=maven-archetype-webapp"

Posted by Brett Porter <br...@apache.org>.
Archetype's are just a very simple starting point. I suggest if you  
are doing this frequently, you create your own that has more than just  
the standard web.xml in it anyway.

Cheers,
Brett

On 20/11/2008, at 7:11 AM, thomas2004 wrote:

>
> Hi all,
>
> I use the following mvn command to create a web project, but the  
> generaed
> web.xml uses "web-app_2_3.dtd". But what I want is "web-app_2_4.xsd"  
> or even
> "web-app_2_5.xsd".
>
> Someone knows is there a new maven artifact to do so?
>
> Regards
>
> Thomas
> -- 
> View this message in context: http://www.nabble.com/A-question-about-%22-DarchetypeArtifactId%3Dmaven-archetype-webapp%22-tp20588259p20588259.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


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