749 lines
31 KiB
XML
749 lines
31 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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">
|
|
|
|
<!--
|
|
|
|
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.
|
|
-->
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.apache</groupId>
|
|
<artifactId>apache</artifactId>
|
|
<version>23</version>
|
|
<relativePath />
|
|
</parent>
|
|
|
|
<groupId>org.apache.karaf</groupId>
|
|
<artifactId>cellar</artifactId>
|
|
<version>4.2.1-ENTAXY</version>
|
|
<packaging>pom</packaging>
|
|
<name>Apache Karaf :: Cellar :: Entaxy</name>
|
|
|
|
<properties>
|
|
<commons-lang3.version>3.8.1</commons-lang3.version>
|
|
<easymock.version>3.4</easymock.version>
|
|
<fabric8.kubernetes-client.version>4.6.3</fabric8.kubernetes-client.version>
|
|
<felix.bundlerepository.version>2.0.10</felix.bundlerepository.version>
|
|
<felix.utils.version>1.11.0</felix.utils.version>
|
|
<felix.webconsole.version>4.2.14</felix.webconsole.version>
|
|
<hazelcast.version>3.12.8</hazelcast.version>
|
|
<jclouds.version>2.1.2</jclouds.version>
|
|
<joda-time.version>2.10</joda-time.version>
|
|
<junit.version>4.13</junit.version>
|
|
<karaf.version>4.2.9</karaf.version>
|
|
<osgi.version>6.0.0</osgi.version>
|
|
<osgi.compendium.version>5.0.0</osgi.compendium.version>
|
|
<slf4j.version>1.7.7</slf4j.version>
|
|
<netflix.feign.version>8.18.0</netflix.feign.version>
|
|
<gson.version>2.8.5</gson.version>
|
|
<bnd.version.policy>[$(version;==;$(@)),$(version;+;$(@)))</bnd.version.policy>
|
|
<cellar.version>4.2.1</cellar.version>
|
|
</properties>
|
|
|
|
<modules>
|
|
<module>org.apache.karaf.cellar.bundle.entaxy</module>
|
|
<!-- module>core</module>
|
|
<module>config</module>
|
|
<module>features</module>
|
|
<module>kar</module>
|
|
<module>bundle</module>
|
|
<module>obr</module>
|
|
<module>dosgi</module>
|
|
<module>event</module>
|
|
<module>shell</module>
|
|
<module>hazelcast</module>
|
|
<module>utils</module>
|
|
<module>log</module>
|
|
<module>http</module>
|
|
<module>cloud</module>
|
|
<module>kubernetes</module>
|
|
<module>dns</module>
|
|
<module>etcd</module>
|
|
<module>webconsole</module>
|
|
<module>manual</module>
|
|
<module>assembly</module>
|
|
<module>samples</module>
|
|
<module>itests</module -->
|
|
</modules>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
|
|
<!-- Cellar -->
|
|
<dependency>
|
|
<groupId>org.apache.karaf.cellar</groupId>
|
|
<artifactId>org.apache.karaf.cellar.bundle</artifactId>
|
|
<version>${cellar.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.karaf.cellar</groupId>
|
|
<artifactId>org.apache.karaf.cellar.config</artifactId>
|
|
<version>${cellar.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.karaf.cellar</groupId>
|
|
<artifactId>org.apache.karaf.cellar.core</artifactId>
|
|
<version>${cellar.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.karaf.cellar</groupId>
|
|
<artifactId>org.apache.karaf.cellar.features</artifactId>
|
|
<version>${cellar.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.karaf.cellar</groupId>
|
|
<artifactId>org.apache.karaf.cellar.hazelcast</artifactId>
|
|
<version>${cellar.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.karaf.cellar</groupId>
|
|
<artifactId>org.apache.karaf.cellar.cloud</artifactId>
|
|
<version>${cellar.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.karaf.cellar</groupId>
|
|
<artifactId>org.apache.karaf.cellar.manual</artifactId>
|
|
<type>html</type>
|
|
<version>${cellar.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.karaf.cellar</groupId>
|
|
<artifactId>org.apache.karaf.cellar.manual</artifactId>
|
|
<type>pdf</type>
|
|
<version>${cellar.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.karaf.cellar</groupId>
|
|
<artifactId>org.apache.karaf.cellar.shell</artifactId>
|
|
<version>${cellar.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.karaf.cellar</groupId>
|
|
<artifactId>org.apache.karaf.cellar.utils</artifactId>
|
|
<version>${cellar.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.karaf.cellar</groupId>
|
|
<artifactId>apache-karaf-cellar</artifactId>
|
|
<version>${cellar.version}</version>
|
|
<type>xml</type>
|
|
<classifier>features</classifier>
|
|
</dependency>
|
|
|
|
<!-- Felix -->
|
|
<dependency>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>org.apache.felix.bundlerepository</artifactId>
|
|
<version>${felix.bundlerepository.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>org.apache.felix.webconsole</artifactId>
|
|
<version>${felix.webconsole.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>org.apache.felix.utils</artifactId>
|
|
<version>${felix.utils.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.osgi</groupId>
|
|
<artifactId>org.osgi.core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.osgi</groupId>
|
|
<artifactId>org.osgi.compendium</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- Hazelcast -->
|
|
<dependency>
|
|
<groupId>com.hazelcast</groupId>
|
|
<artifactId>hazelcast-all</artifactId>
|
|
<version>${hazelcast.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Karaf -->
|
|
<dependency>
|
|
<groupId>org.apache.karaf.features</groupId>
|
|
<artifactId>org.apache.karaf.features.core</artifactId>
|
|
<version>${karaf.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.karaf.features</groupId>
|
|
<artifactId>org.apache.karaf.features.command</artifactId>
|
|
<version>${karaf.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.karaf</groupId>
|
|
<artifactId>org.apache.karaf.util</artifactId>
|
|
<version>${karaf.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.karaf.kar</groupId>
|
|
<artifactId>org.apache.karaf.kar.core</artifactId>
|
|
<version>${karaf.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.karaf.shell</groupId>
|
|
<artifactId>org.apache.karaf.shell.core</artifactId>
|
|
<version>${karaf.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.karaf.tooling</groupId>
|
|
<artifactId>org.apache.karaf.tooling.testing</artifactId>
|
|
<version>${karaf.version}</version>
|
|
</dependency>
|
|
|
|
<!-- OSGi -->
|
|
<dependency>
|
|
<groupId>org.osgi</groupId>
|
|
<artifactId>org.osgi.compendium</artifactId>
|
|
<version>${osgi.compendium.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.osgi</groupId>
|
|
<artifactId>org.osgi.core</artifactId>
|
|
<version>${osgi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Servlet API -->
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-servlet_3.0_spec</artifactId>
|
|
<version>1.0</version>
|
|
</dependency>
|
|
|
|
<!-- SLF4J -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-simple</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
|
|
<!-- JClouds -->
|
|
<dependency>
|
|
<groupId>org.apache.jclouds</groupId>
|
|
<artifactId>jclouds-blobstore</artifactId>
|
|
<version>${jclouds.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.jclouds</groupId>
|
|
<artifactId>jclouds-allblobstore</artifactId>
|
|
<version>${jclouds.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Joda Time -->
|
|
<dependency>
|
|
<groupId>joda-time</groupId>
|
|
<artifactId>joda-time</artifactId>
|
|
<version>${joda-time.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Apache common-lang3 -->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>${commons-lang3.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Kubernetes -->
|
|
<dependency>
|
|
<groupId>io.fabric8</groupId>
|
|
<artifactId>kubernetes-client</artifactId>
|
|
<version>${fabric8.kubernetes-client.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Netflix Feign -->
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>${gson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.feign</groupId>
|
|
<artifactId>feign-core</artifactId>
|
|
<version>${netflix.feign.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.feign</groupId>
|
|
<artifactId>feign-slf4j</artifactId>
|
|
<version>${netflix.feign.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.feign</groupId>
|
|
<artifactId>feign-gson</artifactId>
|
|
<version>${netflix.feign.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Testing -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Easymock -->
|
|
<dependency>
|
|
<groupId>org.easymock</groupId>
|
|
<artifactId>easymock</artifactId>
|
|
<version>${easymock.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<defaultGoal>install</defaultGoal>
|
|
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.7</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>2.8.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>2.5.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.9.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>1.4</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
<version>2.9</version>
|
|
<configuration>
|
|
<outputDirectory>${basedir}/eclipse-classes</outputDirectory>
|
|
<downloadSources>true</downloadSources>
|
|
<downloadJavadocs>true</downloadJavadocs>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>2.5.1</version>
|
|
<configuration>
|
|
<useReleaseProfile>false</useReleaseProfile>
|
|
<preparationGoals>clean install</preparationGoals>
|
|
<goals>deploy</goals>
|
|
<arguments>-Prelease,deploy</arguments>
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.karaf.tooling</groupId>
|
|
<artifactId>karaf-services-maven-plugin</artifactId>
|
|
<version>${karaf.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>service-metadata-generate</id>
|
|
<phase>process-classes</phase>
|
|
<goals>
|
|
<goal>service-metadata-generate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.karaf.tooling</groupId>
|
|
<artifactId>karaf-maven-plugin</artifactId>
|
|
<version>${karaf.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<version>5.1.1</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<instructions>
|
|
<_versionpolicy>${bnd.version.policy}</_versionpolicy>
|
|
</instructions>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-idea-plugin</artifactId>
|
|
<version>2.2.1</version>
|
|
<configuration>
|
|
<downloadSources>true</downloadSources>
|
|
<downloadJavadocs>true</downloadJavadocs>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.16</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>1.8</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>2.6</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>1.3.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.4</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.2.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
<version>1.5</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.servicemix.tooling</groupId>
|
|
<artifactId>depends-maven-plugin</artifactId>
|
|
<version>1.2</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>1.7</source>
|
|
<target>1.7</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce-maven</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<requireMavenVersion>
|
|
<version>[3,4)</version>
|
|
</requireMavenVersion>
|
|
<requireJavaVersion>
|
|
<version>[1.8,)</version>
|
|
</requireJavaVersion>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>process</goal>
|
|
</goals>
|
|
<configuration>
|
|
<resourceBundles>
|
|
<resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
|
|
</resourceBundles>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-notice</id>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<target>
|
|
<copy file="NOTICE" todir="target/maven-shared-archive-resources/META-INF" failonerror="false" overwrite="true" />
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- generate dependencies versions -->
|
|
<plugin>
|
|
<groupId>org.apache.servicemix.tooling</groupId>
|
|
<artifactId>depends-maven-plugin</artifactId>
|
|
<inherited>true</inherited>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-depends-file</id>
|
|
<goals>
|
|
<goal>generate-depends-file</goal>
|
|
</goals>
|
|
<phase>compile</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>private-deploy</id>
|
|
<activation>
|
|
<property>
|
|
<name>!skipPrivateDeploy</name>
|
|
</property>
|
|
</activation>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>entaxy-private-releases</id>
|
|
<name>entaxy-private-releases</name>
|
|
<uniqueVersion>false</uniqueVersion>
|
|
<layout>default</layout>
|
|
<!-- url>http://localhost:8981/repository/entaxy-private-releases/</url -->
|
|
<url>https://nexus.entaxy.ru/nexus/repository/entaxy-private-releases/</url>
|
|
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>entaxy-private-snapshots</id>
|
|
<name>entaxy-private-snapshots</name>
|
|
<uniqueVersion>false</uniqueVersion>
|
|
<layout>default</layout>
|
|
<!-- url>http://localhost:8981/repository/entaxy-private-snapshots/</url -->
|
|
<url>https://nexus.entaxy.ru/nexus/repository/entaxy-private-snapshots/</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>public-deploy</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>entaxy-public-entaxy</id>
|
|
<name>entaxy-public-entaxy</name>
|
|
<uniqueVersion>false</uniqueVersion>
|
|
<layout>default</layout>
|
|
<!-- url>http://localhost:8981/repository/entaxy-public-entaxy/</url -->
|
|
<url>https://nexus.entaxy.ru/nexus/repository/entaxy-public-entaxy/</url>
|
|
</repository>
|
|
<!-- we don't publish snapshots -->
|
|
<!-- snapshotRepository>
|
|
<id>entaxy-private-snapshots</id>
|
|
<name>entaxy-private-snapshots</name>
|
|
<uniqueVersion>false</uniqueVersion>
|
|
<layout>default</layout>
|
|
<url>http://localhost:8981/repository/entaxy-private-snapshots/</url>
|
|
</snapshotRepository -->
|
|
</distributionManagement>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>emdev.repo</id>
|
|
<!-- http://maven.apache.org/pom.html#Distribution_Management -->
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>private-snapshots</id>
|
|
<name>EmDev Private Snapshots</name>
|
|
<url>http://build.emdev.ru/nexus/content/repositories/private-snapshots/</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>emdev-private</id>
|
|
<name>EmDev Private</name>
|
|
<url>http://build.emdev.ru/nexus/content/repositories/emdev-private/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
</profile>
|
|
<profile>
|
|
<id>release_plugins</id>
|
|
</profile>
|
|
<profile>
|
|
<id>docker.reposilite</id>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>local-reposilte-releases</id>
|
|
<url>http://127.0.0.1:8081/releases</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>local-reposilte-snapshots</id>
|
|
<url>http://127.0.0.1:8081/snapshots</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
</profile>
|
|
<profile>
|
|
<id>docker.file.repo</id>
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>entaxy-maven-repo-file</id>
|
|
<url>file:./temp/entaxy-docker/karaf/repo</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
</profile>
|
|
<profile>
|
|
<id>release</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce-versions</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<requireMavenVersion>
|
|
<version>[3,4)</version>
|
|
</requireMavenVersion>
|
|
<requireJavaVersion>
|
|
<version>[1.7,1.9)</version>
|
|
</requireJavaVersion>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- We want to deploy the artifact to a staging location for perusal -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<inherited>true</inherited>
|
|
<configuration>
|
|
<altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
|
|
<updateReleaseInfo>true</updateReleaseInfo>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- We want to sign the artifact, the POM, and all attached artifacts -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id>
|
|
<phase>none</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-assemblies</id>
|
|
<phase>none</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>deploy</id>
|
|
<properties>
|
|
<createSourcesJar>true</createSourcesJar>
|
|
</properties>
|
|
<build>
|
|
<defaultGoal>deploy</defaultGoal>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<configuration>
|
|
<source>1.7</source>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|