entaxy-public/pom.xml

607 lines
25 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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>ru.entaxy.esb</groupId>
<artifactId>root</artifactId>
<version>1.8.0</version>
<packaging>pom</packaging>
<name>ENTAXY :: ESB :: ROOT</name>
<description>ENTAXY :: ESB :: ROOT</description>
<modules>
<module>system</module>
<module>features</module>
<module>platform</module>
<!-- module>./distribution</module -->
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<karaf.version>4.2.9</karaf.version>
<cave.version>4.2.1</cave.version>
<!-- @TODO consider import Karaf BOM to root/pom/dependencyManagement -->
<felix.configadmin.version>1.9.16</felix.configadmin.version>
<camel.version>3.4.4</camel.version>
<activemq.version>2.17.0</activemq.version>
<osgi.version>6.0.0</osgi.version>
<cxf.version>3.3.6</cxf.version>
<hibernate.version>5.2.17.Final</hibernate.version>
<jpa.version>2.1.0</jpa.version>
<aether.version>1.1.0</aether.version>
<cellar.version>4.2.1</cellar.version>
<mapstruct.version>1.3.1.Final</mapstruct.version>
<ignite.version>2.8.1</ignite.version>
<hazelcast.version>3.9.1</hazelcast.version>
<gson.version>2.8.5</gson.version>
<liquibase.version>3.6.3</liquibase.version>
<mssql.version>7.4.1.jre8</mssql.version>
<postgresql.version>42.2.5</postgresql.version>
<slf4j.version>1.7.30</slf4j.version>
<javax.transaction.version>1.2</javax.transaction.version>
<javax.interceptor.version>1.2</javax.interceptor.version>
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
<commons-lang3.version>3.2.1</commons-lang3.version>
<commons-lang.version>2.6</commons-lang.version>
<xerces.version>2.12.0</xerces.version>
<commons-io.version>2.0.1</commons-io.version>
<commons-codec.version>1.14</commons-codec.version>
<log4j.version>1.2.17</log4j.version>
<maven-bundle-plugin.version>5.1.1</maven-bundle-plugin.version>
<jaxb.version>2.4.0-b180830.0438</jaxb.version>
<jaxb-api.version>2.3.1</jaxb-api.version>
<jaxb-impl.version>2.3.2</jaxb-impl.version>
<jaxb-core.version>2.3.0.1</jaxb-core.version>
<jaxb-xjc.version>2.2.11</jaxb-xjc.version>
<jaxws-api.version>2.3.1</jaxws-api.version>
<javax.jws-api.version>1.1</javax.jws-api.version>
<jaxws.version>2.3.3</jaxws.version>
<bundle.osgi.import.pkg>*</bundle.osgi.import.pkg>
<bundle.osgi.export.pkg/>
<bundle.osgi.dynamicimport.pkg/>
<bundle.osgi.export.service/>
<bundle.osgi.embed.dependency/>
<bundle.osgi.persistence/>
<bundle.osgi.activator/>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
<maven-install-plugin.version>2.5.2</maven-install-plugin.version>
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
</properties>
<dependencyManagement>
<dependencies>
<!-- osgi -->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.core</artifactId>
<version>${osgi.version}</version>
<scope>provided</scope>
</dependency>
<!-- Camel BOM -->
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-parent</artifactId>
<version>${camel.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<!-- Camel -->
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
<version>${camel.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.camel.karaf</groupId>
<artifactId>camel-blueprint</artifactId>
<version>${camel.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-cxf</artifactId>
<version>${camel.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-sql</artifactId>
<version>${camel.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jms</artifactId>
<version>${camel.version}</version>
<scope>provided</scope>
</dependency>
<!-- JAXB for Java 11 -->
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>${jaxb.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-rt</artifactId>
<version>${jaxws.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-ri</artifactId>
<version>${jaxws.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>${jaxb-api.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>${jaxb-core.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>${jaxb-impl.version}</version>
</dependency>
<!-- logging -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
<version>${slf4j.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j.version}</version>
<scope>provided</scope>
</dependency>
<!-- database -->
<dependency>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-core</artifactId>
<version>${liquibase.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>${mssql.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgresql.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<resources>
<!-- globally enable resource filtering -->
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
<!-- then disable it for specific resources -->
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*context.xml</include>
<include>**/*blueprint.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${maven-install-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven-deploy-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${maven-bundle-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Bundle-Description>${project.description}</Bundle-Description>
<Export-Package>${bundle.osgi.export.pkg}</Export-Package>
<Import-Package>${bundle.osgi.import.pkg}</Import-Package>
<DynamicImport-Package>${bundle.osgi.dynamicimport.pkg}</DynamicImport-Package>
<Export-Service/>
<Embed-Dependency>${bundle.osgi.embed.dependency}</Embed-Dependency>
<Meta-Persistence>${bundle.osgi.persistence}</Meta-Persistence>
<Bundle-Activator>${bundle.osgi.activator}</Bundle-Activator>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>resources</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- compiler plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<release>11</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<version>${karaf.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<!-- CICD stuff -->
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-release-plugin</artifactId>-->
<!-- <version>2.5.3</version>-->
<!-- <configuration>-->
<!-- <autoVersionSubmodules>true</autoVersionSubmodules>-->
<!-- <tagNameFormat>v@{project.version}</tagNameFormat>-->
<!-- <releaseProfiles>emdev.repo</releaseProfiles>-->
<!-- <developmentVersion>${parsedVersion.majorVersion}.${parsedVersion.nextMinorVersion}.0-SNAPSHOT</developmentVersion>-->
<!-- <branchName>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</branchName>-->
<!-- </configuration>-->
<!-- </plugin>-->
<!-- <plugin>-->
<!-- <groupId>org.codehaus.mojo</groupId>-->
<!-- <artifactId>build-helper-maven-plugin</artifactId>-->
<!-- <version>1.8</version>-->
<!-- <inherited>false</inherited>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>parse-versions-for-release</id>-->
<!-- <phase>validate</phase>-->
<!-- <goals>-->
<!-- <goal>parse-version</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <propertyPrefix>parsedVersion</propertyPrefix>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-antrun-plugin</artifactId>-->
<!-- <version>1.8</version>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <inherited>false</inherited>-->
<!-- <phase>initialize</phase>-->
<!-- <goals>-->
<!-- <goal>run</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <target>-->
<!-- <echo>Major: ${parsedVersion.majorVersion}</echo>-->
<!-- <echo>Minor: ${parsedVersion.minorVersion}</echo>-->
<!-- <echo>Next Minor: ${parsedVersion.nextMinorVersion}</echo>-->
<!-- <echo>Incremental: ${parsedVersion.incrementalVersion}</echo>-->
<!-- <echo>Qualifier: ${parsedVersion.qualifier}</echo>-->
<!-- <echo>BuildNumber: ${parsedVersion.buildNumber}</echo>-->
<!-- </target>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
</plugins>
</build>
<!-- TODO Imrove it!!! -->
<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 use the same repository for releases & 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>
<snapshotRepository>
<id>entaxy-maven-repo</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>features</id>
<build>
<resources>
<resource>
<directory>src/main/features</directory>
<filtering>true</filtering>
<includes>
<include>**/features.xml</include>
</includes>
<targetPath>${project.build.directory}/features</targetPath>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.12</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>target/features/features.xml</file>
<type>xml</type>
<classifier>features</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<activation>
<file>
<exists>src/main/features/features.xml</exists>
</file>
</activation>
</profile>
</profiles>
<!-- TODO Imrove it!!! -->
<organization>
<url>http://www.emdev.ru</url>
<name>EmDev</name>
</organization>
<ciManagement>
<system>Jenkins</system>
<url>http://build.emdev.ru/jenkins/</url>
</ciManagement>
<scm>
<connection>scm:git:https://git.emdev.ru/entaxy/entaxy-framework</connection>
</scm>
<repositories>
<!--
contains all used components together with sources and javadocs, proxies Maven Central and Apache
also contains public Entaxy releases & snapshots (snapshots are disabled here)
-->
<repository>
<id>entaxy-public</id>
<name>entaxy-public</name>
<!-- url>http://localhost:8981/repository/entaxy-public/</url -->
<url>https://nexus.entaxy.ru/nexus/repository/entaxy-public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<checksumPolicy>warn</checksumPolicy>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!--
contains all Entaxy snaphots and releases, authorized access only
use Maven settins.xml to provide access credentials
-->
<repository>
<id>entaxy-private</id>
<name>entaxy-private</name>
<!-- url>http://localhost:8981/repository/entaxy-private/</url -->
<url>https://nexus.entaxy.ru/nexus/repository/entaxy-private/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<checksumPolicy>warn</checksumPolicy>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<checksumPolicy>warn</checksumPolicy>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>entaxy-public</id>
<name>entaxy-public</name>
<!-- url>http://localhost:8981/repository/entaxy-public/</url -->
<url>https://nexus.entaxy.ru/nexus/repository/entaxy-public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<checksumPolicy>warn</checksumPolicy>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>