Skip to content

Commit

Permalink
JAMES-1950 Move metrics-api as toplevel project
Browse files Browse the repository at this point in the history
  • Loading branch information
aduprat committed Mar 3, 2017
1 parent 959cde4 commit 4e70111
Show file tree
Hide file tree
Showing 13 changed files with 59 additions and 19 deletions.
Expand Up @@ -21,15 +21,14 @@
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>james-server</artifactId>
<artifactId>metrics</artifactId>
<groupId>org.apache.james</groupId>
<version>3.0.0-beta6-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>james-server-metrics-api</artifactId>
<artifactId>metrics-api</artifactId>

<name>Apache James :: Server :: Metrics :: API</name>
<name>Apache James :: Metrics :: API</name>

</project>
</project>
40 changes: 40 additions & 0 deletions metrics/pom.xml
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>james-project</artifactId>
<groupId>org.apache.james</groupId>
<version>3.0.0-beta6-SNAPSHOT</version>
</parent>

<artifactId>metrics</artifactId>
<packaging>pom</packaging>

<name>Apache James :: Metrics</name>
<description>Apache James Metrics</description>

<modules>
<module>metrics-api</module>
</modules>

</project>

1 change: 1 addition & 0 deletions pom.xml
Expand Up @@ -564,6 +564,7 @@
<module>backends-common</module>
<module>mailbox</module>
<module>mailet</module>
<module>metrics</module>
<module>mpt</module>
<module>protocols</module>
<module>server</module>
Expand Down
2 changes: 1 addition & 1 deletion server/app/pom.xml
Expand Up @@ -253,7 +253,7 @@
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-metrics-api</artifactId>
<artifactId>metrics-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
Expand Down
2 changes: 1 addition & 1 deletion server/container/guice/guice-common/pom.xml
Expand Up @@ -193,7 +193,7 @@
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-metrics-api</artifactId>
<artifactId>metrics-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
Expand Down
4 changes: 2 additions & 2 deletions server/container/metrics/metrics-dropwizard/pom.xml
Expand Up @@ -43,7 +43,7 @@
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-metrics-api</artifactId>
<artifactId>metrics-api</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand All @@ -59,4 +59,4 @@
</dependency>
</dependencies>

</project>
</project>
2 changes: 1 addition & 1 deletion server/mailet/mailets/pom.xml
Expand Up @@ -72,7 +72,7 @@
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-metrics-api</artifactId>
<artifactId>metrics-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.james.protocols</groupId>
Expand Down
12 changes: 6 additions & 6 deletions server/pom.xml
Expand Up @@ -63,7 +63,6 @@
<module>container/jetty</module>
<module>container/lifecycle-api</module>
<module>container/mailbox-adapter</module>
<module>container/metrics/metrics-api</module>
<module>container/metrics/metrics-dropwizard</module>
<module>container/metrics/metrics-es-reporter</module>
<module>container/spring</module>
Expand Down Expand Up @@ -452,6 +451,12 @@
</exclusions>
</dependency>

<dependency>
<groupId>org.apache.james</groupId>
<artifactId>metrics-api</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.apache.james.protocols</groupId>
<artifactId>protocols-api</artifactId>
Expand Down Expand Up @@ -636,11 +641,6 @@
<version>${project.version}</version>
<type>test-jar</type>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-metrics-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-metrics-dropwizard</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion server/protocols/protocols-imap4/pom.xml
Expand Up @@ -43,7 +43,7 @@
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-metrics-api</artifactId>
<artifactId>metrics-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.james.protocols</groupId>
Expand Down
2 changes: 1 addition & 1 deletion server/protocols/protocols-smtp/pom.xml
Expand Up @@ -67,7 +67,7 @@
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-metrics-api</artifactId>
<artifactId>metrics-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
Expand Down
2 changes: 1 addition & 1 deletion server/queue/queue-jms/pom.xml
Expand Up @@ -47,7 +47,7 @@
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-metrics-api</artifactId>
<artifactId>metrics-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
Expand Down

0 comments on commit 4e70111

Please sign in to comment.