Added [docgen.insertWithOutput ... systemProperties={"SOME_NAME": "someValue", ....
[freemarker-docgen.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index e8388d5cfacb1432cac5b09f518df9b8eb5e6494..2891803d6adeb93469c2ffcce9085b3e110ca832 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -15,8 +15,7 @@
    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">
+<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>
 
 
     <groupId>org.apache.freemarker.docgen</groupId>
     <artifactId>freemarker-docgen</artifactId>
-    <version>0.0.1</version>
+    <version>0.0.2-SNAPSHOT</version>
+    <packaging>pom</packaging>
+
     <name>Apache FreeMarker Docgen</name>
     <description>Internally used tool to generate HTML from an XDocBook document.</description>
-    <packaging>pom</packaging>
+    <url>https://freemarker.apache.org/</url>
+    <scm>
+        <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 />
+    </scm>
 
     <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <maven.compiler.source>1.8</maven.compiler.source>
         <maven.compiler.target>1.8</maven.compiler.target>
+        <!-- This is updated by the release plugin. This is for Reproducible Builds. -->
+        <project.build.outputTimestamp>2020-07-19T21:32:41Z</project.build.outputTimestamp>
     </properties>
-    
+
     <modules>
-      <module>freemarker-docgen-core</module>
-      <module>freemarker-docgen-ant</module>
-      <module>freemarker-docgen-maven</module>
-      <module>freemarker-docgen-cli</module>
+        <module>freemarker-docgen-core</module>
+        <module>freemarker-docgen-ant</module>
+        <module>freemarker-docgen-maven</module>
+        <module>freemarker-docgen-cli</module>
     </modules>
-    
+
     <build>
         <pluginManagement>
-          <plugins>
-            <plugin>
-                <groupId>org.apache.rat</groupId>
-                <artifactId>apache-rat-plugin</artifactId>
-                <version>0.13</version>
-            </plugin>
-          </plugins>
+            <plugins>
+                <!-- Before adding something here, check if it's already in org.apache:apache! -->
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>exec-maven-plugin</artifactId>
+                    <version>3.0.0</version>
+                </plugin>
+            </plugins>
         </pluginManagement>
-    
+
         <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>
-                <version>0.13</version>
                 <executions>
                     <execution>
                         <phase>verify</phase>