Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [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

Tycho generates synthetic dependencies so that plain Maven plugins which use these dependencies in the Maven model sees the OSGi dependencies.

IIRC, it is not possible to generate these synthetic dependencies if the target location is a directory, as in case of a directory class-path (which is not '.').

Regards
Tobias


> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of motes motes
> Sent: Montag, 7. November 2011 12:56
> To: Tycho user list
> Subject: [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?
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top