Getting error while deploying artifacts into business central when maven repository in offline mode
Issue
BPMS/BRMS server is using setting.xml in which <offline>true</offline> tag is added, but when we try to Build&Deploy project it fails with below exception:
org.kie.workbench.common.services.backend.builder.BuildServiceImpl buildAndDeploy org.eclipse.aether.deployment.DeploymentException: Cannot deploy while guvnor-m2-repo (file:/home/user/jboss-eap6.4/bin/repositories/kie/) is in offline mode
. . .
Caused by: org.eclipse.aether.deployment.DeploymentException: Cannot deploy while guvnor-m2-repo (file:/home/user/jboss-eap6.4/bin/repositories/kie/) is in offline mode
at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:237)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:413)
at org.guvnor.m2repo.backend.server.GuvnorM2Repository.deployArtifact(GuvnorM2Repository.java:357)
... 69 more
Caused by: org.eclipse.aether.transfer.RepositoryOfflineException: Cannot access guvnor-m2-repo (file:/home/user/jboss-eap6.4/bin/repositories/kie/) in offline mode
. . .
Environment
- Red Hat JBoss BPM Suite
- 6.x
- Red Hat JBoss BRMS
- 6.x
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.
