AntBuildFiles
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>net.sf.sf3jswing</groupId>
<artifactId>AntBuildFiles</artifactId>
<version>1.0.19</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>net.sf.sf3jswing</groupId>
<artifactId>AntBuildFiles</artifactId>
<version>1.0.19</version>
<packaging>jar</packaging>
<url>http://www.sourceforge.net/projects/sf3jswing</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<!-- Sonatype Deployment -->
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/releases</url>
</repository>
</distributionManagement>
<profiles>
<profile>
<id>cipher-devid</id>
<activation>
<file>
<!-- CAUTION / This file may contain private information / CAUTION -->
<exists>src/main/resources/Certificates/devid.xml</exists>
</file>
</activation>
<build>
<plugins>
<!-- Need to cipher Certificates files and information -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.5.0</version>
<executions>
<execution>
<id>cipher-certificates-devid</id>
<phase>process-resources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>openssl</executable>
<basedir>src/main/resources/Certificates</basedir>
<arguments>
<argument>aes-256-cbc</argument>
<argument>-in</argument>
<argument>devid.xml</argument>
<argument>-a</argument>
<argument>-out</argument>
<argument>devid.xml.cip</argument>
<argument>-pass</argument>
<argument>pass:${env.CIPHER_PWD}</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>cipher-devid-appl</id>
<activation>
<file>
<!-- CAUTION / This file may contain private information / CAUTION -->
<exists>src/main/resources/Certificates/DeveloperID.p12</exists>
</file>
</activation>
<build>
<plugins> <!-- Need to cipher Certificates files and information -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.5.0</version>
<executions>
<execution>
<id>cipher-certificates-appl</id>
<phase>process-resources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>openssl</executable>
<basedir>src/main/resources/Certificates</basedir>
<arguments>
<argument>aes-256-cbc</argument>
<argument>-in</argument>
<argument>DeveloperID.p12</argument>
<argument>-a</argument>
<argument>-out</argument>
<argument>DeveloperID.p12.cip</argument>
<argument>-pass</argument>
<argument>pass:${env.CIPHER_PWD}</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>cipher-devid-pkey</id>
<activation>
<file>
<!-- CAUTION / This file may contain private information / CAUTION -->
<exists>src/main/resources/Certificates/sf3-crypt.keystore</exists>
</file>
</activation>
<build>
<plugins> <!-- Need to cipher Certificates files and information -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.5.0</version>
<executions>
<execution>
<id>cipher-certificates-appl</id>
<phase>process-resources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>openssl</executable>
<basedir>src/main/resources/Certificates</basedir>
<arguments>
<argument>enc</argument>
<argument>-aes-256-cbc</argument>
<argument>-in</argument>
<argument>sf3-crypt.keystore</argument>
<argument>-a</argument>
<argument>-out</argument>
<argument>sf3-crypt.keystore.cip</argument>
<argument>-pass</argument>
<argument>pass:${env.CIPHER_PWD}</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>distribute-JRE</id>
<build>
<resources>
<resource>
<directory>src/main/resources/JREs</directory>
</resource>
</resources>
<plugins> <!-- This includes platform specific JREs, private certificates and sensitive information -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.2</version>
<executions>
<execution>
<id>local-jar-lnx</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<forceCreation>true</forceCreation>
<classifier>Linux</classifier>
<excludes>
<exclude>**/JREs/*macos*</exclude>
<exclude>**/JREs/*windows*</exclude>
</excludes>
</configuration>
</execution>
<execution>
<id>local-jar-win</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<forceCreation>true</forceCreation>
<classifier>Windows</classifier>
<excludes>
<exclude>**/JREs/*macos*</exclude>
<exclude>**/JREs/*linux*</exclude>
</excludes>
</configuration>
</execution>
<execution>
<id>local-jar-osx</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<forceCreation>true</forceCreation>
<classifier>Mac</classifier>
<excludes>
<exclude>**/JREs/*windows*</exclude>
<exclude>**/JREs/*linux*</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>ossrh-release</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keyname>${env.GPG_KEY}</keyname>
<passphraseServerId>${env.GPG_KEY}</passphraseServerId>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<configuration>
<!-- JavaDoc configuration here for custom layout-->
<tags>
<tag>
<name>default</name>
<placement>m</placement>
<head>Default value :</head>
</tag>
<tag>
<name>discussion</name>
<placement>a</placement>
<head>More about :</head>
</tag>
</tags>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<resources>
<!-- issue #27
https://bitbucket.org/b23prodtm/sf3jswing-git/issues/27/encrypt-certficates-folder-with-openssl
disabled for security reasons on CI targets, local configuration may be deployed accidentally -->
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>**/*.p12</exclude>
<exclude>**/devid.xml</exclude>
<exclude>JREs/**</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0.0</version>
</plugin>
<plugin>
<!-- Sonatype Nexus Staging deployment -->
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>ossrh-release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
</plugins>
</build>
<name>SF3JSWING : AntBuildFiles</name>
<description>This Pom project is supposed to collect Ant files configuration. Sensible information is collected and encrypted, as of certificates and private keys mustn't be shared unencrypted.</description>
<!-- sonatype required information -->
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>Tiana Rakoto</name>
<email>b23prodtm@gmail.com</email>
<organization>b23production GNU/GPL</organization>
<organizationUrl>http://www.b23prodtm.info</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:ssh://git@bitbucket.org/b23prodtm/sf3-afile.git</connection>
<developerConnection>scm:git:ssh://git@bitbucket.org/b23prodtm/sf3-afile.git</developerConnection>
<url>https://bitbucket.org/b23prodtm/sf3-afile</url>
<tag>AntBuildFiles-1.0.19</tag>
</scm>
</project>