sonatype-nexus-community / nexus-repository-composer

Composer support for the Nexus Repository Manager (work in progress!)
Eclipse Public License 1.0
214 stars 81 forks source link

composer repository not supported for 0.0.7 tag #78

Closed ym2048 closed 4 years ago

ym2048 commented 4 years ago

After I build a nexus server by execute commands as follows, I cannot find Composer repository choise in supported repository list after I clicked "Create repository" button.

git clone https://github.com/sonatype-nexus-community/nexus-repository-composer.git cd nexus-repository-composer && git checkout composer-parent-0.0.7 docker build -t nexus-repository-composer-007 . mkdir /nexus3_data_007/ chmod a+rw -R /nexus3_data_007/ docker run -d -p 9081:8081 --name nexus-repository-composer-007 -v /nexus3_data_007:/nexus-data nexus-repository-composer-007

Then visit http://localhost:9081/#admin/repository/repositories and login nexus. I cannot find Composer repository choise in supported repository list after "Create repository" button was clicked .

ym2048 commented 4 years ago

This is because the sonatype/nexus3:latest image used was downloaded previously. Its version is OSS 3.22.1-02, execute " docker pull sonatype/nexus3:latest" to update image to the latest code will solve the problem