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

jbertram pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new f154c0b7dd ARTEMIS-4153 Support 'offline' Maven
f154c0b7dd is described below

commit f154c0b7ddc63bdfb908ed6a0ad0c25217489b74
Author: Justin Bertram <[email protected]>
AuthorDate: Tue Jan 31 15:19:38 2023 -0600

    ARTEMIS-4153 Support 'offline' Maven
---
 docs/hacking-guide/en/building.md | 7 ++++++-
 pom.xml                           | 9 +++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/docs/hacking-guide/en/building.md 
b/docs/hacking-guide/en/building.md
index 36977745e9..c75caf4b8c 100644
--- a/docs/hacking-guide/en/building.md
+++ b/docs/hacking-guide/en/building.md
@@ -72,4 +72,9 @@ simply run
 
 ## Building the docs
 
-From either `docs/hacking-guide/en` or `docs/user-manual/en` run `gitbook 
build` (after you've installed gitbook)
\ No newline at end of file
+From either `docs/hacking-guide/en` or `docs/user-manual/en` run `gitbook 
build` (after you've installed gitbook)
+
+## Building offline
+
+    $ mvn dependency:go-offline
+    $ mvn -o ...
diff --git a/pom.xml b/pom.xml
index e47a8abe90..a6ae7251de 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1479,6 +1479,15 @@
    </profiles>
 
    <build>
+      <extensions>
+         <!-- Generate os.detected.classifier property for Netty native 
dependencies -->
+         <extension>
+            <groupId>kr.motd.maven</groupId>
+            <artifactId>os-maven-plugin</artifactId>
+            <version>1.7.1</version>
+         </extension>
+      </extensions>
+
       <pluginManagement>
          <plugins>
          <plugin>

Reply via email to