Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error #89

Open
xiaomoxu opened this issue Dec 14, 2017 · 0 comments
Open

Build error #89

xiaomoxu opened this issue Dec 14, 2017 · 0 comments

Comments

@xiaomoxu
Copy link

I run the command under the bundle project :

mvn clean install --activate-profiles modules,artifact-version,package-bundle --define skipTests --update-snapshot

But it is failed , the exception information like this:

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building barchart-udt-bundle 2.3.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ barchart-udt-bundle ---
[INFO] Deleting C:\Rocket\udt-build\barchart-udt\barchart-udt-bundle\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ barchart-udt-bundle ---
[INFO]
[INFO] --- groovy-maven-plugin:1.5:execute (provide-custom-properties) @ barchart-udt-bundle ---
[INFO]
[INFO] --- groovy-maven-plugin:1.5:execute (artifact-version) @ barchart-udt-bundle ---

releaseVersion = 2.3.1

snapshotVersion = 2.3.1-SNAPSHOT

[INFO]
[INFO] --- maven-dependency-plugin:2.9:unpack (bundle-unpack-items) @ barchart-udt-bundle ---
[INFO] Configured Artifact: com.barchart.udt:barchart-udt-core:2.3.1-SNAPSHOT:jar
Downloading: https://oss.sonatype.org/content/groups/public/com/barchart/udt/barchart-udt-core/2.3.1-SNAPSHOT/maven-metadata.xml
Downloading: https://nexus.barchart.com/content/groups/archon/com/barchart/udt/barchart-udt-core/2.3.1-SNAPSHOT/maven-metadata.xml
Downloaded: https://oss.sonatype.org/content/groups/public/com/barchart/udt/barchart-udt-core/2.3.1-SNAPSHOT/maven-metadata.xml (2 KB at 0.8 KB/sec)
[WARNING] Could not transfer metadata com.barchart.udt:barchart-udt-core:2.3.1-SNAPSHOT/maven-metadata.xml from/to barchart-nexus-archon (https://nexus.barchart.com/content/groups/archon): Not authorized , ReasonPhrase:Unauthorized.
[INFO] Configured Artifact: com.barchart.udt:barchart-udt-core:x86-Windows-gpp-jni:2.3.1-SNAPSHOT:nar
[WARNING] Failure to transfer com.barchart.udt:barchart-udt-core:2.3.1-SNAPSHOT/maven-metadata.xml from https://nexus.barchart.com/content/groups/archon was cached in the local repository, resolution will not be reattempted until the update interval of barchart-nexus-archon has elapsed or updates are forced. Original error: Could not transfer metadata com.barchart.udt:barchart-udt-core:2.3.1-SNAPSHOT/maven-metadata.xml from/to barchart-nexus-archon (https://nexus.barchart.com/content/groups/archon): Not authorized , ReasonPhrase:Unauthorized.
Downloading: https://oss.sonatype.org/content/groups/public/com/barchart/udt/barchart-udt-core/2.3.1-SNAPSHOT/barchart-udt-core-2.3.1-SNAPSHOT-x86-Windows-gpp-jni.nar
Downloading: https://nexus.barchart.com/content/groups/archon/com/barchart/udt/barchart-udt-core/2.3.1-SNAPSHOT/barchart-udt-core-2.3.1-SNAPSHOT-x86-Windows-gpp-jni.nar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.922s
[INFO] Finished at: Thu Dec 14 03:31:48 EST 2017
[INFO] Final Memory: 25M/227M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.9:unpack (bundle-unpack-items) on project barchart-udt-bundle: Unable to resolve artifact. Could not transfer artifact com.barchart.udt:barchart-udt-core:nar:x86-Windows-gpp-jni:2.3.1-SNAPSHOT from/to barchart-nexus-archon (https://nexus.barchart.com/content/groups/archon): Not authorized , ReasonPhrase:Unauthorized.
[ERROR] com.barchart.udt:barchart-udt-core:nar:2.3.1-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] sonatype-nexus-archon (https://oss.sonatype.org/content/groups/public, releases=true, snapshots=true),
[ERROR] barchart-nexus-archon (https://nexus.barchart.com/content/groups/archon, releases=true, snapshots=true),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant