You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dolphinscheduler.apache.org by ga...@apache.org on 2020/07/25 09:15:07 UTC
[incubator-dolphinscheduler-maven-plugin] 01/03: test
This is an automated email from the ASF dual-hosted git repository.
gaojun2048 pushed a commit to branch 1.0.0-release
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler-maven-plugin.git
commit c24b2e323fc051f439e58a664a7c7113c5a24de4
Author: gaojun2048 <ga...@apache.org>
AuthorDate: Sat Jul 25 17:11:10 2020 +0800
test
---
pom.xml | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 56 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index 4961d22..32de637 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ 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
@@ -173,11 +173,13 @@
<artifactId>takari-lifecycle-plugin</artifactId>
<version>${takariLifecycleVersion}</version>
<configuration>
+ <!-- compile/testCompile -->
<source>${takari.javaSourceVersion}</source>
<compilerId>${takari.compilerId}</compilerId>
<transitiveDependencyReference>${takari.transitiveDependencyReference}</transitiveDependencyReference>
<privatePackageReference>${takari.privatePackageReference}</privatePackageReference>
<proc>${takari.annotationProcessing}</proc>
+ <!-- jar -->
<sourceJar>${takari.sourceJar}</sourceJar>
<testJar>${takari.testJar}</testJar>
</configuration>
@@ -202,6 +204,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
+ <!-- disable accidental use, must use takari-lifecycle -->
<skip>true</skip>
<skipMain>true</skipMain>
</configuration>
@@ -211,6 +214,7 @@
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<configuration>
+ <!-- disable accidental use, must use takari-lifecycle -->
<skip>true</skip>
</configuration>
</plugin>
@@ -239,6 +243,7 @@
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
<configuration>
+ <!-- disable accidental use, must use takari-lifecycle -->
<skip>true</skip>
</configuration>
</plugin>
@@ -247,10 +252,25 @@
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<configuration>
+ <!-- disable accidental use, must use takari-lifecycle -->
<skip>true</skip>
</configuration>
</plugin>
-
+ <!-- START SNIPPET: release-plugin-configuration -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.5.3</version>
+ <configuration>
+ <localCheckout>true</localCheckout>
+ <pushChanges>false</pushChanges>
+ <useReleaseProfile>false</useReleaseProfile>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+ <goals>deploy</goals>
+ <arguments>--batch-mode -Ptakari-release</arguments>
+ </configuration>
+ </plugin>
+ <!-- END SNIPPET: release-plugin-configuration -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
@@ -261,6 +281,7 @@
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
<configuration>
+ <!-- disable accidental use, must use takari-lifecycle -->
<skip>true</skip>
</configuration>
</plugin>
@@ -388,5 +409,37 @@
</plugins>
</pluginManagement>
</build>
-
+ <profiles>
+ <!-- START SNIPPET: release-profile -->
+ <profile>
+ <id>takari-release</id>
+ <build>
+ <plugins>
+ <!-- We want to sign the artifact, the POM, and all attached artifacts -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <configuration>
+ <passphrase>${gpg.passphrase}</passphrase>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <!-- END SNIPPET: release-profile -->
+ </profiles>
</project>