This is an automated email from the ASF dual-hosted git repository.
robbie pushed a commit to branch development
in repository https://gitbox.apache.org/repos/asf/activemq-artemis-examples.git
The following commit(s) were added to refs/heads/development by this push:
new c1c40f5 add .gitattributes override to configure linguist, make repo
language stats reflect the examples
c1c40f5 is described below
commit c1c40f5f69f0960e972c91119a47f4413fb4c432
Author: Robbie Gemmell <[email protected]>
AuthorDate: Tue Jan 9 17:07:29 2024 +0000
add .gitattributes override to configure linguist, make repo language stats
reflect the examples
---
.gitattributes | 4 ++++
pom.xml | 15 +++++++++++++++
2 files changed, 19 insertions(+)
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..32b4da4
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,4 @@
+# Since the examples are actually the main/only content of this repo,
+# un-ignore them in linguist so repo language stats reflect the
+# examples and not just some helper scripts.
+examples/** -linguist-documentation
diff --git a/pom.xml b/pom.xml
index 0ddce70..c80340b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -57,4 +57,19 @@ under the License.
</repository>
</repositories>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes combine.children="append">
+ <exclude>.gitattributes</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
</project>