You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by sg...@apache.org on 2021/10/26 16:01:36 UTC
[freemarker-generator] branch FREEMARKER-201 updated:
FREEMARKER-201 Tweak poms,
update dependencies and add missing licence headers
This is an automated email from the ASF dual-hosted git repository.
sgoeschl pushed a commit to branch FREEMARKER-201
in repository https://gitbox.apache.org/repos/asf/freemarker-generator.git
The following commit(s) were added to refs/heads/FREEMARKER-201 by this push:
new 9beb67b FREEMARKER-201 Tweak poms, update dependencies and add missing licence headers
9beb67b is described below
commit 9beb67bbb0f26fea3970c957c84015f384ad69d7
Author: Siegfried Goeschl <si...@gmail.com>
AuthorDate: Tue Oct 26 18:01:24 2021 +0200
FREEMARKER-201 Tweak poms, update dependencies and add missing licence headers
---
README.md | 9 +++++
freemarker-generator-cli/pom.xml | 35 -------------------
pom.xml | 75 +++++++++-------------------------------
3 files changed, 25 insertions(+), 94 deletions(-)
diff --git a/README.md b/README.md
index 3c9770e..241e661 100644
--- a/README.md
+++ b/README.md
@@ -37,6 +37,15 @@ To build the documentation site run
> mvn clean site site:stage
+Releasing Apache FreeMarker Generator
+-----------------------------------------------------------------------------
+
+Releasing an Apache project is a dark art mastered only be the fiercest of software developers - in other words we try to find out how to make the first release :(
+
+What currently works
+
+> mvn clean install -Prelease
+
Licensing
-----------------------------------------------------------------------------
diff --git a/freemarker-generator-cli/pom.xml b/freemarker-generator-cli/pom.xml
index f366306..847cb97 100644
--- a/freemarker-generator-cli/pom.xml
+++ b/freemarker-generator-cli/pom.xml
@@ -214,39 +214,4 @@
<scope>test</scope>
</dependency>
</dependencies>
-
- <profiles>
- <profile>
- <id>release</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar-no-fork</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-gpg-plugin</artifactId>
- <executions>
- <execution>
- <id>sign-artifacts</id>
- <phase>verify</phase>
- <goals>
- <goal>sign</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
</project>
diff --git a/pom.xml b/pom.xml
index 87d553a..168d1c3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,7 +30,7 @@
<version>0.2.0-SNAPSHOT</version>
<name>Apache FreeMarker Generator</name>
- <url>https://freemarker-generator.apache.org/</url>
+ <url>https://freemarker.apache.org/freemarker-generator/</url>
<issueManagement>
<system>jira</system>
@@ -87,6 +87,7 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.build.outputTimestamp>1</project.build.outputTimestamp>
</properties>
<developers>
@@ -190,6 +191,20 @@
</pluginManagement>
<plugins>
<plugin>
+ <!--
+ See https://stackoverflow.com/questions/53992950/maven-gpg-plugin-failing-with-inappropriate-ioctl-for-device-when-running-unde
+ -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.6</version>
+ <configuration>
+ <gpgArguments>
+ <arg>--pinentry-mode</arg>
+ <arg>loopback</arg>
+ </gpgArguments>
+ </configuration>
+ </plugin>
+ <plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${maven.compiler.source}</source>
@@ -219,64 +234,6 @@
</plugin>
</plugins>
</build>
- <profiles>
- <profile>
- <id>dist</id>
- <!-- Profile for generating all maven artifacts and documentation. -->
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <executions>
- <execution>
- <!-- build javadoc jars per jar for publishing to maven -->
- <id>freemarker-generator-module-javadocs</id>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <!-- builds source jars and attaches them to the project for publishing -->
- <id>freemarker-generator-java-sources</id>
- <phase>package</phase>
- <goals>
- <goal>jar-no-fork</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>sign</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-gpg-plugin</artifactId>
- <executions>
- <execution>
- <id>sign-artifacts</id>
- <phase>verify</phase>
- <goals>
- <goal>sign</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
<reporting>
<plugins>
<plugin>