Я сгенерировал проект OSGi с
mvn org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate \
-DarchetypeGroupId=org.osgi.enroute.archetype \
-DarchetypeArtifactId=project \
-DarchetypeVersion=7.0.0
Впоследствии я попытался добавить некоторые maven-зависимости в проект impl.
<dependency>
<groupId>org.iot.raspberry</groupId>
<artifactId>GrovePi-spec</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.iot.raspberry</groupId>
<artifactId>GrovePi-pi4j</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
Но Maven всегда печатает Unable to resolve <<INITIAL>>: missing requirement osgi.identity;filter:='(osgi.identity=com.itemis.raspberry.impl)' [caused by: Unable to resolve com.itemis.raspberry.impl version=1.0.0.201903061404: missing requirement osgi.wiring.package;filter:='(&(osgi.wiring.package=org.iot.raspberry.grovepi))']
кто-то знал, почему это происходит?