Is there someone in the ops4j mailinglist wo uses PAX-Construct in a Maven Multiple Module Projects with Eclipse IDE ?read the send email below for more about my problem.
On Fri, Aug 7, 2009 at 3:03 AM, Serge Emmanuel Pagop < serge.pa...@googlemail.com> wrote: > Hi altogether, > > may somebody already got this problem: > I created a maven multi-project modules with Pax-Construct version 1.4, > that means I started my project with the Quickstart from the ops4j site > http://www.ops4j.org/projects/pax/construct/index.html and then created > more module. > > Here look my project tree. > > *Parent-Project* > - pom.xml > + provisions > + poms > + child-project1 (*Bundle 1*) > + child-project2 (*Bundle 2*) > > Probleme: > > - First, the Bundle 2 (Impl.) needs Bundle 1 (API), when I run the maven > command "mvn install pax:clean pax:eclipse" from the parent project > "Parent-Project" to generate ".project" and ".classpath", the Bundle 1 > (artifact child-project1) is not present into the file ".classpath" > (strange). > So looked my .classpath content > > <classpath> > <classpathentry kind="src" path="." > including="plugin.xml|plugin.properties|icons/**" excluding="**/*.java"/> > <classpathentry kind="src" path="src/main/java"/> > <classpathentry kind="src" path="src/main/resources" > excluding="**/*.java"/> > <classpathentry kind="output" path="target/classes"/> > <classpathentry kind="con" > path="org.eclipse.jdt.launching.JRE_CONTAINER"/> > <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> > <classpathentry kind="var" > path="M2_REPO/org/osgi/osgi_R4_compendium/1.0/osgi_R4_compendium-1.0.jar"/> > <classpathentry kind="var" > path="M2_REPO/org/osgi/osgi_R4_core/1.0/osgi_R4_core-1.0.jar"/> > </classpath> > > - Second, If I change to the child-project2 (Bundle 2) and from there run > the maven command "mvn pax:clean pax:eclipse", the .classpath for my project > was generated correctly and so looked that: > see line 10 for this below XML file > > <classpath> > <classpathentry kind="src" path="." > including="plugin.xml|plugin.properties|icons/**" excluding="**/*.java"/> > <classpathentry kind="src" path="src/main/java"/> > <classpathentry kind="src" path="src/main/resources" > excluding="**/*.java"/> > <classpathentry kind="output" path="target/classes"/> > <classpathentry kind="con" > path="org.eclipse.jdt.launching.JRE_CONTAINER"/> > <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> > <classpathentry kind="var" > path="M2_REPO/org/osgi/osgi_R4_compendium/1.0/osgi_R4_compendium-1.0.jar"/> > <classpathentry kind="var" > path="M2_REPO/org/osgi/osgi_R4_core/1.0/osgi_R4_core-1.0.jar"/> > <classpathentry kind="var" > path="M2_REPO/Parent-Project/child-project/1.0-SNAPSHOT/child-project-1.0-SNAPSHOT.jar"/> > </classpath> > > It's that a BUG in PAX-Construct, if not, is there already in forum a > solution for so a problem. > > Thanking in advance and I appreciate any tricks and help, > > Serge. > -- ---------------------------------- Serge Emmanuel Pagop Java EE Senior Consultant E-Mail: serge.pagop.pa...@innoq.com, serge.pa...@glooglemail.com Skype-Name: sisepago mobil : +49-1784049592
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general