You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2020/07/25 23:04:31 UTC

[freemarker-docgen] 02/03: Adjusted POM, related to releasing.

This is an automated email from the ASF dual-hosted git repository.

ddekany pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/freemarker-docgen.git

commit e3648eca4f35f21d1202e73266ebf8218e30ec40
Author: ddekany <dd...@apache.org>
AuthorDate: Sat Jul 25 21:42:02 2020 +0200

    Adjusted POM, related to releasing.
---
 pom.xml | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 229b0e6..2891803 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,7 +37,7 @@
         <connection>scm:git:https://gitbox.apache.org/repos/asf/freemarker-docgen.git</connection>
         <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/freemarker-docgen.git</developerConnection>
         <url>https://github.com/apache/freemarker-docgen/tree/${project.scm.tag}</url>
-        <tag>master</tag>
+        <tag />
     </scm>
 
     <properties>
@@ -68,6 +68,16 @@
 
         <plugins>
             <plugin>
+                <artifactId>maven-release-plugin</artifactId>
+                <configuration>
+                    <!-- Note that org.apache:apache already configures this plugin, so we just override settings. -->
+                    <autoVersionSubmodules>true</autoVersionSubmodules>
+                    <localCheckout>true</localCheckout>
+                    <pushChanges>false</pushChanges>
+                </configuration>
+            </plugin>
+            <plugin>
+                <!-- This will make the build fail if there are Rat violations, so we can't overlook that. -->
                 <groupId>org.apache.rat</groupId>
                 <artifactId>apache-rat-plugin</artifactId>
                 <executions>