You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jg...@apache.org on 2018/11/19 20:24:33 UTC

[3/6] tomee git commit: adding tomee plugin and dependencies

adding tomee plugin and dependencies


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

Branch: refs/heads/master
Commit: b85fe05851e208f4744e1b7a7a5b3ea3ca89ed7e
Parents: cd09707
Author: ivanjunckes <ij...@tomitribe.com>
Authored: Mon Nov 19 10:50:30 2018 -0200
Committer: ivanjunckes <ij...@tomitribe.com>
Committed: Mon Nov 19 10:50:30 2018 -0200

----------------------------------------------------------------------
 examples/rest-mp-metrics/pom.xml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/b85fe058/examples/rest-mp-metrics/pom.xml
----------------------------------------------------------------------
diff --git a/examples/rest-mp-metrics/pom.xml b/examples/rest-mp-metrics/pom.xml
index 6a31d77..97890db 100644
--- a/examples/rest-mp-metrics/pom.xml
+++ b/examples/rest-mp-metrics/pom.xml
@@ -10,6 +10,34 @@
     <modelVersion>4.0.0</modelVersion>
 
     <artifactId>rest-mp-metrics</artifactId>
+    <packaging>war</packaging>
 
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.tomee</groupId>
+            <artifactId>javaee-api</artifactId>
+            <version>8.0</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.eclipse.microprofile.metrics</groupId>
+            <artifactId>microprofile-metrics-api</artifactId>
+            <version>1.0</version>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.tomee.maven</groupId>
+                <artifactId>tomee-maven-plugin</artifactId>
+                <version>8.0.0-SNAPSHOT</version>
+                <configuration>
+                    <tomeeClassifier>microprofile</tomeeClassifier>
+                    <context>${artifactId}</context>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 </project>
\ No newline at end of file