Gradle uploadArchives runs in parallel causing multiple staging repositories on oss sonatype nexus
up vote
2
down vote
favorite
I use this gradle uploadArchives
to upload artefacts (jar, source code and javadoc) of an android open source library of mine to oss sonatype nexus repository. However, somehow uploadArchives
seems to run in parallel because after completing gradle I see multiple staging repositories created on oss sonatype. One contains .jar, another one contains source code and java docs (or in any other combination like .jar and source code are in one staging repository but java docs are not in the same; it basically changes all the time).
Even disable parallel via ./gradlew uploadArchives -Dorg.gradle.parallel=false
doesn't help.
I can't close/release a staging repository because it only contains some parts (like java docs and .jar but not source code) instead of all artefacts in one single staging repository (the rest is distributed to other staging repositories somehow).
Any idea how to solve this problem?
android gradle android-gradle travis-ci
add a comment |
up vote
2
down vote
favorite
I use this gradle uploadArchives
to upload artefacts (jar, source code and javadoc) of an android open source library of mine to oss sonatype nexus repository. However, somehow uploadArchives
seems to run in parallel because after completing gradle I see multiple staging repositories created on oss sonatype. One contains .jar, another one contains source code and java docs (or in any other combination like .jar and source code are in one staging repository but java docs are not in the same; it basically changes all the time).
Even disable parallel via ./gradlew uploadArchives -Dorg.gradle.parallel=false
doesn't help.
I can't close/release a staging repository because it only contains some parts (like java docs and .jar but not source code) instead of all artefacts in one single staging repository (the rest is distributed to other staging repositories somehow).
Any idea how to solve this problem?
android gradle android-gradle travis-ci
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I use this gradle uploadArchives
to upload artefacts (jar, source code and javadoc) of an android open source library of mine to oss sonatype nexus repository. However, somehow uploadArchives
seems to run in parallel because after completing gradle I see multiple staging repositories created on oss sonatype. One contains .jar, another one contains source code and java docs (or in any other combination like .jar and source code are in one staging repository but java docs are not in the same; it basically changes all the time).
Even disable parallel via ./gradlew uploadArchives -Dorg.gradle.parallel=false
doesn't help.
I can't close/release a staging repository because it only contains some parts (like java docs and .jar but not source code) instead of all artefacts in one single staging repository (the rest is distributed to other staging repositories somehow).
Any idea how to solve this problem?
android gradle android-gradle travis-ci
I use this gradle uploadArchives
to upload artefacts (jar, source code and javadoc) of an android open source library of mine to oss sonatype nexus repository. However, somehow uploadArchives
seems to run in parallel because after completing gradle I see multiple staging repositories created on oss sonatype. One contains .jar, another one contains source code and java docs (or in any other combination like .jar and source code are in one staging repository but java docs are not in the same; it basically changes all the time).
Even disable parallel via ./gradlew uploadArchives -Dorg.gradle.parallel=false
doesn't help.
I can't close/release a staging repository because it only contains some parts (like java docs and .jar but not source code) instead of all artefacts in one single staging repository (the rest is distributed to other staging repositories somehow).
Any idea how to solve this problem?
android gradle android-gradle travis-ci
android gradle android-gradle travis-ci
edited Nov 9 at 9:44
asked Nov 8 at 1:18
sockeqwe
9,1881963118
9,1881963118
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
I do not know Your personal configuration of Gradle but I think the problem might be in an order of precedence when it comes to defining and processing Gradle properties.
Are You absolutely sure You do not have set org.gradle.parallel=true
in Your project root gradle.properties
? It is possible Your configuration prefers project root gradle.properties
rather than explicitly passed via -D
command line parameter.
I've had the same problem like You (uploadArchives
caused creation of multiple staging repositories). Basically, getting rid of org.gradle.parallel=true
from gradle.properties
resolved all issues in my case.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I do not know Your personal configuration of Gradle but I think the problem might be in an order of precedence when it comes to defining and processing Gradle properties.
Are You absolutely sure You do not have set org.gradle.parallel=true
in Your project root gradle.properties
? It is possible Your configuration prefers project root gradle.properties
rather than explicitly passed via -D
command line parameter.
I've had the same problem like You (uploadArchives
caused creation of multiple staging repositories). Basically, getting rid of org.gradle.parallel=true
from gradle.properties
resolved all issues in my case.
add a comment |
up vote
0
down vote
I do not know Your personal configuration of Gradle but I think the problem might be in an order of precedence when it comes to defining and processing Gradle properties.
Are You absolutely sure You do not have set org.gradle.parallel=true
in Your project root gradle.properties
? It is possible Your configuration prefers project root gradle.properties
rather than explicitly passed via -D
command line parameter.
I've had the same problem like You (uploadArchives
caused creation of multiple staging repositories). Basically, getting rid of org.gradle.parallel=true
from gradle.properties
resolved all issues in my case.
add a comment |
up vote
0
down vote
up vote
0
down vote
I do not know Your personal configuration of Gradle but I think the problem might be in an order of precedence when it comes to defining and processing Gradle properties.
Are You absolutely sure You do not have set org.gradle.parallel=true
in Your project root gradle.properties
? It is possible Your configuration prefers project root gradle.properties
rather than explicitly passed via -D
command line parameter.
I've had the same problem like You (uploadArchives
caused creation of multiple staging repositories). Basically, getting rid of org.gradle.parallel=true
from gradle.properties
resolved all issues in my case.
I do not know Your personal configuration of Gradle but I think the problem might be in an order of precedence when it comes to defining and processing Gradle properties.
Are You absolutely sure You do not have set org.gradle.parallel=true
in Your project root gradle.properties
? It is possible Your configuration prefers project root gradle.properties
rather than explicitly passed via -D
command line parameter.
I've had the same problem like You (uploadArchives
caused creation of multiple staging repositories). Basically, getting rid of org.gradle.parallel=true
from gradle.properties
resolved all issues in my case.
answered Nov 9 at 9:50
Tomasz Dzieniak
1,73221335
1,73221335
add a comment |
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%2f53200255%2fgradle-uploadarchives-runs-in-parallel-causing-multiple-staging-repositories-on%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