You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@baremaps.apache.org by js...@apache.org on 2023/03/24 12:32:52 UTC

[incubator-baremaps] branch 606-version-app-readme created (now bd4931c0)

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

jsmith pushed a change to branch 606-version-app-readme
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git


      at bd4931c0 Add version of the application into the README

This branch includes the following new commits:

     new bd4931c0 Add version of the application into the README

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-baremaps] 01/01: Add version of the application into the README

Posted by js...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jsmith pushed a commit to branch 606-version-app-readme
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git

commit bd4931c0755a74feaf89ba12ea85a77f1ae6924d
Author: James Smith <sw...@gmail.com>
AuthorDate: Fri Mar 24 12:04:56 2023 +0100

    Add version of the application into the README
---
 README                                      | 2 +-
 baremaps-cli/pom.xml                        | 3 +++
 baremaps-cli/src/assembly/bin.xml           | 9 +++++++++
 baremaps-cli/src/assembly/filter.properties | 1 +
 baremaps-cli/src/assembly/src.xml           | 7 +++++++
 5 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/README b/README
index deb4bdc9..beb63030 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-# Apache Baremaps (incubating)
+# Apache Baremaps (incubating) ${project.version}
 
 Apache Baremaps is a toolkit for creating custom vector tiles from OpenStreetMap
 and other data sources with Postgis and Java.
diff --git a/baremaps-cli/pom.xml b/baremaps-cli/pom.xml
index 6d819f88..29819463 100644
--- a/baremaps-cli/pom.xml
+++ b/baremaps-cli/pom.xml
@@ -99,6 +99,9 @@
             </goals>
             <phase>package</phase>
             <configuration>
+              <filters>
+                <filter>src/assembly/filter.properties</filter>
+              </filters>
               <finalName>${project.parent.artifactId}-${project.parent.version}-incubating-src</finalName>
               <appendAssemblyId>false</appendAssemblyId>
               <descriptors>
diff --git a/baremaps-cli/src/assembly/bin.xml b/baremaps-cli/src/assembly/bin.xml
index 14fbe120..b98c6898 100644
--- a/baremaps-cli/src/assembly/bin.xml
+++ b/baremaps-cli/src/assembly/bin.xml
@@ -26,8 +26,17 @@
         <include>DISCLAIMER-WIP</include>
         <include>LICENSE</include>
         <include>NOTICE</include>
+      </includes>
+      <lineEnding>unix</lineEnding>
+      <fileMode>0755</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>../.</directory>
+      <outputDirectory>.</outputDirectory>
+      <includes>
         <include>README</include>
       </includes>
+      <filtered>true</filtered>
       <lineEnding>unix</lineEnding>
       <fileMode>0755</fileMode>
     </fileSet>
diff --git a/baremaps-cli/src/assembly/filter.properties b/baremaps-cli/src/assembly/filter.properties
new file mode 100644
index 00000000..71dfb336
--- /dev/null
+++ b/baremaps-cli/src/assembly/filter.properties
@@ -0,0 +1 @@
+application.version=${project.version}
diff --git a/baremaps-cli/src/assembly/src.xml b/baremaps-cli/src/assembly/src.xml
index 35522a9a..ccabd443 100644
--- a/baremaps-cli/src/assembly/src.xml
+++ b/baremaps-cli/src/assembly/src.xml
@@ -29,8 +29,15 @@
                 <include>DISCLAIMER-WIP</include>
                 <include>LICENSE</include>
                 <include>NOTICE</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>../.</directory>
+            <outputDirectory>.</outputDirectory>
+            <includes>
                 <include>README</include>
             </includes>
+            <filtered>true</filtered>
         </fileSet>
     </fileSets>
 </assembly>