You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by ra...@apache.org on 2018/12/11 00:32:09 UTC

[4/5] tomee git commit: Fix pom.xml

Fix pom.xml


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/231faf4d
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/231faf4d
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/231faf4d

Branch: refs/heads/master
Commit: 231faf4dc7cc16bbc03461886a6dcb42a0303795
Parents: 057dfa9
Author: Daniel Cunha (soro) <da...@apache.org>
Authored: Mon Dec 10 08:30:52 2018 -0300
Committer: Roberto Cortez <ra...@yahoo.com>
Committed: Tue Dec 11 00:31:54 2018 +0000

----------------------------------------------------------------------
 examples/mp-config-example/pom.xml | 32 ++++++++++++++++++++++++++------
 1 file changed, 26 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/231faf4d/examples/mp-config-example/pom.xml
----------------------------------------------------------------------
diff --git a/examples/mp-config-example/pom.xml b/examples/mp-config-example/pom.xml
index 00e919d..8eac44f 100644
--- a/examples/mp-config-example/pom.xml
+++ b/examples/mp-config-example/pom.xml
@@ -2,15 +2,20 @@
 <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">
-    <parent>
-        <artifactId>examples</artifactId>
-        <groupId>org.apache.tomee</groupId>
-        <version>8.0.0-SNAPSHOT</version>
-    </parent>
     <modelVersion>4.0.0</modelVersion>
 
+    <groupId>org.superbiz</groupId>
     <artifactId>mp-config-example</artifactId>
+    <version>8.0.0-SNAPSHOT</version>
     <packaging>war</packaging>
+    <name>MicroProfile :: Examples :: Config</name>
+
+    <properties>
+        <version.javaee-api>8.0</version.javaee-api>
+        <microprofile.config.version>1.3</microprofile.config.version>
+        <tomee.version>8.0.0-SNAPSHOT</tomee.version>
+        <version.arquillian>1.1.13.Final</version.arquillian>
+    </properties>
 
     <dependencies>
         <dependency>
@@ -19,6 +24,7 @@
             <version>${version.javaee-api}</version>
             <scope>provided</scope>
         </dependency>
+
         <dependency>
             <groupId>org.eclipse.microprofile.config</groupId>
             <artifactId>microprofile-config-api</artifactId>
@@ -44,6 +50,7 @@
             <version>${tomee.version}</version>
             <scope>test</scope>
         </dependency>
+
         <dependency>
             <groupId>org.apache.tomee</groupId>
             <artifactId>apache-tomee</artifactId>
@@ -52,6 +59,13 @@
             <classifier>microprofile</classifier>
             <scope>test</scope>
         </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.11</version>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
 
     <build>
@@ -59,12 +73,18 @@
             <plugin>
                 <groupId>org.apache.tomee.maven</groupId>
                 <artifactId>tomee-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>8.0.0-SNAPSHOT</version>
                 <configuration>
                     <tomeeClassifier>microprofile</tomeeClassifier>
                     <context>${project.artifactId}</context>
                 </configuration>
             </plugin>
+            <plugin>
+                <artifactId>maven-war-plugin</artifactId>
+                <configuration>
+                    <failOnMissingWebXml>false</failOnMissingWebXml>
+                </configuration>
+            </plugin>
         </plugins>
     </build>