Skip to content
This repository has been archived by the owner on Nov 6, 2018. It is now read-only.

java artifacts are not being deployed to nexus #622

Open
KurtStam opened this issue Oct 13, 2016 · 1 comment
Open

java artifacts are not being deployed to nexus #622

KurtStam opened this issue Oct 13, 2016 · 1 comment

Comments

@KurtStam
Copy link
Member

Our settings is pointing 'mvn deploy' to 'snapshots' rather then 'staging'

<properties>
        <altDeploymentRepository>local-nexus::default::http://nexus/content/repositories/snapshots/</altDeploymentRepository>
        <altReleaseDeploymentRepository>local-nexus::default::http://nexus/content/repositories/staging/</altReleaseDeploymentRepository>
        <altSnapshotDeploymentRepository>local-nexus::default::http://nexus/content/repositories/snapshots/</altSnapshotDeploymentRepository>
      </properties>

should be

<properties>
        <altDeploymentRepository>local-nexus::default::http://nexus/content/repositories/staging/</altDeploymentRepository>
        <altReleaseDeploymentRepository>local-nexus::default::http://nexus/content/repositories/staging/</altReleaseDeploymentRepository>
        <altSnapshotDeploymentRepository>local-nexus::default::http://nexus/content/repositories/snapshots/</altSnapshotDeploymentRepository>
      </properties>

fabric8io/jenkins-pipeline-library#177

KurtStam pushed a commit to KurtStam/fabric8-devops that referenced this issue Oct 13, 2016
KurtStam pushed a commit that referenced this issue Oct 13, 2016
java artifacts are not being deployed to nexus #622
@KurtStam
Copy link
Member Author

KurtStam commented Oct 15, 2016

@rawlingsj, this change KurtStam@c7317e9
messes with the information that is in /sonatype-work directory, and the conf/nexus.xml that was overlaid is lost. It then snaps to some default repository config. Not having the staging repository in nexus is a problem when you want to deploy to it!

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

No branches or pull requests

1 participant