| <?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-fit</artifactId> |
| <version>2.1.12-SNAPSHOT</version> |
| </parent> |
| |
| <name>Apache Syncope FIT Build Tools</name> |
| <description>Apache Syncope FIT Build Tools</description> |
| <groupId>org.apache.syncope.fit</groupId> |
| <artifactId>syncope-fit-build-tools</artifactId> |
| <packaging>war</packaging> |
| |
| <properties> |
| <rootpom.basedir>${basedir}/../..</rootpom.basedir> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.validation</groupId> |
| <artifactId>validation-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.directory.server</groupId> |
| <artifactId>apacheds-core-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.directory.server</groupId> |
| <artifactId>apacheds-core-annotations</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.directory.server</groupId> |
| <artifactId>apacheds-service-builder</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.directory.api</groupId> |
| <artifactId>api-ldap-codec-standalone</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.xml.ws</groupId> |
| <artifactId>jaxws-api</artifactId> |
| <version>2.3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-frontend-jaxws</artifactId> |
| <version>${cxf.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-core</artifactId> |
| <version>${cxf.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-transports-http</artifactId> |
| <version>${cxf.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-ws-policy</artifactId> |
| <version>${cxf.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-wsdl</artifactId> |
| <version>${cxf.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>net.tirasa.connid.bundles.soap</groupId> |
| <artifactId>soap-utilities</artifactId> |
| <version>${connid.soap.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-frontend-jaxws</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-frontend-jaxrs</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-rs-service-description</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-rs-service-description-openapi-v3</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| <artifactId>jackson-jaxrs-json-provider</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| <artifactId>jackson-jaxrs-yaml-provider</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>swagger-ui</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-jdbc</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-web</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.h2database</groupId> |
| <artifactId>h2</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>net.tirasa.connid</groupId> |
| <artifactId>connector-framework</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>net.tirasa.connid</groupId> |
| <artifactId>connector-framework-internal</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>net.tirasa.connid</groupId> |
| <artifactId>slf4j-logging</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-templates</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-bsf</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-jsr223</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-datetime</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-dateutil</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-sql</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.icegreen</groupId> |
| <artifactId>greenmail</artifactId> |
| </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> |
| <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> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- repackage the ConnId SOAP bundle to avoid conflicts with local CXF's SOAP service implementation --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <inherited>true</inherited> |
| <executions> |
| <execution> |
| <id>repack-soap-bundle</id> |
| <phase>prepare-package</phase> |
| <configuration> |
| <target> |
| <unzip src="${bundles.directory}/net.tirasa.connid.bundles.soap-${connid.soap.version}-bundle.jar" |
| dest="${bundles.directory}/soap"> |
| <patternset> |
| <include name="META-INF/*"/> |
| <include name="net/**"/> |
| <include name="lib/soap-utilities-${connid.soap.version}.jar"/> |
| </patternset> |
| </unzip> |
| |
| <delete file="${bundles.directory}/net.tirasa.connid.bundles.soap-${connid.soap.version}-bundle.jar"/> |
| |
| <jar destfile="${bundles.directory}/net.tirasa.connid.bundles.soap-${connid.soap.version}-bundle.jar" |
| basedir="${bundles.directory}/soap" |
| filesetmanifest="merge"/> |
| |
| <delete dir="${bundles.directory}/soap"/> |
| </target> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <inherited>true</inherited> |
| <configuration> |
| <webResources> |
| <resource> |
| <directory>${basedir}</directory> |
| <targetPath>META-INF</targetPath> |
| <includes> |
| <include>LICENSE</include> |
| <include>NOTICE</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>${bundles.directory}</directory> |
| <targetPath>WEB-INF/bundles</targetPath> |
| </resource> |
| </webResources> |
| <packagingExcludes>WEB-INF/classes/META-INF/LICENSE*,WEB-INF/classes/META-INF/NOTICE*,WEB-INF/classes/META-INF/DEPENDENCIES*</packagingExcludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>${basedir}</directory> |
| <targetPath>META-INF</targetPath> |
| <includes> |
| <include>LICENSE</include> |
| <include>NOTICE</include> |
| </includes> |
| </resource> |
| </resources> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>debug</id> |
| |
| <build> |
| <defaultGoal>clean verify cargo:run</defaultGoal> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.cargo</groupId> |
| <artifactId>cargo-maven2-plugin</artifactId> |
| <inherited>true</inherited> |
| <configuration> |
| <container> |
| <dependencies> |
| <dependency> |
| <groupId>com.h2database</groupId> |
| <artifactId>h2</artifactId> |
| </dependency> |
| </dependencies> |
| </container> |
| <configuration> |
| <type>standalone</type> |
| <properties> |
| <cargo.servlet.port>${cargo.servlet.port}</cargo.servlet.port> |
| <cargo.tomcat.ajp.port>${cargo.tomcat.ajp.port}</cargo.tomcat.ajp.port> |
| <cargo.rmi.port>${cargo.rmi.port}</cargo.rmi.port> |
| |
| <cargo.jvmargs>-Xdebug -Djaxb.debug=true -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n |
| -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:MaxPermSize=512m -Xmx1024m -Xms512m</cargo.jvmargs> |
| </properties> |
| </configuration> |
| <deployables> |
| <deployable> |
| <location>${project.build.directory}/${project.build.finalName}</location> |
| <properties> |
| <context>syncope-fit-build-tools</context> |
| </properties> |
| </deployable> |
| </deployables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |