| <?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</artifactId> |
| <version>2.1.13</version> |
| </parent> |
| |
| <name>Apache Syncope Installer</name> |
| <description>Apache Syncope Installer</description> |
| |
| <groupId>org.apache.syncope</groupId> |
| <artifactId>syncope-installer</artifactId> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <rootpom.basedir>${basedir}/..</rootpom.basedir> |
| |
| <staging.dir>${project.build.directory}/staging</staging.dir> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.izpack</groupId> |
| <artifactId>izpack-compiler</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>com.incors</groupId> |
| <artifactId>kunstoff-laf</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.izpack</groupId> |
| <artifactId>izpack-panel</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-invoker</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpmime</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-annotations</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.jasypt</groupId> |
| <artifactId>jasypt</artifactId> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| |
| <defaultGoal>package</defaultGoal> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-resources</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${staging.dir}</outputDirectory> |
| <resources> |
| <resource> |
| <directory>src/main/resources/izpack</directory> |
| <filtering>false</filtering> |
| </resource> |
| <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-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-izpack-dependencies</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/staging/lib</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.izpack</groupId> |
| <artifactId>izpack-maven-plugin</artifactId> |
| <configuration> |
| <attach>false</attach> |
| <descriptorEncoding>${project.build.sourceEncoding}</descriptorEncoding> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>izpack</goal> |
| </goals> |
| <configuration> |
| <baseDir>${staging.dir}</baseDir> |
| <installFile>${staging.dir}/install.xml</installFile> |
| <classifier>uber</classifier> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <includeResources>false</includeResources> |
| </configuration> |
| </plugin> |
| </plugins> |
| |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <includes> |
| <include>installer.properties</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>${basedir}/../fit/core-reference/src/main/resources/jboss/domains</directory> |
| <includes> |
| <include>**/MasterDomain.xml</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>${basedir}/../fit/core-reference/src/main/resources/all</directory> |
| <includes> |
| <include>workflow.properties</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>${basedir}/../fit/core-reference/src/main/resources</directory> |
| <includes> |
| <include>provisioning.properties</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>${basedir}</directory> |
| <targetPath>META-INF</targetPath> |
| <includes> |
| <include>LICENSE</include> |
| <include>NOTICE</include> |
| </includes> |
| </resource> |
| </resources> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>site</id> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctor-maven-plugin</artifactId> |
| <inherited>false</inherited> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <inherited>true</inherited> |
| <configuration> |
| <skip>true</skip> |
| <skipDeploy>true</skipDeploy> |
| <generateReports>false</generateReports> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-docs-to-site</id> |
| <phase>none</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <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> |