| <?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.10</version> |
| </parent> |
| |
| <name>Apache Syncope Deb Enduser</name> |
| <description>Apache Syncope Deb Enduser</description> |
| <groupId>org.apache.syncope</groupId> |
| <artifactId>syncope-deb-enduser</artifactId> |
| <packaging>war</packaging> |
| |
| <properties> |
| <rootpom.basedir>${basedir}/../..</rootpom.basedir> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.syncope.client</groupId> |
| <artifactId>syncope-client-enduser</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.syncope.ext.flowable</groupId> |
| <artifactId>syncope-ext-flowable-client-enduser</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.syncope.ext.saml2sp</groupId> |
| <artifactId>syncope-ext-saml2sp-client-enduser</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.syncope.ext.oidcclient</groupId> |
| <artifactId>syncope-ext-oidcclient-client-enduser</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>${project.basedir}/../../client/enduser/src/main/resources</directory> |
| <includes> |
| <include>enduser.properties</include> |
| <include>customFormAttributes.json</include> |
| <include>customTemplate.json</include> |
| </includes> |
| <targetPath>${project.build.directory}/etc</targetPath> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>${project.basedir}/../../ext/saml2sp/agent/src/main/resources</directory> |
| <includes> |
| <include>saml2sp-agent.properties</include> |
| </includes> |
| <targetPath>${project.build.directory}/etc</targetPath> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>${project.basedir}/../../ext/oidcclient/agent/src/main/resources</directory> |
| <includes> |
| <include>oidcclient-agent.properties</include> |
| </includes> |
| <targetPath>${project.build.directory}/etc</targetPath> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>${basedir}/../../fit/enduser-reference/src/main/resources</directory> |
| <includes> |
| <include>log4j2.xml</include> |
| </includes> |
| <targetPath>${project.build.directory}/classes</targetPath> |
| <filtering>true</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> |
| <!-- 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/enduser-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-enduser-${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>${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>${basedir}</src> |
| <type>directory</type> |
| <includes>LICENSE,NOTICE</includes> |
| <mapper> |
| <type>perm</type> |
| <prefix>/usr/share/doc/apache-syncope-enduser</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> |