You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/10/12 19:45:49 UTC
[maven-parent] branch master updated: [MPOM-223] Introduce parent
for extensions
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-parent.git
The following commit(s) were added to refs/heads/master by this push:
new a59be9f [MPOM-223] Introduce parent for extensions
a59be9f is described below
commit a59be9f737d12b1a84525f4b2b611e7d1e438d54
Author: rfscholte <rf...@apache.org>
AuthorDate: Sat Oct 12 21:45:41 2019 +0200
[MPOM-223] Introduce parent for extensions
---
maven-extensions/pom.xml | 231 +++++++++++++++++++++++++++++++++++++
maven-extensions/site-pom.xml | 44 +++++++
maven-extensions/src/site/site.xml | 30 +++++
pom.xml | 1 +
4 files changed, 306 insertions(+)
diff --git a/maven-extensions/pom.xml b/maven-extensions/pom.xml
new file mode 100644
index 0000000..0fdb7e7
--- /dev/null
+++ b/maven-extensions/pom.xml
@@ -0,0 +1,231 @@
+<?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.maven</groupId>
+ <artifactId>maven-parent</artifactId>
+ <version>34-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.maven.extensions</groupId>
+ <artifactId>maven-extensions</artifactId>
+ <packaging>pom</packaging>
+
+ <name>Apache Maven Extensions</name>
+ <description>Maven Extensions</description>
+ <url>https://maven.apache.org/extensions/</url>
+
+ <distributionManagement>
+ <site>
+ <id>apache.website</id>
+ <url>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/extensions-archives/</url>
+ </site>
+ </distributionManagement>
+
+ <properties>
+ <maven.site.path>extensions-archives/${project.artifactId}-LATEST</maven.site.path>
+ </properties>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <configuration>
+ <issueManagementSystems>
+ <issueManagementSystem>JIRA</issueManagementSystem>
+ </issueManagementSystems>
+ <maxEntries>1000</maxEntries>
+ <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+ <!-- Used by announcement-generate goal -->
+ <templateDirectory>org/apache/maven/extensions</templateDirectory>
+ <!-- Used by announcement-mail goal -->
+ <subject>[ANN] ${project.name} ${project.version} Released</subject>
+ <toAddresses>
+ <toAddress implementation="java.lang.String">announce@maven.apache.org</toAddress>
+ <toAddress implementation="java.lang.String">users@maven.apache.org</toAddress>
+ </toAddresses>
+ <ccAddresses>
+ <ccAddress implementation="java.lang.String">dev@maven.apache.org</ccAddress>
+ </ccAddresses>
+ <!-- These values need to be specified as properties in the profile apache-release in your settings.xml -->
+ <fromDeveloperId>${apache.availid}</fromDeveloperId>
+ <smtpHost>${smtp.host}</smtpHost>
+ </configuration>
+ <dependencies>
+ <!-- Used by announcement-generate goal -->
+ <dependency>
+ <groupId>org.apache.maven.shared</groupId>
+ <artifactId>maven-shared-resources</artifactId>
+ <version>2</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <releaseProfiles>apache-release,run-its</releaseProfiles>
+ </configuration>
+ </plugin>
+ <!-- publish mono-module site with "mvn site-deploy" -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <configuration>
+ <skipDeploy>true</skipDeploy><!-- don't deploy site with maven-site-plugin -->
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-publish-plugin</artifactId>
+ <configuration>
+ <content>${project.reporting.outputDirectory}</content><!-- no need for site:stage, use target/site -->
+ </configuration>
+ <executions>
+ <execution>
+ <id>scm-publish</id>
+ <phase>site-deploy</phase><!-- deploy site with maven-scm-publish-plugin -->
+ <goals>
+ <goal>publish-scm</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <id>ensure-no-container-api</id>
+ <configuration>
+ <rules>
+ <bannedDependencies>
+ <excludes>
+ <exclude>org.codehaus.plexus:plexus-component-api</exclude>
+ </excludes>
+ <message>The new containers are not supported. You probably added a dependency that is missing the exclusions.</message>
+ </bannedDependencies>
+ </rules>
+ <fail>true</fail>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>quality-checks</id>
+ <activation>
+ <property>
+ <name>quality-checks</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-docck-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>docck-check</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>run-its</id>
+ <properties>
+ <!-- when testing with JDK9, change these values to 1.6 from cmdline -->
+ <invoker.maven.compiler.source>${maven.compiler.source}</invoker.maven.compiler.source>
+ <invoker.maven.compiler.target>${maven.compiler.target}</invoker.maven.compiler.target>
+ <maven.it.failure.ignore>false</maven.it.failure.ignore>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-invoker-plugin</artifactId>
+ <configuration>
+ <debug>true</debug>
+ <projectsDirectory>src/it</projectsDirectory>
+ <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
+ <preBuildHookScript>setup</preBuildHookScript>
+ <postBuildHookScript>verify</postBuildHookScript>
+ <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
+ <settingsFile>src/it/settings.xml</settingsFile>
+ <pomIncludes>
+ <pomInclude>*/pom.xml</pomInclude>
+ </pomIncludes>
+ <properties>
+ <maven.compiler.source>${invoker.maven.compiler.source}</maven.compiler.source>
+ <maven.compiler.target>${invoker.maven.compiler.target}</maven.compiler.target>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
+ <ignoreFailures>${maven.it.failure.ignore}</ignoreFailures>
+ </configuration>
+ <executions>
+ <execution>
+ <id>integration-test</id>
+ <goals>
+ <goal>install</goal>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>reporting</id>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-invoker-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </reporting>
+ </profile>
+ </profiles>
+</project>
diff --git a/maven-extensions/site-pom.xml b/maven-extensions/site-pom.xml
new file mode 100644
index 0000000..98dea5e
--- /dev/null
+++ b/maven-extensions/site-pom.xml
@@ -0,0 +1,44 @@
+<?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.maven</groupId>
+ <artifactId>maven-parent.</artifactId>
+ <version>33</version>
+ <relativePath>../site-pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-extensions</artifactId>
+ <packaging>pom</packaging>
+
+ <name>Apache Maven Extensions Parent POM</name>
+ <description>This project consists of a POM that contains settings that are likely to be useful to any Maven extension that is building and releasing code with Maven.</description>
+
+ <issueManagement>
+ <system>jira</system>
+ <url>https://issues.apache.org/jira/issues/?jql=project%20%3D%20MPOM%20AND%20component%20%3D%20maven-extensions</url>
+ </issueManagement>
+</project>
diff --git a/maven-extensions/src/site/site.xml b/maven-extensions/src/site/site.xml
new file mode 100644
index 0000000..2eae3c0
--- /dev/null
+++ b/maven-extensions/src/site/site.xml
@@ -0,0 +1,30 @@
+<?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/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd">
+
+ <body>
+ <breadcrumbs>
+ <item name="Extensions" href="https://maven.apache.org/extensions/index.html" />
+ </breadcrumbs>
+ </body>
+</project>
diff --git a/pom.xml b/pom.xml
index ca1e7f3..1e3f93f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -849,6 +849,7 @@ under the License.
</mailingLists>
<modules>
+ <module>maven-extensions</module>
<module>maven-plugins</module>
<module>maven-shared-components</module>
<module>maven-skins</module>