You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "David M. Karr" <da...@gmail.com> on 2016/04/20 00:56:40 UTC

Need to understand what Maven puts into local repo for "jar" vs. "bundle" artifacts

If I specify a dependency that is a "jar", what I see in my local repo 
is an actual jar file, along with several other metadata files.  If I 
instead specify a "bundle" dependency, I see various metadata files, but 
no jar file.  I was under the impression that a "bundle" type is just a 
jar file with an OSGi manifest.

When I look on the repo that I get the artifact from, I see the jar file 
that I expect to see.  Why isn't Maven installing the actual jar file in 
my local repo when I do a build?

However, I also note that I'm reporting something as a "jar" or a 
"bundle" depending on what the m2e dependency search reports.  I later 
tried simply changing the "type" from "bundle" to "jar", and that 
downloaded the jar.  What is the point of having a bundle dependency 
that doesn't download the actual artifact?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org