tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Chacin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TOMEE-1393) Simplify TomEE Webapp Archetype pom.xml
Date Thu, 16 Oct 2014 13:07:33 GMT

    [ https://issues.apache.org/jira/browse/TOMEE-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14173715#comment-14173715
] 

Carlos Chacin commented on TOMEE-1393:
--------------------------------------

[~romain.manni-bucau] 

The maven compiler java target/source is defined by properties in pom.xml:

<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.source>1.7</maven.compiler.source>

in the same way the maven war plugin to disable web.xml:

<failOnMissingWebXml>false</failOnMissingWebXml>

 You can see a wroking example here: https://github.com/tomitribe/tomee-jaxrs-starter-project

> Simplify TomEE Webapp Archetype pom.xml
> ---------------------------------------
>
>                 Key: TOMEE-1393
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1393
>             Project: TomEE
>          Issue Type: Improvement
>            Reporter: Carlos Chacin
>            Priority: Trivial
>         Attachments: simplified-pom.patch, simplified-pom.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> In order to maintain the examples and archetypes smaller and easier to use/read, the
compiler, surfire and war plugins were removed from pom.xml in tomee webapp maven archetype.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message