hi andreas, please look at spring 1.2.8 (http://repo1.maven.org/maven2/org/springframework/spring/1.2.8/spring-1.2.8.pom). There's the mix. 2.0.3 is something completely different.
daniel > -----Original Message----- > From: Schulz, Daniel > Sent: Tuesday, March 27, 2007 7:42 AM > To: [email protected] > Subject: RE: [m2eclipse-user] problem with dependency poms > Importance: High > > > hi andreas, > > imho only parent projects are of artifact type pom > (multiproject roots or site root projects). the resulting > artifact of such a project is pom, so using it as a > dependency wont enrich the classpath much. > > There are at least two solutions: > > a) use > com.os.ecm.server:server-client-dependencies:0.0.1-SNAPSHOT > as the parent project to inherit its dependencies > > b) change the artifact type of > com.os.ecm.server:server-client-dependencies to jar (default > packaging) and > use it as a jar dependency > > You can also use a mix of a) and b). > > Look at the org.springframework:spring pom > (http://repo1.maven.org/maven2/org/springframework/spring/2.0. > 3/spring-2.0.3.pom). It's a mix of a) and b) and inherits all > dependendencies for all spring submodules from its parent > org.springframework:spring-full and adds third party and api > dependencies. It is of packaging type jar. By using > org.springframework:spring as a dependency you will get all > required spring and external jars. > > have a nice day, > > daniel > > > > > -----Original Message----- > > From: Andreas Dunkel [mailto:[EMAIL PROTECTED] > > Sent: Monday, March 26, 2007 1:57 PM > > To: [email protected] > > Subject: [m2eclipse-user] problem with dependency poms > > > > > > hi, > > > > I use a pom which contains several "provided" jars. This pom > > is from packaging type "pom". She was used in an other pom in > > this way: > > > > <dependency> > > <groupId>com.os.ecm.server</groupId> > > > > <artifactId>server-client-dependencies</artifactId> > > <version>0.0.1-SNAPSHOT</version> > > <type>pom</type> > > </dependency> > > > > That works in maven2. But the m2eclipse plugin dont show the > > jars in the "Maven Dependency". If the jars are not provided, > > it works. > > > > Please help. > > > > with regards > > > > i.A. Andreas Dunkel > > > > Senior Software Developer > > > > > > > > flexible software | for your way of working > > > > > > OPTIMAL SYSTEMS > > Gesellschaft für innovative Computertechnologien mbH > > Cicerostraße 26, 10709 Berlin > > Tel.: 030 - 8 95 70 80 > > Fax: 030 - 8 95 70 88 88 > > E-Mail: [EMAIL PROTECTED] > > Web: www.optimal-systems.de <http://www.optimal-systems.de/> > > > > > > > > Hier können Sie den aktuellen Newsletter des Monats nachlesen: > > > > http://www.optimal-systems.de/news > > > > ______________________________________________________________ > > ____________________ > > > > Sitz der Gesellschaft: Berlin > > > > HRB 38 560 Amtsgericht Charlottenburg - USt-IdNr.: DE 136 722 551 > > > > Geschäftsführer: Karsten Renz > > > > > > > --------------------------------------------------------------------- > > To unsubscribe from this list please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
