archetype-resources.pom.xml Maven / Gradle / Ivy
Go to download
This module defines a standard parent POM to use for various Incode applications and modules.
Its primary purpose is to make it easy to use a set up maven mixins (https://github.com/odavid/maven-plugins)
within child POMs. Specifically this means locking down the versions of plugins using pluginManagement.
It does NOT define any mixins for Apache Isis.
<?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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.incode</groupId> <artifactId>incode-build</artifactId> <version>2</version> </parent> <groupId>${groupId}</groupId> <artifactId>${artifactId}</artifactId> <version>${version}</version> <name>SimpleApp Parent</name> <packaging>pom</packaging> <prerequisites> <maven>3.0.4</maven> </prerequisites> <properties> <isis.version>1.15.1</isis.version> <lombok.version>1.16.18</lombok.version> <compiler-plugin.source>1.7</compiler-plugin.source> <compiler-plugin.target>1.7</compiler-plugin.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> </properties> <build> <plugins> <plugin> <groupId>com.github.odavid.maven.plugins</groupId> <artifactId>mixin-maven-plugin</artifactId> <version>0.1-alpha-39</version> <extensions>true</extensions> <configuration> <mixins> <mixin> <groupId>com.danhaywood.mavenmixin</groupId> <artifactId>standard</artifactId> </mixin> </mixins> </configuration> </plugin> </plugins> </build> <repositories> <repository> <id>apache.snapshots</id> <name>Apache Snapshots</name> <url>https://repository.apache.org/content/repositories/snapshots/</url> <releases> <enabled>false</enabled> </releases> <snapshots> </snapshots> </repository> <repository> <id>Cloudbees snapshots</id> <url>http://repository-estatio.forge.cloudbees.com/snapshot/</url> <name>CloudBees Snapshots (and Interim Releases)</name> <releases> <updatePolicy>never</updatePolicy> <checksumPolicy>fail</checksumPolicy> </releases> <snapshots> <updatePolicy>never</updatePolicy> <checksumPolicy>fail</checksumPolicy> </snapshots> <layout>default</layout> </repository> <repository> <id>sonatype-snapshots</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <snapshots> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>estatio.snapshots</id> <name>CloudBees Snapshots (and Interim Releases)</name> <releases> <updatePolicy>never</updatePolicy> <checksumPolicy>fail</checksumPolicy> </releases> <url>http://repository-estatio.forge.cloudbees.com/snapshot/</url> <layout>default</layout> </pluginRepository> </pluginRepositories> <dependencyManagement> <dependencies> <dependency> <groupId>org.apache.isis.core</groupId> <artifactId>isis</artifactId> <version>${isis.version}</version> <type>pom</type> <scope>import</scope> </dependency> <!-- this project's own modules --> <dependency> <groupId>${project.groupId}</groupId> <artifactId>${rootArtifactId}-module-simple</artifactId> <version>${version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>${rootArtifactId}-module-simple</artifactId> <version>${version}</version> <type>test-jar</type> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>${rootArtifactId}-application</artifactId> <version>${version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>${rootArtifactId}-webapp</artifactId> <version>${version}</version> </dependency> <!-- lombok --> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> <scope>provided</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <scope>provided</scope> </dependency> </dependencies> <profiles> <profile> <id>m2e</id> <activation> <property> <name>m2e.version</name> </property> </activation> <build> <directory>target-ide</directory> </build> </profile> </profiles> </project>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy