Giter Club home page Giter Club logo

Comments (5)

pkriens avatar pkriens commented on August 18, 2024

you can include them explicitly?

-includeresource: 
    lib/guava.jar=guava-*.jar;lib=true, \
    OSGI-OPT/[email protected]

from bnd.

thahnen avatar thahnen commented on August 18, 2024

I'm using Maven with the biz.aQute.bnd:bnd-maven-plugin version 6.4.0 and have tried different approaches but with no success.

In my Maven dependencies I have the following ones defined:

<dependencies>
  <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
    </dependency>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
      <classifier>sources</classifier>
    </dependency>
</dependencies>

I've tried the following commands:

-includeresource: lib/guava.jar=guava-*.jar;lib:=true,\
  OSGI-OPT/[email protected]
-includeresource: lib/guava.jar=guava-*.jar;lib:=true,\
  OSGI-OPT/src=@guava-*-sources.jar
-includeresource: lib/guava.jar=guava-*.jar;lib:=true,\
  OSGI-OPT/[email protected];lib:=true,
-includeresource: lib/guava.jar=guava-*.jar;lib:=true,\
  OSGI-OPT/guava-sources.jar=guava-*-sources.jar;lib:=true,

Am I missing something?

from bnd.

pkriens avatar pkriens commented on August 18, 2024

The syntax you used indicated the guava-*.jar was on the file system. In workspace bnd, you can use ${repo;com.google.guava:guava} instead of the file name to get it from a repository. I am not sure how this works in maven because their repository model is very different, maybe one of the maven users can chime in. @timothyjward ?

from bnd.

pkriens avatar pkriens commented on August 18, 2024

Any feedback?

from bnd.

pkriens avatar pkriens commented on August 18, 2024

please reopen if you want to take this further.

from bnd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.