Using local maven repository and offline mode in network restricted / secured environment

Solution Verified - Updated -


  • 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 [{}->][null]
... ...
00:02:26,646 FINE  [org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager] (pool-32-thread-1) Get connection: {}->, timeout = 0
00:02:26,647 FINE  [org.apache.http.impl.conn.tsccm.ConnPoolByRoute] (pool-32-thread-1) [{}->] 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 [{}->][null]
  • How can I setup offline mode for maven ?
  • When I create/build a project via business-central in RHPAM offline env, I get the error.
[FATAL] Non-readable POM : input contained no data @ 
 for project 
        at org.appformer.maven.integration.embedder.MavenEmbedder.readProject(
        at org.appformer.maven.integration.embedder.MavenProjectLoader.parseMavenPom(
        ... 88 more


  • Red Hat JBoss BPM Suite
    • 6
  • Red Hat JBoss BRMS
    • 6
  • Red Hat Process Automation Manager (RHPAM)
    • 7
  • Red Hat Decision Manager (RHDM)
    • 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content