Configure local nexus server to download artifacts from other remote nexus repository
I have installed Nexus repository locally and configuried maven to use my Nexus repo. I am trying to install broadleaf commerce but always getting the error. Broadleaf demo: https://github.com/BroadleafCommerce/DemoSite.
When I build the project with default maven settings file I can able to build the project. But with nexus local repo, I couldn't able to download the broadleaf artifacts. Can anyone help me what's wrong with my settings?
My settings.xml
<settings>
<mirrors>
<mirror>
<!--This sends everything else to /public -->
<id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>http://localhost:8081/repository/maven-proxy-test/</url>
</mirror>
</mirrors>
<profiles>
<profile>
<id>nexus</id>
<!--Enable snapshots for the built in central repo to direct -->
<!--all requests to nexus via the mirror -->
<repositories>
<repository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>broadleaf-repo</id>
<url>http://nexus.broadleafcommerce.org/nexus/content/groups/public</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
<pluginRepository>
<id>broadleaf-repo</id>
<url>http://nexus.broadleafcommerce.org/nexus/content/groups/public</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<!--make the profile active all the time -->
<activeProfile>nexus</activeProfile>
When I build the broadleaf project I am always getting the build error.
INFO] Reactor Summary:
[INFO]
[INFO] Broadleaf Spring Boot Community Demo 1.0.0-SNAPSHOT SUCCESS [ 0.612 s]
[INFO] Community Demo Core ................................ FAILURE [ 0.652 s]
[INFO] Community Demo Site ................................ SKIPPED
[INFO] Community Demo Admin ............................... SKIPPED
[INFO] Community Demo API 1.0.0-SNAPSHOT .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.885 s
[INFO] Finished at: 2018-11-18T18:48:31+11:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project boot-community-demo-core: Could not resolve dependencies for project com.mycompany-community:boot-community-demo-core:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at org.broadleafcommerce:broadleaf-framework:jar:5.2.7-SNAPSHOT -> org.broadleafcommerce:broadleaf-common:jar:5.2.7-SNAPSHOT -> org.broadleafcommerce:broadleaf-common-presentation:jar:1.0.4-SNAPSHOT: Failed to read artifact descriptor for org.broadleafcommerce:broadleaf-common-presentation:jar:1.0.4-SNAPSHOT: Failure to find org.broadleafcommerce:broadleaf-module-parent:pom:1.0.13-GA in http://localhost:8081/repository/maven-proxy-test/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project boot-community-demo-core: Could not resolve dependencies for project com.mycompany-community:boot-community-demo-core:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at org.broadleafcommerce:broadleaf-framework:jar:5.2.7-SNAPSHOT -> org.broadleafcommerce:broadleaf-common:jar:5.2.7-SNAPSHOT -> org.broadleafcommerce:broadleaf-common-presentation:jar:1.0.4-SNAPSHOT
java maven nexus broadleaf-commerce
add a comment |
I have installed Nexus repository locally and configuried maven to use my Nexus repo. I am trying to install broadleaf commerce but always getting the error. Broadleaf demo: https://github.com/BroadleafCommerce/DemoSite.
When I build the project with default maven settings file I can able to build the project. But with nexus local repo, I couldn't able to download the broadleaf artifacts. Can anyone help me what's wrong with my settings?
My settings.xml
<settings>
<mirrors>
<mirror>
<!--This sends everything else to /public -->
<id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>http://localhost:8081/repository/maven-proxy-test/</url>
</mirror>
</mirrors>
<profiles>
<profile>
<id>nexus</id>
<!--Enable snapshots for the built in central repo to direct -->
<!--all requests to nexus via the mirror -->
<repositories>
<repository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>broadleaf-repo</id>
<url>http://nexus.broadleafcommerce.org/nexus/content/groups/public</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
<pluginRepository>
<id>broadleaf-repo</id>
<url>http://nexus.broadleafcommerce.org/nexus/content/groups/public</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<!--make the profile active all the time -->
<activeProfile>nexus</activeProfile>
When I build the broadleaf project I am always getting the build error.
INFO] Reactor Summary:
[INFO]
[INFO] Broadleaf Spring Boot Community Demo 1.0.0-SNAPSHOT SUCCESS [ 0.612 s]
[INFO] Community Demo Core ................................ FAILURE [ 0.652 s]
[INFO] Community Demo Site ................................ SKIPPED
[INFO] Community Demo Admin ............................... SKIPPED
[INFO] Community Demo API 1.0.0-SNAPSHOT .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.885 s
[INFO] Finished at: 2018-11-18T18:48:31+11:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project boot-community-demo-core: Could not resolve dependencies for project com.mycompany-community:boot-community-demo-core:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at org.broadleafcommerce:broadleaf-framework:jar:5.2.7-SNAPSHOT -> org.broadleafcommerce:broadleaf-common:jar:5.2.7-SNAPSHOT -> org.broadleafcommerce:broadleaf-common-presentation:jar:1.0.4-SNAPSHOT: Failed to read artifact descriptor for org.broadleafcommerce:broadleaf-common-presentation:jar:1.0.4-SNAPSHOT: Failure to find org.broadleafcommerce:broadleaf-module-parent:pom:1.0.13-GA in http://localhost:8081/repository/maven-proxy-test/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project boot-community-demo-core: Could not resolve dependencies for project com.mycompany-community:boot-community-demo-core:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at org.broadleafcommerce:broadleaf-framework:jar:5.2.7-SNAPSHOT -> org.broadleafcommerce:broadleaf-common:jar:5.2.7-SNAPSHOT -> org.broadleafcommerce:broadleaf-common-presentation:jar:1.0.4-SNAPSHOT
java maven nexus broadleaf-commerce
add a comment |
I have installed Nexus repository locally and configuried maven to use my Nexus repo. I am trying to install broadleaf commerce but always getting the error. Broadleaf demo: https://github.com/BroadleafCommerce/DemoSite.
When I build the project with default maven settings file I can able to build the project. But with nexus local repo, I couldn't able to download the broadleaf artifacts. Can anyone help me what's wrong with my settings?
My settings.xml
<settings>
<mirrors>
<mirror>
<!--This sends everything else to /public -->
<id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>http://localhost:8081/repository/maven-proxy-test/</url>
</mirror>
</mirrors>
<profiles>
<profile>
<id>nexus</id>
<!--Enable snapshots for the built in central repo to direct -->
<!--all requests to nexus via the mirror -->
<repositories>
<repository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>broadleaf-repo</id>
<url>http://nexus.broadleafcommerce.org/nexus/content/groups/public</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
<pluginRepository>
<id>broadleaf-repo</id>
<url>http://nexus.broadleafcommerce.org/nexus/content/groups/public</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<!--make the profile active all the time -->
<activeProfile>nexus</activeProfile>
When I build the broadleaf project I am always getting the build error.
INFO] Reactor Summary:
[INFO]
[INFO] Broadleaf Spring Boot Community Demo 1.0.0-SNAPSHOT SUCCESS [ 0.612 s]
[INFO] Community Demo Core ................................ FAILURE [ 0.652 s]
[INFO] Community Demo Site ................................ SKIPPED
[INFO] Community Demo Admin ............................... SKIPPED
[INFO] Community Demo API 1.0.0-SNAPSHOT .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.885 s
[INFO] Finished at: 2018-11-18T18:48:31+11:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project boot-community-demo-core: Could not resolve dependencies for project com.mycompany-community:boot-community-demo-core:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at org.broadleafcommerce:broadleaf-framework:jar:5.2.7-SNAPSHOT -> org.broadleafcommerce:broadleaf-common:jar:5.2.7-SNAPSHOT -> org.broadleafcommerce:broadleaf-common-presentation:jar:1.0.4-SNAPSHOT: Failed to read artifact descriptor for org.broadleafcommerce:broadleaf-common-presentation:jar:1.0.4-SNAPSHOT: Failure to find org.broadleafcommerce:broadleaf-module-parent:pom:1.0.13-GA in http://localhost:8081/repository/maven-proxy-test/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project boot-community-demo-core: Could not resolve dependencies for project com.mycompany-community:boot-community-demo-core:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at org.broadleafcommerce:broadleaf-framework:jar:5.2.7-SNAPSHOT -> org.broadleafcommerce:broadleaf-common:jar:5.2.7-SNAPSHOT -> org.broadleafcommerce:broadleaf-common-presentation:jar:1.0.4-SNAPSHOT
java maven nexus broadleaf-commerce
I have installed Nexus repository locally and configuried maven to use my Nexus repo. I am trying to install broadleaf commerce but always getting the error. Broadleaf demo: https://github.com/BroadleafCommerce/DemoSite.
When I build the project with default maven settings file I can able to build the project. But with nexus local repo, I couldn't able to download the broadleaf artifacts. Can anyone help me what's wrong with my settings?
My settings.xml
<settings>
<mirrors>
<mirror>
<!--This sends everything else to /public -->
<id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>http://localhost:8081/repository/maven-proxy-test/</url>
</mirror>
</mirrors>
<profiles>
<profile>
<id>nexus</id>
<!--Enable snapshots for the built in central repo to direct -->
<!--all requests to nexus via the mirror -->
<repositories>
<repository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>broadleaf-repo</id>
<url>http://nexus.broadleafcommerce.org/nexus/content/groups/public</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
<pluginRepository>
<id>broadleaf-repo</id>
<url>http://nexus.broadleafcommerce.org/nexus/content/groups/public</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<!--make the profile active all the time -->
<activeProfile>nexus</activeProfile>
When I build the broadleaf project I am always getting the build error.
INFO] Reactor Summary:
[INFO]
[INFO] Broadleaf Spring Boot Community Demo 1.0.0-SNAPSHOT SUCCESS [ 0.612 s]
[INFO] Community Demo Core ................................ FAILURE [ 0.652 s]
[INFO] Community Demo Site ................................ SKIPPED
[INFO] Community Demo Admin ............................... SKIPPED
[INFO] Community Demo API 1.0.0-SNAPSHOT .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.885 s
[INFO] Finished at: 2018-11-18T18:48:31+11:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project boot-community-demo-core: Could not resolve dependencies for project com.mycompany-community:boot-community-demo-core:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at org.broadleafcommerce:broadleaf-framework:jar:5.2.7-SNAPSHOT -> org.broadleafcommerce:broadleaf-common:jar:5.2.7-SNAPSHOT -> org.broadleafcommerce:broadleaf-common-presentation:jar:1.0.4-SNAPSHOT: Failed to read artifact descriptor for org.broadleafcommerce:broadleaf-common-presentation:jar:1.0.4-SNAPSHOT: Failure to find org.broadleafcommerce:broadleaf-module-parent:pom:1.0.13-GA in http://localhost:8081/repository/maven-proxy-test/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project boot-community-demo-core: Could not resolve dependencies for project com.mycompany-community:boot-community-demo-core:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at org.broadleafcommerce:broadleaf-framework:jar:5.2.7-SNAPSHOT -> org.broadleafcommerce:broadleaf-common:jar:5.2.7-SNAPSHOT -> org.broadleafcommerce:broadleaf-common-presentation:jar:1.0.4-SNAPSHOT
java maven nexus broadleaf-commerce
java maven nexus broadleaf-commerce
asked Nov 18 '18 at 8:07
vkramsvkrams
3,136135089
3,136135089
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You have 2 options and depends on how you want to handle it.
If your nexus should also hold the artifacts from broadleafcommerce you have to add it as a proxy repository:
In Nexus create a Proxy Repository
with ID broadleafcommerce
, URL http://nexus.broadleafcommerce.org/nexus/content/groups/public
and Version policy Mixed
In your settings.xml
define your mirrors:
<mirrors>
<mirror>
<id>nexus</id>
<mirrorOf>*,!broadleaf-repo</mirrorOf>
<url>http://localhost:8081/repository/maven-proxy-test/</url>
</mirror>
<mirror>
<id>broadleafcommerce</id>
<mirrorOf>broadleaf-repo</mirrorOf>
<url>http://nexus.broadleafcommerce.org/nexus/content/groups/public/</url>
</mirror>
</mirrors>
If you do not want to have the artifacts from broadleafcommerce in your nexus repository:
Define your mirror in that way:
<mirrors>
<mirror>
<id>nexus-group</id>
<mirrorOf>*,!broadleaf-repo</mirrorOf>
<url>http://localhost:8081/repository/maven-proxy-test/</url>
</mirror>
</mirrors>
Notice that <mirrorOf>*,!broadleaf-repo</mirrorOf>
points to the ID of your defined repository and excludes it.
That works thank you for the clue. :-)
– vkrams
Nov 19 '18 at 8:11
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53358979%2fconfigure-local-nexus-server-to-download-artifacts-from-other-remote-nexus-repos%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have 2 options and depends on how you want to handle it.
If your nexus should also hold the artifacts from broadleafcommerce you have to add it as a proxy repository:
In Nexus create a Proxy Repository
with ID broadleafcommerce
, URL http://nexus.broadleafcommerce.org/nexus/content/groups/public
and Version policy Mixed
In your settings.xml
define your mirrors:
<mirrors>
<mirror>
<id>nexus</id>
<mirrorOf>*,!broadleaf-repo</mirrorOf>
<url>http://localhost:8081/repository/maven-proxy-test/</url>
</mirror>
<mirror>
<id>broadleafcommerce</id>
<mirrorOf>broadleaf-repo</mirrorOf>
<url>http://nexus.broadleafcommerce.org/nexus/content/groups/public/</url>
</mirror>
</mirrors>
If you do not want to have the artifacts from broadleafcommerce in your nexus repository:
Define your mirror in that way:
<mirrors>
<mirror>
<id>nexus-group</id>
<mirrorOf>*,!broadleaf-repo</mirrorOf>
<url>http://localhost:8081/repository/maven-proxy-test/</url>
</mirror>
</mirrors>
Notice that <mirrorOf>*,!broadleaf-repo</mirrorOf>
points to the ID of your defined repository and excludes it.
That works thank you for the clue. :-)
– vkrams
Nov 19 '18 at 8:11
add a comment |
You have 2 options and depends on how you want to handle it.
If your nexus should also hold the artifacts from broadleafcommerce you have to add it as a proxy repository:
In Nexus create a Proxy Repository
with ID broadleafcommerce
, URL http://nexus.broadleafcommerce.org/nexus/content/groups/public
and Version policy Mixed
In your settings.xml
define your mirrors:
<mirrors>
<mirror>
<id>nexus</id>
<mirrorOf>*,!broadleaf-repo</mirrorOf>
<url>http://localhost:8081/repository/maven-proxy-test/</url>
</mirror>
<mirror>
<id>broadleafcommerce</id>
<mirrorOf>broadleaf-repo</mirrorOf>
<url>http://nexus.broadleafcommerce.org/nexus/content/groups/public/</url>
</mirror>
</mirrors>
If you do not want to have the artifacts from broadleafcommerce in your nexus repository:
Define your mirror in that way:
<mirrors>
<mirror>
<id>nexus-group</id>
<mirrorOf>*,!broadleaf-repo</mirrorOf>
<url>http://localhost:8081/repository/maven-proxy-test/</url>
</mirror>
</mirrors>
Notice that <mirrorOf>*,!broadleaf-repo</mirrorOf>
points to the ID of your defined repository and excludes it.
That works thank you for the clue. :-)
– vkrams
Nov 19 '18 at 8:11
add a comment |
You have 2 options and depends on how you want to handle it.
If your nexus should also hold the artifacts from broadleafcommerce you have to add it as a proxy repository:
In Nexus create a Proxy Repository
with ID broadleafcommerce
, URL http://nexus.broadleafcommerce.org/nexus/content/groups/public
and Version policy Mixed
In your settings.xml
define your mirrors:
<mirrors>
<mirror>
<id>nexus</id>
<mirrorOf>*,!broadleaf-repo</mirrorOf>
<url>http://localhost:8081/repository/maven-proxy-test/</url>
</mirror>
<mirror>
<id>broadleafcommerce</id>
<mirrorOf>broadleaf-repo</mirrorOf>
<url>http://nexus.broadleafcommerce.org/nexus/content/groups/public/</url>
</mirror>
</mirrors>
If you do not want to have the artifacts from broadleafcommerce in your nexus repository:
Define your mirror in that way:
<mirrors>
<mirror>
<id>nexus-group</id>
<mirrorOf>*,!broadleaf-repo</mirrorOf>
<url>http://localhost:8081/repository/maven-proxy-test/</url>
</mirror>
</mirrors>
Notice that <mirrorOf>*,!broadleaf-repo</mirrorOf>
points to the ID of your defined repository and excludes it.
You have 2 options and depends on how you want to handle it.
If your nexus should also hold the artifacts from broadleafcommerce you have to add it as a proxy repository:
In Nexus create a Proxy Repository
with ID broadleafcommerce
, URL http://nexus.broadleafcommerce.org/nexus/content/groups/public
and Version policy Mixed
In your settings.xml
define your mirrors:
<mirrors>
<mirror>
<id>nexus</id>
<mirrorOf>*,!broadleaf-repo</mirrorOf>
<url>http://localhost:8081/repository/maven-proxy-test/</url>
</mirror>
<mirror>
<id>broadleafcommerce</id>
<mirrorOf>broadleaf-repo</mirrorOf>
<url>http://nexus.broadleafcommerce.org/nexus/content/groups/public/</url>
</mirror>
</mirrors>
If you do not want to have the artifacts from broadleafcommerce in your nexus repository:
Define your mirror in that way:
<mirrors>
<mirror>
<id>nexus-group</id>
<mirrorOf>*,!broadleaf-repo</mirrorOf>
<url>http://localhost:8081/repository/maven-proxy-test/</url>
</mirror>
</mirrors>
Notice that <mirrorOf>*,!broadleaf-repo</mirrorOf>
points to the ID of your defined repository and excludes it.
edited Nov 19 '18 at 8:13
vkrams
3,136135089
3,136135089
answered Nov 19 '18 at 5:54
wirnsewirnse
39125
39125
That works thank you for the clue. :-)
– vkrams
Nov 19 '18 at 8:11
add a comment |
That works thank you for the clue. :-)
– vkrams
Nov 19 '18 at 8:11
That works thank you for the clue. :-)
– vkrams
Nov 19 '18 at 8:11
That works thank you for the clue. :-)
– vkrams
Nov 19 '18 at 8:11
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53358979%2fconfigure-local-nexus-server-to-download-artifacts-from-other-remote-nexus-repos%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown