| <?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/xsd/maven-4.0.0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.syncope</groupId> |
| <artifactId>syncope-deb</artifactId> |
| <version>2.1.9</version> |
| </parent> |
| |
| <name>Apache Syncope Deb Core</name> |
| <description>Apache Syncope Deb Core</description> |
| <groupId>org.apache.syncope</groupId> |
| <artifactId>syncope-deb-core</artifactId> |
| <packaging>war</packaging> |
| |
| <properties> |
| <rootpom.basedir>${basedir}/../..</rootpom.basedir> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.syncope.core</groupId> |
| <artifactId>syncope-core-rest-cxf</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.syncope.core</groupId> |
| <artifactId>syncope-core-workflow-java</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.syncope.core</groupId> |
| <artifactId>syncope-core-persistence-jpa</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.syncope.ext.flowable</groupId> |
| <artifactId>syncope-ext-flowable-rest-cxf</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.syncope.ext.camel</groupId> |
| <artifactId>syncope-ext-camel-rest-cxf</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.syncope.ext.camel</groupId> |
| <artifactId>syncope-ext-camel-persistence-jpa</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.syncope.ext.camel</groupId> |
| <artifactId>syncope-ext-camel-provisioning</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.syncope.ext.saml2sp</groupId> |
| <artifactId>syncope-ext-saml2sp-rest-cxf</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.syncope.ext.saml2sp</groupId> |
| <artifactId>syncope-ext-saml2sp-persistence-jpa</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.syncope.ext.scimv2</groupId> |
| <artifactId>syncope-ext-scimv2-rest-cxf</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.syncope.ext.scimv2</groupId> |
| <artifactId>syncope-ext-scimv2-scim-rest-cxf</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.syncope.ext.oidcclient</groupId> |
| <artifactId>syncope-ext-oidcclient-rest-cxf</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.syncope.ext.oidcclient</groupId> |
| <artifactId>syncope-ext-oidcclient-persistence-jpa</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.syncope.ext</groupId> |
| <artifactId>syncope-ext-swagger-ui</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.lmax</groupId> |
| <artifactId>disruptor</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>${project.basedir}/src/deb/tomcat8</directory> |
| <filtering>true</filtering> |
| <targetPath>${project.build.directory}/tomcat8</targetPath> |
| </resource> |
| |
| <resource> |
| <directory>${basedir}/../../core/persistence-jpa/src/main/resources/domains</directory> |
| <targetPath>${project.build.directory}/etc/domains</targetPath> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>${basedir}/../../core/provisioning-java/src/main/resources</directory> |
| <includes> |
| <include>mail.properties</include> |
| <include>connid.properties</include> |
| </includes> |
| <targetPath>${project.build.directory}/etc</targetPath> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>${basedir}/../../ext/flowable/flowable-bpmn/src/main/resources</directory> |
| <includes> |
| <include>workflow.properties</include> |
| <include>userWorkflow.bpmn20.xml</include> |
| </includes> |
| <targetPath>${project.build.directory}/etc</targetPath> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>${basedir}/../../ext/camel/provisioning-camel/src/main/resources</directory> |
| <includes> |
| <include>provisioning.properties</include> |
| <include>userRoutes.xml</include> |
| <include>groupRoutes.xml</include> |
| <include>anyObjectRoutes.xml</include> |
| </includes> |
| <targetPath>${project.build.directory}/etc</targetPath> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>${basedir}/../../core/spring/src/main/resources</directory> |
| <includes> |
| <include>security.properties</include> |
| </includes> |
| <targetPath>${project.build.directory}/etc</targetPath> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>${basedir}/../../core/logic/src/main/resources</directory> |
| <includes> |
| <include>logic.properties</include> |
| </includes> |
| <targetPath>${project.build.directory}/etc</targetPath> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>${basedir}/../../fit/core-reference/src/main/resources</directory> |
| <includes> |
| <include>coreContext.xml</include> |
| <include>log4j2.xml</include> |
| </includes> |
| <targetPath>${project.build.directory}/etc</targetPath> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>${basedir}/../../fit/core-reference/src/main/resources/postgres</directory> |
| <includes> |
| <include>views.xml</include> |
| </includes> |
| <targetPath>${project.build.directory}/etc</targetPath> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>${project.basedir}/../../ext/saml2sp/logic/src/main/resources</directory> |
| <includes> |
| <include>saml2sp-logic.properties</include> |
| </includes> |
| <targetPath>${project.build.directory}/etc</targetPath> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>${basedir}/../../fit/core-reference/src/test/resources</directory> |
| <includes> |
| <include>keystore</include> |
| </includes> |
| <targetPath>${project.build.directory}/etc</targetPath> |
| <filtering>false</filtering> |
| </resource> |
| |
| <resource> |
| <directory>${project.build.directory}/etc</directory> |
| <targetPath>${project.build.directory}/classes</targetPath> |
| </resource> |
| |
| <resource> |
| <directory>${basedir}</directory> |
| <targetPath>META-INF</targetPath> |
| <includes> |
| <include>LICENSE</include> |
| <include>NOTICE</include> |
| </includes> |
| </resource> |
| </resources> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <inherited>true</inherited> |
| <executions> |
| <execution> |
| <id>set-bundles</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/bundles</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- Put NOTICE and LICENSE files in all javadoc artifacts --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-javadoc-legal-files</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/apidocs/META-INF</outputDirectory> |
| <resources> |
| <resource> |
| <directory>../..</directory> |
| <includes> |
| <include>LICENSE</include> |
| <include>NOTICE</include> |
| </includes> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <inherited>false</inherited> |
| <extensions>true</extensions> |
| <configuration> |
| <webXml>${basedir}/../../fit/core-reference/src/main/webapp/WEB-INF/web.xml</webXml> |
| <webResources> |
| <resource> |
| <directory>${basedir}</directory> |
| <targetPath>META-INF</targetPath> |
| <includes> |
| <include>LICENSE</include> |
| <include>NOTICE</include> |
| </includes> |
| </resource> |
| </webResources> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.vafer</groupId> |
| <artifactId>jdeb</artifactId> |
| <inherited>true</inherited> |
| <extensions>true</extensions> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>jdeb</goal> |
| </goals> |
| <configuration> |
| <verbose>false</verbose> |
| <controlDir>${project.basedir}/src/deb/control</controlDir> |
| <deb>${project.build.directory}/apache-syncope-${project.version}.deb</deb> |
| <dataSet> |
| <data> |
| <type>template</type> |
| <paths> |
| <path>/var/lib/apache-syncope</path> |
| <path>${log.directory}</path> |
| </paths> |
| <mapper> |
| <type>perm</type> |
| <user>tomcat8</user> |
| <group>tomcat8</group> |
| </mapper> |
| </data> |
| |
| <data> |
| <src>${project.build.directory}/tomcat8</src> |
| <type>directory</type> |
| <mapper> |
| <type>perm</type> |
| <prefix>/etc/tomcat8/Catalina/localhost</prefix> |
| <user>tomcat8</user> |
| <group>tomcat8</group> |
| </mapper> |
| </data> |
| <data> |
| <src>${project.build.directory}/etc</src> |
| <type>directory</type> |
| <mapper> |
| <type>perm</type> |
| <prefix>${conf.directory}</prefix> |
| <user>tomcat8</user> |
| <group>tomcat8</group> |
| </mapper> |
| </data> |
| <data> |
| <src>src/deb/utils</src> |
| <type>directory</type> |
| <mapper> |
| <type>perm</type> |
| <prefix>/usr/share/apache-syncope</prefix> |
| <user>tomcat8</user> |
| <group>tomcat8</group> |
| </mapper> |
| </data> |
| <data> |
| <src>${project.build.directory}/${project.build.finalName}.war</src> |
| <type>file</type> |
| <mapper> |
| <type>perm</type> |
| <prefix>/usr/share/apache-syncope</prefix> |
| <user>tomcat8</user> |
| <group>tomcat8</group> |
| </mapper> |
| </data> |
| <data> |
| <src>${project.build.directory}/bundles</src> |
| <type>directory</type> |
| <mapper> |
| <type>perm</type> |
| <prefix>${bundles.directory}</prefix> |
| <user>tomcat8</user> |
| <group>tomcat8</group> |
| </mapper> |
| </data> |
| <data> |
| <src>${basedir}</src> |
| <type>directory</type> |
| <includes>LICENSE,NOTICE</includes> |
| <mapper> |
| <type>perm</type> |
| <prefix>/usr/share/doc/apache-syncope</prefix> |
| </mapper> |
| </data> |
| </dataSet> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>checkstyle-check</id> |
| <phase>none</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>apache-release</id> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <inherited>false</inherited> |
| <configuration> |
| <skipSource>true</skipSource> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |