phase4-lib
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.helger.phase4</groupId>
<artifactId>phase4-lib</artifactId>
<version>4.6.1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2015-2026 Philip Helger (www.helger.com)
philip[at]helger[dot]com
Licensed 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>
<groupId>com.helger.phase4</groupId>
<artifactId>phase4-parent-pom</artifactId>
<version>4.6.1</version>
</parent>
<artifactId>phase4-lib</artifactId>
<packaging>jar</packaging>
<name>phase4-lib</name>
<description>AS4 common library</description>
<url>https://github.com/phax/phase4/phase4-lib</url>
<inceptionYear>2015</inceptionYear>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<dependencies>
<dependency>
<groupId>org.apache.wss4j</groupId>
<artifactId>wss4j-ws-security-dom</artifactId>
</dependency>
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-xml</artifactId>
</dependency>
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-jaxb</artifactId>
</dependency>
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-jaxb-adapter</artifactId>
</dependency>
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-datetime</artifactId>
</dependency>
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-bc</artifactId>
<!-- Optional for normal AS4 use. Required for the deprecated BC-based OID API and for
reflection/AOT tools that eagerly resolve all method descriptors. -->
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-scopes</artifactId>
</dependency>
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-json</artifactId>
</dependency>
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-config</artifactId>
</dependency>
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-http</artifactId>
</dependency>
<dependency>
<groupId>com.helger.web</groupId>
<artifactId>ph-mail</artifactId>
</dependency>
<dependency>
<groupId>com.helger.web</groupId>
<artifactId>ph-httpclient</artifactId>
</dependency>
<dependency>
<groupId>com.helger.web</groupId>
<artifactId>ph-web</artifactId>
</dependency>
<dependency>
<groupId>com.helger.web</groupId>
<artifactId>ph-xservlet</artifactId>
</dependency>
<dependency>
<groupId>com.helger.xsd</groupId>
<artifactId>ph-xsds-xmldsig</artifactId>
</dependency>
<dependency>
<groupId>com.helger.xsd</groupId>
<artifactId>ph-xsds-xlink</artifactId>
</dependency>
<dependency>
<groupId>com.helger.masterdata</groupId>
<artifactId>ph-tenancy</artifactId>
</dependency>
<dependency>
<groupId>com.helger.schedule</groupId>
<artifactId>ph-schedule</artifactId>
</dependency>
<dependency>
<groupId>com.helger.photon</groupId>
<artifactId>ph-oton-io</artifactId>
</dependency>
<dependency>
<groupId>com.helger.photon</groupId>
<artifactId>ph-oton-audit</artifactId>
</dependency>
<dependency>
<groupId>com.helger.photon</groupId>
<artifactId>ph-oton-security</artifactId>
<exclusions>
<exclusion>
<groupId>com.helger.masterdata</groupId>
<artifactId>ph-tenancy-accarea</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-unittest-support-ext</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.helger.photon</groupId>
<artifactId>ph-oton-app</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<!-- Don't specify the targetPath because this leads to a broken JAR file
in combination with the bundle plugin (absolute file paths in ZIP file) -->
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*.properties</include>
</includes>
</resource>
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>**/*.properties</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>com.helger.phase4</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>${jaxb-plugin.group}</groupId>
<artifactId>${jaxb-plugin.artifact}</artifactId>
<version>${jaxb-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<bindingDirectory>${basedir}/src/main/jaxb</bindingDirectory>
<schemaDirectory>${basedir}/src/main/resources/external/schemas</schemaDirectory>
<extension>true</extension>
<strict>false</strict>
<catalog>${basedir}/src/main/jaxb/catalog.txt</catalog>
<args>
<arg>-no-header</arg>
<arg>-Xph-default-locale</arg>
<arg>en_US</arg>
<arg>-Xph-package-null-marked</arg>
<arg>-Xph-annotate</arg>
<arg>-Xph-fields-private</arg>
<arg>-Xph-code-quality</arg>
<arg>-Xph-implements</arg>
<arg>java.io.Serializable</arg>
<arg>-Xph-equalshashcode</arg>
<arg>-Xph-tostring</arg>
<arg>-Xph-list-extension</arg>
<arg>-Xph-csu</arg>
<arg>-Xph-cloneable2</arg>
<arg>-Xph-value-extender</arg>
<arg>-Xph-offset-dt-extension</arg>
</args>
<episodes>
<episode>
<groupId>com.helger.xsd</groupId>
<artifactId>ph-xsds-xlink</artifactId>
</episode>
<episode>
<groupId>com.helger.xsd</groupId>
<artifactId>ph-xsds-xmldsig</artifactId>
</episode>
</episodes>
</configuration>
<dependencies>
<dependency>
<groupId>com.helger.xsd</groupId>
<artifactId>ph-xsds-xlink</artifactId>
<version>${ph-xsds.version}</version>
</dependency>
<dependency>
<groupId>com.helger</groupId>
<artifactId>ph-jaxb-plugin</artifactId>
<version>${ph-jaxb-plugin.version}</version>
</dependency>
</dependencies>
</plugin>
<!-- Delete the directory with only ObjectFactory
Source: http://stackoverflow.com/questions/32635137
-->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<delete dir="${basedir}/target/generated-sources/xjc/com/helger/xsds/" />
<delete dir="${basedir}/target/generated-sources/xjc/com/helger/phase4/xlink/" />
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>17</source>
<sourcepath>
${project.build.sourceDirectory}:${project.build.directory}/generated-sources/xjc
</sourcepath>
</configuration>
</plugin>
</plugins>
</build>
</project>