simpligility / maven-repository-tools

Tools for interacting with Maven repositories
Eclipse Public License 1.0
137 stars 66 forks source link

migrating repository without failing on missing dependency #33

Open nhurion opened 6 years ago

nhurion commented 6 years ago

Hello,

I have to migrate two very old repositories in a new nexus 3.6. The thing is I do not want to upload all the dependencies in the new repository but only the one of my company.

Basically migrating only the release repository of the old one into the release repository of the new one. The option I see are the following:

What would be the easiest solution to put in place? And could you point me on to where I should look to make it?

Thanks, Nicolas.

mosabua commented 6 years ago

If you know the GA coordinates you restrict you could add some sort of filter option for the upload.

mosabua commented 6 years ago

Maybe somewhere here .. https://github.com/simpligility/maven-repository-tools/blob/master/maven-repository-provisioner/src/main/java/com/simpligility/maven/provisioner/MavenRepositoryDeployer.java#L140