|
|
|
Re: Load-time weaving of maven dependencies of eclipse plugin [message #1106055 is a reply to message #1106021] |
Tue, 10 September 2013 16:18 |
Marek Jagielski Messages: 97 Registered: April 2012 |
Member |
|
|
My plugin com.systemincloud.modeler.libs MANIFEST is generated automatically by felix maven plugin:
<plugin><groupId>org.apache.felix</groupId><artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
<Bundle-SymbolicName>${project.artifactId};singleton:=true</Bundle-SymbolicName>
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
<Embed-Transitive>true</Embed-Transitive>
<_exportcontents>
org.codehaus.plexus.*,
org.apache.commons.*,
com.systemincloud.api.*,
com.systemincloud.modeler.api.*,
com.google.common.*,
javax.ws.rs.*
</_exportcontents>
<Import-Package></Import-Package>
<Bundle-ClassPath>.,{maven-dependencies}</Bundle-ClassPath>
<Embed-Transitive>true</Embed-Transitive>
<Embed-Directory></Embed-Directory>
<Bundle-Vendor>System in Cloud</Bundle-Vendor>
<Bundle-RequiredExecutionEnvironment>JavaSE-1.7</Bundle-RequiredExecutionEnvironment>
<_failok>true</_failok>
<_nouses>true</_nouses>
<_nodefaultversion>true</_nodefaultversion>
<_snapshot>${osgi-version-qualifier}</_snapshot>
</instructions>
</configuration>
</plugin>
It gives :
Manifest-Version: 1.0
Bnd-LastModified: 1378825676440
Build-Jdk: 1.7.0_25
Built-By: marek
Bundle-ClassPath: .,com.systemincloud.modeler.api.javatask-0.1.0-SNAPSHO
T.jar,com.systemincloud.api.java-0.1.0-SNAPSHOT.jar,com.systemincloud.a
pi.java.msg-0.1.0-SNAPSHOT.jar,com.systemincloud.api.machine.java-0.1.0
-SNAPSHOT.jar, (... a lot more)
Bundle-ManifestVersion: 2
Bundle-Name: System in Cloud Modeler - Libs
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Bundle-SymbolicName: com.systemincloud.modeler.libs;singleton:=true
Bundle-Vendor: System in Cloud
Bundle-Version: 0.1.0.qualifier
Created-By: Apache Maven Bundle Plugin
Embed-Dependency: *;scope=compile|runtime
Embed-Transitive: true
Embedded-Artifacts: com.systemincloud.modeler.api.javatask-0.1.0-SNAPSHO
T.jar;g="com.systemincloud.modeler.api";a="com.systemincloud.modeler.ap
i.javatask";v="0.1.0-SNAPSHOT",com.systemincloud.api.java-0.1.0-SNAPSHO
T.jar;g="com.systemincloud.api";a="com.systemincloud.api.java";v="0.1.0
-SNAPSHOT",(... a lot more)
Export-Package: org.apache.commons.io;version="1.4.9999",org.apache.comm
ons.io.input;version="1.4.9999",org.apache.commons.io.filefilter;versio
n="1.4.9999",org.apache.commons.io.output;version="1.4.9999",org.apache
.commons.io.monitor;version="2.4",org.apache.commons.cli;version="1.2",
org.apache.commons.io.comparator;version="1.4.9999",com.systemincloud.a
pi.machine.java.websocket.jwebsocket,com.systemincloud.api.java.cmd,com
.systemincloud.api.machine.java,com.systemincloud.api.machine.java.msg,
com.systemincloud.api.machine.java.websocket,com.systemincloud.api.java
.msg,com.systemincloud.api.java.msg.args,(... a lot more)
Tool: Bnd-1.50.0
I want to weave one of libraries that are inside of target bundle. With maven I compile aspects and the library is extracted inside bundle jar.
Marek
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04637 seconds