2017-03-15 1 views
0

Lorsque je tente d'installer mon paquetJboss fusible, erreur: Aucune fonctionnalité nommée 'commons-dbcp2' avec la version '0.0.0' disponible

mvn:br.com.mycompany/integration/1.0.0-SNAPSHOT 

Je reçois l'erreur suivante:

Unable to start bundle mvn:br.com.dbitech/animus/1.0.0-SNAPSHOT: Unresolved constraint in bundle Integration [359]: Unable to resolve 359.0: missing requirement [359.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.commons.dbcp2)(version>=2.1.0)(!(version>=3.0.0))) 

Et quand je tente d'installer la fonction dbcp2, les ocurs d'erreur de suivi:

Error executing command: No feature named 'commons-dbcp2' with version '0.0.0' available 

Comment j'installer une fonctionnalité qui ne le font pas dans l'index de fusible?

Répondre

0

J'ai trouvé comment installer une dépendance:

Dans ce cas, je dois Enroulez le paquet et vos dépendances:

osgi:install -s wrap:mvn:org.apache.commons/commons-pool2/2.4.2 
osgi:install -s wrap:mvn:org.apache.commons/commons-dbcp2/2.1.1