Integrate Eclipse RAP and OSGI / Spring -DM Plugins Using Maven to Build

Background I have a project containing my domain model and save code (created using Spring -ROO). I changed this to the OSGi package, and also create and deploy it using Maven (via PAX Construct scripts). This kit is great for Equinox, and I can access various services, etc.

I also have an Eclipse RAP plugin / package from which I want to call the / spring beans services implemented in a domain package. And here everything becomes interesting.

Question (s):

1) How to set up an Eclipse RAP project to build Maven? I used the target mvn eclipse:to-mavento connect the Eclipse RAP target platform plugins to my local repository, but when I use:

`pax-import-bundle -g org.eclipse.rap -a ui -v 1.3.0 -- -DimportTransitive -DwidenScope  `

I get this error:

[INFO] [pax: import-bundle {: default-cli}]
[INFO] Eclipse com.propertyselldirect.propsell.build:provision:pom:1.0.0-SNAPSHOT
[INFO] Eclipse com.propertyselldirect: rap: bundle: 1.0.0-SNAPSHOT
[] ----------------------------------------------- -------------------------
[] FATAL
[] ----------------------------------------------- -------------------------
[INFO] org.eclipse.core: runtime
[] ----------------------------------------------- -------------------------
[INFO] Trace
java.lang.NullPointerException: null org.eclipse.core: runtime
    at org.apache.maven.artifact.DefaultArtifact.getBaseVersion(DefaultArtifact.java:390)

, , OSGi ( pax-provision), Eclipse RAP ( org.eclipse.core.runtime ) . INSTALLED.

2) , Eclipse PDE , (, , Spring -DM) . , () Eclipse PDE, /, Maven? - RAP? (.. RAP Spring -DM).

, .

/ . googled, .

+3
2

dynaresume (http://code.google.com/p/dynaresume/). - : - Eclipse RCP - Spring DM - JPA

, .

-, Eclipse RAP.

, Maven 3/Tycho, OSGi.

, , .

+1

OSGi, , , OSGi Pax, Maven Nexus Professional. , Sonatype - .

0

Source: https://habr.com/ru/post/1734837/


All Articles