Using local maven repository and offline mode in network restricted / secured environment
Issue
- I am trying to setup local maven repository in a network restricted / secured environment, how do I prevent maven from connecting to internet.
- I have installed JBoss BRMS / BPM Suite 6 and the local maven repository, but the integrated maven is still trying to connect to public URL, for example, I see this log:
00:02:26,542 FINE [org.apache.http.impl.conn.tsccm.ConnPoolByRoute] (pool-28-thread-1) Releasing connection [{}->http://repo1.maven.org][null]
... ...
00:02:26,646 FINE [org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager] (pool-32-thread-1) Get connection: {}->http://repo1.maven.org, timeout = 0
00:02:26,647 FINE [org.apache.http.impl.conn.tsccm.ConnPoolByRoute] (pool-32-thread-1) [{}->http://repo1.maven.org] total kept alive: 0, total issued: 2, total allocated: 2 out of 40
00:02:26,647 FINE [org.apache.http.impl.conn.tsccm.ConnPoolByRoute] (pool-32-thread-1) No free connections [{}->http://repo1.maven.org][null]
- How can I setup offline mode for maven ?
Environment
- Red Hat JBoss BPM Suite
- 6
- Red Hat JBoss BRMS
- 6
- Red Hat Process Automation Manager
- 7
- Red Hat Decision Manager
- 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
