Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] [WARNING] Dependency from x to nested classpath entry ... can not be represented in Maven model and will not be visible to non-OSGi aware Maven plugins

I have a multi module project where a sub project "subX" adds a
folder: "resources" to the classpath using the Runtime tab:

Bundle-ClassPath: .,
 resources/

When I build the projects I get this warning when the target is
resolved for each subproject:


[INFO] Resolving target platform for project MavenProject:
com:subA:1.0.0-SNAPSHOT @ C:\ws\parent\subA\pom.xml
[WARNING] Dependency from C:\ws\parent\subA to nested classpath entry
C:\ws\parent\subX\resources can not be represented in Maven model and
will not be visible to non-OSGi aware Maven plugins

[INFO] Resolving target platform for project MavenProject:
com:subB:1.0.0-SNAPSHOT @ C:\ws\parent\subB\pom.xml
[WARNING] Dependency from C:\ws\parent\subB to nested classpath entry
C:\ws\parent\subX\resources can not be represented in Maven model and
will not be visible to non-OSGi aware Maven plugins


I found this post:

http://software.2206966.n2.nabble.com/quot-Dependency-at-location-x-can-not-be-represented-quot-td5660808.html

but I don't see what the above has to do with directory based
dependencies. Any ideas?


Back to the top