forge-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.fabric8.forge</groupId> <artifactId>forge-parent</artifactId> <version>2.3.90</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2005-2015 Red Hat, Inc. Red Hat 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.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>9</version> </parent> <groupId>io.fabric8.forge</groupId> <artifactId>forge-parent</artifactId> <version>2.3.90</version> <packaging>pom</packaging> <name>Fabric8 :: Forge Parent</name> <url>http://fabric8.io/</url> <inceptionYear>2016</inceptionYear> <organization> <name>Red Hat</name> <url>http://redhat.com</url> </organization> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <prerequisites> <maven>3.2.1</maven> </prerequisites> <!-- including A developer as it's required by the maven poms going into central --> <developers> <developer> <id>geeks</id> <name>Fabric8 Development Team</name> <email>fabric8@googlegroups.com</email> <organization>fabric8</organization> <organizationUrl>http://fabric8.io/</organizationUrl> </developer> </developers> <scm> <connection>scm:git:git@github.com:fabric8io/fabric8-forge.git</connection> <developerConnection>scm:git:git@github.com:fabric8io/fabric8-forge.git</developerConnection> <url>http://github.com/fabric8io/fabric8-forge</url> <tag>fabric8-forge-2.0.1</tag> </scm> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <!-- lets disable S2I for our releases --> <fabric8.mode>kubernetes</fabric8.mode> <fabric8.version>2.2.199</fabric8.version> <fabric8.archetypes.release.version>2.2.197</fabric8.archetypes.release.version> <fabric8.devops.version>2.2.323</fabric8.devops.version> <fabric8.django.version>2.3.14</fabric8.django.version> <furnace.version>2.25.2.Final</furnace.version> <jboss.forge.version>3.5.1.Final</jboss.forge.version> <jboss.roaster.version>2.19.5.Final</jboss.roaster.version> <gitective.version>0.9.18</gitective.version> <jenkins-client.version>0.3.6</jenkins-client.version> <!-- NOTE these properties are used to generate the addons/utils/src/main/resources/io/fabric8/forge/addon/utils/versions.properties file --> <arquillian.version>1.1.11.Final</arquillian.version> <hawtio.version>1.4.66</hawtio.version> <junit.version>4.12</junit.version> <shrinkwrap-resolver.version>2.2.1</shrinkwrap-resolver.version> <!-- maven plugins --> <buildnumber.plugin.version>1.3</buildnumber.plugin.version> <exec-maven-plugin.version>1.4.0</exec-maven-plugin.version> <fabric8.maven.plugin.version>3.2.9</fabric8.maven.plugin.version> <maven.enforcer.plugin.version>1.4</maven.enforcer.plugin.version> <maven.jar.plugin.version>2.6</maven.jar.plugin.version> <maven.javadoc.plugin.version>2.10.3</maven.javadoc.plugin.version> <maven.failsafe.plugin.version>2.19</maven.failsafe.plugin.version> <maven.require.version>3.1.1</maven.require.version> <maven.surefire.plugin.version>2.17</maven.surefire.plugin.version> <maven.plugin.plugin.version>3.4</maven.plugin.plugin.version> <maven.webdav.jackrabbit.version>2.10</maven.webdav.jackrabbit.version> </properties> <distributionManagement> <repository> <id>oss-sonatype-staging</id> <name>Sonatype Staging Repository</name> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> </repository> <snapshotRepository> <id>oss-sonatype-snapshots</id> <name>OSS Sonatype Nexus Snapshots</name> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <repositories> <repository> <id>oss-sonatype-snapshots</id> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> <name>OSS Sonatype Nexus Snapshots</name> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>oss-sonatype-snapshots</id> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> <name>OSS Sonatype Nexus Snapshots</name> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> <modules> <module>addons</module> <module>fabric8-forge-maven-plugin</module> <module>fabric8-forge-core</module> <!-- TODO: work in progress, swarm fail due CXF issue <module>fabric8-forge-swarm</module> --> <module>fabric8-forge-rest-client</module> <module>fabric8-forge-web</module> <module>fabric8-forge</module> <module>packages</module> </modules> <build> <defaultGoal>clean install</defaultGoal> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven.javadoc.plugin.version}</version> <configuration> <additionalparam>${javadoc.opts}</additionalparam> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.6</version> <configuration> <nonFilteredFileExtensions> <nonFilteredFileExtension>zip</nonFilteredFileExtension> <nonFilteredFileExtension>gz</nonFilteredFileExtension> <nonFilteredFileExtension>jar</nonFilteredFileExtension> </nonFilteredFileExtensions> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>${maven.enforcer.plugin.version}</version> <executions> <execution> <id>enforce-versions</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>${maven.require.version}</version> </requireMavenVersion> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5</version> <configuration> <releaseProfiles>docker-push,docker-public</releaseProfiles> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${maven.jar.plugin.version}</version> <configuration> <archive> <index>true</index> <manifest> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest> <manifestEntries> <Implementation-URL>${project.url}</Implementation-URL> <Java-Version>${java.version}</Java-Version> <Java-Vendor>${java.vendor}</Java-Vendor> <Os-Name>${os.name}</Os-Name> <Os-Arch>${os.arch}</Os-Arch> <Os-Version>${os.version}</Os-Version> <Scm-Url>${project.scm.url}</Scm-Url> <Scm-Connection>${project.scm.connection}</Scm-Connection> <Scm-Revision>${buildNumber}</Scm-Revision> <Build-Timestamp>${build.datetime}</Build-Timestamp> </manifestEntries> </archive> </configuration> </plugin> <!-- Set properties containing the scm revision and build timestamp --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> <version>${buildnumber.plugin.version}</version> <executions> <execution> <id>get-build-timestamp</id> <phase>initialize</phase> <goals> <goal>create-timestamp</goal> </goals> <configuration> <!-- Example date: Wed, 4 Jul 2001 12:08:56 -0700 --> <timestampFormat>EEE, d MMM yyyy HH:mm:ss Z</timestampFormat> <timestampPropertyName>build.datetime</timestampPropertyName> </configuration> </execution> <execution> <id>get-scm-revision</id> <phase>initialize</phase> <goals> <goal>create</goal> </goals> <configuration> <doCheck>false</doCheck> <doUpdate>false</doUpdate> <revisionOnScmFailure>UNKNOWN</revisionOnScmFailure> <getRevisionOnlyOnce>true</getRevisionOnlyOnce> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>cxf-snapshot</id> <properties> <cxf.version>3.2.0-SNAPSHOT</cxf.version> </properties> <repositories> <repository> <id>apache-snapshots</id> <url>https://repository.apache.org/content/groups/snapshots</url> <name>ASF Snapshots</name> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>apache-snapshots</id> <url>https://repository.apache.org/content/groups/snapshots</url> <name>ASF Snapshots</name> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> <dependencyManagement> <dependencies> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-service-description</artifactId> <version>${cxf.version}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-integration-cdi</artifactId> <version>${cxf.version}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxrs</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-management</artifactId> <version>${cxf.version}</version> </dependency> </dependencies> </dependencyManagement> </profile> <profile> <id>fabric8-snapshot</id> <properties> <fabric8.version>2.3-SNAPSHOT</fabric8.version> <fabric8.dockerPrefix/> </properties> </profile> <profile> <id>forge-snapshot</id> <properties> <jboss.forge.version>3.0.0-SNAPSHOT</jboss.forge.version> </properties> </profile> <profile> <id>ipaas-snapshot</id> <properties> <fabric8.archetypes.release.version>2.2.94-SNAPSHOT</fabric8.archetypes.release.version> </properties> </profile> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>${maven.enforcer.plugin.version}</version> <executions> <execution> <id>enforce-no-snapshots</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireReleaseDeps> <message>No Snapshots Allowed!</message> </requireReleaseDeps> </rules> <fail>true</fail> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> <configuration> <additionalparam>${javadoc.opts}</additionalparam> </configuration> </execution> </executions> </plugin> <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</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>license</id> <build> <plugins> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <version>2.6</version> <configuration> <includes> <include>src/main/java/**</include> <include>src/test/java/**</include> <include>pom.xml</include> <include>**/*.xml</include> <include>**/*.cfg</include> <include>**/*.properties</include> </includes> <excludes> <!-- exclude sampel data --> <exclude>**/src/data/**</exclude> <exclude>**/resources/data/**</exclude> <!-- exclude hidden dir --> <exclude>**/.*/**</exclude> </excludes> </configuration> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>doclint-java8-disable</id> <activation> <jdk>[1.8,)</jdk> </activation> <properties> <javadoc.opts>-Xdoclint:none</javadoc.opts> </properties> </profile> </profiles> </project>