You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a simple maven project which have a pom with a bundle packaging and use maven plugin org.apache.felix:maven-bundle-plugin, when i perform a jf mvn install command, only the bundle is published on artifactory.
When I execute mvn deploy command without Jfrog CLI, the jar and the pom are published.
Current behavior
with this command jf mvn install, I can see this in the log 👍
INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-install-plugin:3.0.1:install (default-install) @ transverse.hazelcast.model ---
INFO org.codehaus.plexus.PlexusContainer - Installing pom.xml to /root/.m2/repository/com/sncf/geomobiles/transverse.hazelcast.model/1.68.0.3-SNAPSHOT/transverse.hazelcast.model-1.68.0.3-SNAPSHOT.pom
INFO org.codehaus.plexus.PlexusContainer - Installing target/transverse.hazelcast.model-1.68.0.3-SNAPSHOT.jar to /root/.m2/repository/com/sncf/geomobiles/transverse.hazelcast.model/1.68.0.3-SNAPSHOT/transverse.hazelcast.model-1.68.0.3-SNAPSHOT.jar
INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-bundle-plugin:3.3.0:install (default-install) @ transverse.hazelcast.model ---
INFO org.apache.felix.obrplugin.ObrInstall - Writing OBR metadata
INFO org.apache.felix.obrplugin.ObrInstall - Installing com/sncf/geomobiles/transverse.hazelcast.model/1.68.0.3-SNAPSHOT/transverse.hazelcast.model-1.68.0.3-SNAPSHOT.jar
INFO org.apache.felix.obrplugin.ObrInstall - Writing OBR metadata
[pool-5-thread-1] INFO org.jfrog.build.extractor.maven.ArtifactoryManagerBuilder - [pool-5-thread-1] Deploying artifact: https://artefact-repo.apps.eul.sncf.fr/artifactory/.../com/sncf/geomobiles/transverse.hazelcast.model/1.68.0.3-SNAPSHOT/transverse.hazelcast.model-1.68.0.3-SNAPSHOT.jar
```
So the install command install pom and jar in my local maven repository and the the maven-bundle-plugin:install goal is executed and only the jar is published on artifactory
### Reproduction steps
- With a simple osgi bundle maven project ([example](https://github.com/sharma-gaurav/osgibndle))
- run a `jf config add` command to configure artifactory platform authentication
- run `jf mvn install` command
### Expected behavior
I expect the pom file to be published by the `jf mvn install` command
### JFrog CLI version
2.26.2
### Operating system type and version
Linux (Docker: maven:3-openjdk-11 image)
### JFrog Artifactory version
7.41.7
### JFrog Xray version
3.55.2
The text was updated successfully, but these errors were encountered:
Describe the bug
With a simple maven project which have a pom with a bundle packaging and use maven plugin org.apache.felix:maven-bundle-plugin, when i perform a
jf mvn install
command, only the bundle is published on artifactory.When I execute
mvn deploy
command without Jfrog CLI, the jar and the pom are published.Current behavior
with this command
jf mvn install
, I can see this in the log 👍The text was updated successfully, but these errors were encountered: