856 lines
38 KiB
XML
856 lines
38 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>
|
|
<spring.version>5.2.5.RELEASE_1</spring.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 -->
|
|
<!--
|
|
version should be 42.2.7 or higher
|
|
to avoid
|
|
java.lang.ClassNotFoundException: javax.security.sasl.SaslException not found by org.postgresql.jdbc42
|
|
see https://github.com/pgjdbc/pgjdbc/issues/1503
|
|
-->
|
|
<postgresql.version>42.2.9</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>
|
|
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>${gson.version}</version>
|
|
</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>
|
|
<obrRepository>NONE</obrRepository>
|
|
<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.0</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.0</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 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>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-features</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>
|
|
|
|
<!-- localize all the licensing functionality to autostarting (for now) profile -->
|
|
<profile>
|
|
|
|
<id>license</id>
|
|
<activation>
|
|
<property>
|
|
<name>!skipLicence</name>
|
|
</property>
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<!-- we can use ${project.organization.name} here, but we won't -->
|
|
<license.organizationName>EmDev LLC</license.organizationName>
|
|
|
|
<license.inceptionYear>2020</license.inceptionYear>
|
|
<license.projectName>${project.artifactId}</license.projectName>
|
|
<license.copyrightOwners>${license.organizationName}</license.copyrightOwners>
|
|
<license.licenseName>apache_v2</license.licenseName>
|
|
|
|
<license.processStartTag>~~~~~~licensing~~~~~~</license.processStartTag>
|
|
<license.processEndTag>~~~~~~/licensing~~~~~~</license.processEndTag>
|
|
<license.sectionDelimiter>==========</license.sectionDelimiter>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
<!-- we have to configure it due to (see below): -->
|
|
<resource>
|
|
<filtering>false</filtering>
|
|
<directory>${project.build.directory}/generated-sources/license</directory>
|
|
|
|
<!-- (1) only META-INF/LICENCE is included due to potential bug
|
|
(see comment below at "add-third-party" goal of licence-maven-plugin configuration),
|
|
so to add META-INF/DEPENDENCIES also we have to treat them all as resources -->
|
|
<includes>
|
|
<include>META-INF/*</include>
|
|
</includes>
|
|
|
|
<!-- (2) we don't need no ...
|
|
- education?
|
|
- NO! LICENSE.txt and THIRD-PARTY.txt at the root of the bundle -->
|
|
<excludes>
|
|
<exclude>*.txt</exclude>
|
|
</excludes>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>update-project-license</id>
|
|
<goals>
|
|
<goal>update-project-license</goal>
|
|
</goals>
|
|
<configuration>
|
|
<organizationName>${license.organizationName}</organizationName>
|
|
<inceptionYear>${license.inceptionYear}</inceptionYear>
|
|
<projectName>${license.projectName}</projectName>
|
|
<copyrightOwners>${license.copyrightOwners}</copyrightOwners>
|
|
<licenseName>${license.licenseName}</licenseName>
|
|
|
|
<bundleLicensePath>META-INF/LICENSE</bundleLicensePath>
|
|
<generateBundle>true</generateBundle>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<execution>
|
|
<id>add-third-party</id>
|
|
<goals>
|
|
<goal>add-third-party</goal>
|
|
</goals>
|
|
<configuration>
|
|
<bundleThirdPartyPath>META-INF/DEPENDENCIES</bundleThirdPartyPath>
|
|
|
|
<!-- in fact this isn't added to bundle, so we configure "resources" in the profile -->
|
|
<generateBundle>true</generateBundle>
|
|
|
|
<includeTransitiveDependencies>false</includeTransitiveDependencies>
|
|
<excludedScopes>test, provided</excludedScopes>
|
|
|
|
<!--
|
|
- we don't need ..
|
|
- no education?
|
|
- shut up! we don't need our own modules being mentioned as 3rd-party dependencies
|
|
-->
|
|
<excludedGroups>^ru\.entaxy\.esb</excludedGroups>
|
|
|
|
<licenseMerges>
|
|
<licenseMerge>Apache License, Version 2.0|The Apache Software License, Version 2.0|The Apache License, Version 2.0|Apache 2.0 License|Apache 2.0</licenseMerge>
|
|
<licenseMerge>EDL 1.0|Eclipse Distribution License v. 1.0|Eclipse Distribution License - v 1.0</licenseMerge>
|
|
<licenseMerge>EPL 2.0|Eclipse Public License v. 2.0</licenseMerge>
|
|
<licenseMerge>EPL 1.0|Eclipse Public License v. 1.0|Eclipse Public License v1.0</licenseMerge>
|
|
<licenseMerge>CDDL/GPLv2+CE|CDDL + GPLv2 with classpath exception</licenseMerge>
|
|
<licenseMerge>GPLv2+CE|GPL2 w/ CPE</licenseMerge>
|
|
<licenseMerge>CDDL/GPL|CDDL+GPL License</licenseMerge>
|
|
<licenseMerge>LGPL|lgpl|GNU Lesser General Public License</licenseMerge>
|
|
<licenseMerge>BSD|The BSD License</licenseMerge>
|
|
<licenseMerge>MIT|MIT License</licenseMerge>
|
|
</licenseMerges>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<execution>
|
|
<id>update-file-header</id>
|
|
<goals>
|
|
<goal>update-file-header</goal>
|
|
</goals>
|
|
<phase>process-sources</phase>
|
|
<configuration>
|
|
<organizationName>${license.organizationName}</organizationName>
|
|
<inceptionYear>${license.inceptionYear}</inceptionYear>
|
|
<projectName>${license.projectName}</projectName>
|
|
<copyrightOwners>${license.copyrightOwners}</copyrightOwners>
|
|
<licenseName>${license.licenseName}</licenseName>
|
|
|
|
<!-- plugin documentation recommends "true"
|
|
but we use "false" to look like Apache sources -->
|
|
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
|
|
<emptyLineAfterHeader>false</emptyLineAfterHeader>
|
|
|
|
<excludes>
|
|
<exclude>**/*.json</exclude>
|
|
</excludes>
|
|
<extraExtensions>
|
|
<!-- treat *.cfg files as *.properties -->
|
|
<cfg>properties</cfg>
|
|
</extraExtensions>
|
|
|
|
<ignoreNoFileToScan>true</ignoreNoFileToScan>
|
|
<keepBackup>true</keepBackup>
|
|
|
|
<processStartTag>${license.processStartTag}</processStartTag>
|
|
<processEndTag>${license.processEndTag}</processEndTag>
|
|
<sectionDelimiter>${license.sectionDelimiter}</sectionDelimiter>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>license-aggregate</id>
|
|
<activation>
|
|
<file>
|
|
<exists>aggregate.marker</exists>
|
|
</file>
|
|
</activation>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<version>2.0.0</version>
|
|
<executions>
|
|
<!-- collect all the dependencies through all the underlying modules
|
|
-->
|
|
<execution>
|
|
<id>aggregate-add-third-party</id>
|
|
<goals>
|
|
<goal>aggregate-add-third-party</goal>
|
|
</goals>
|
|
<phase>prepare-package</phase>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/generated-sources/license</outputDirectory>
|
|
<thirdPartyFilename>ALL-DEPENDENCIES</thirdPartyFilename>
|
|
|
|
<acceptPomPackaging>true</acceptPomPackaging>
|
|
<includeTransitiveDependencies>false</includeTransitiveDependencies>
|
|
<excludeTransitiveDependencies>true</excludeTransitiveDependencies>
|
|
<excludedGroups>^ru\.entaxy\.esb</excludedGroups>
|
|
<excludedScopes>test, provided</excludedScopes>
|
|
<licenseMerges>
|
|
<licenseMerge>Apache License, Version 2.0|The Apache Software License, Version 2.0|The Apache License, Version 2.0|Apache 2.0 License|Apache 2.0</licenseMerge>
|
|
<licenseMerge>EDL 1.0|Eclipse Distribution License v. 1.0|Eclipse Distribution License - v 1.0</licenseMerge>
|
|
<licenseMerge>EPL 2.0|Eclipse Public License v. 2.0</licenseMerge>
|
|
<licenseMerge>EPL 1.0|Eclipse Public License v. 1.0|Eclipse Public License v1.0</licenseMerge>
|
|
<licenseMerge>CDDL/GPLv2+CE|CDDL + GPLv2 with classpath exception</licenseMerge>
|
|
<licenseMerge>GPLv2+CE|GPL2 w/ CPE</licenseMerge>
|
|
<licenseMerge>CDDL/GPL|CDDL+GPL License</licenseMerge>
|
|
<licenseMerge>LGPL|lgpl|GNU Lesser General Public License</licenseMerge>
|
|
<licenseMerge>BSD|The BSD License</licenseMerge>
|
|
<licenseMerge>MIT|MIT License</licenseMerge>
|
|
</licenseMerges>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<!--
|
|
@TODO remove version after moving plugins declarations from distribution/pom.xml to root/pom.xml
|
|
-->
|
|
<version>3.2.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-dependencies</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>attach-artifact</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifacts>
|
|
<artifact>
|
|
<file>target/generated-sources/license/ALL-DEPENDENCIES</file>
|
|
<type>deps</type>
|
|
<classifier>aggregated</classifier>
|
|
</artifact>
|
|
</artifacts>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
</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>
|