Closed JakoD closed 4 years ago
I suppose this a typo mistake.
I actually believe it may is a .jar
file.
@JakoD Do you still not see it? I see 2 files in your link provided.
Yes, I still see no .kar file there. Also I'm quite sure it should be .kar, since https://help.sonatype.com/repomanager3/bundle-development/installing-bundles speaks of Apache Karaf files (.kar), too.
I meanwhile have found a workaround using multiple stages in the Dockerfile to build the bundle .kar file first and copy it into the next stage. But I don't think thats a general solution.
Other projet have this kar
file, ex: https://repo1.maven.org/maven2/org/sonatype/nexus/plugins/nexus-repository-cpan/0.0.1/
And with this no need to build it with multiple stage Docker.
My knowledge of Maven & Java world are a bit short to update this. But yes it would be great if kar
file was available on maven.org IMO.
Ah I see what you mean now. I was looking at something else. Thanks for the clarifies.
looks like it was supposed to be done for release 0.0.4 in 48a76801845554fae87cbbc2b1dfd28a74dc234b but the result is not as expected https://repo1.maven.org/maven2/org/sonatype/nexus/plugins/nexus-repository-composer/0.0.4/
@JakoD I generate the kar file through commands list as follow: git clone https://github.com/sonatype-nexus-community/nexus-repository-composer.git cd nexus-repository-composer && git checkout composer-parent-0.0.4
mkdir -p /docker/nexus3_data chmod a+rw -R /docker/nexus3_data
docker run -d -p 8081:8081 --name nexus-repository-composer -v /docker/nexus3_data:/nexus-data nexus-repository-composer
then login the nexus container. The kar file is in container directory /opt/sonatype/nexus/deploy/
move the file to the volume directory /nexus-data and you can get the kar file in /docker/nexus3_data
@JakoD Isn't it there already ?
What are you trying to do? Download the .kar file from The Central Repository as suggested by Easiest Install - Option 2.
What feature or behavior is this required for? Setting up a containerized Nexus instance with the nexus-repository-composer plugin without having to compile it from source.
How could we solve this issue? (Not knowing is okay!) Have a .kar file in the repository alongside the .jar, sources.jar, etc. or Have more detailed instructions how to get a .kar file from there if it is already possible