Hi, Personally I use the cli for building. Also, I bleieve, the development on the eclipse plugin hasn't come that far yet (ie. it might be buggy).
"Marco Mistroni" <[EMAIL PROTECTED]> skrev 01.08.2006 15:05:51: > hi all, > i have a project in which i am using Maven2... > so far i have used Notepad/TextPad as java editor, but now i wanted to move > to Eclipse > i followed steps outlined here > > http://maven.apache.org/guides/mini/guide-ide-eclipse.html > > fact is, my project is a MultiProject made of a main project and two > subprojects. > > I followed stepso utlined in the link above, however when i tried to run > maven2 > from eclipse (launching hte 'parent' pom.xml), it did nothing.... it just > outputted > > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building Maven Quick Start Archetype > [INFO] task-segment: [clean, compile] > [INFO] > ---------------------------------------------------------------------------- > [INFO] clean:clean > [INFO] Deleting directory D:\Sw\step-by-step\middleware\target > [INFO] Deleting directory D:\Sw\step-by-step\middleware\target\classes > [INFO] Deleting directory D:\Sw\step-by-step\middleware\target\test-classes > [INFO] No goals needed for project - skipping > [INFO] > ---------------------------------------------------------------------------- > [INFO] BUILD SUCCESSFUL > [INFO] > ---------------------------------------------------------------------------- > [INFO] Total time: 0 second > [INFO] Finished at: Tue Aug 01 14:01:57 BST 2006 > [INFO] Memory 0M/2M > [INFO] > ---------------------------------------------------------------------------- > > it looks like it is not picking up the dependent project, even though my pom > is as follows > > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" > http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>middleware</groupId> > <artifactId>middleware</artifactId> > <packaging>pom</packaging> > <version>1.0-SNAPSHOT</version> > <name>Maven Quick Start Archetype</name> > <url>http://maven.apache.org</url> > <dependencies> > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>3.8.1</version> > <scope>test</scope> > </dependency> > > > </dependencies> > <modules> > <module>myMiddleware</module> > </modules> > <build> > <pluginManagement> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <source>1.5</source> > <target>1.5</target> > </configuration> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-site-plugin</artifactId> > <configuration> > <unzipCommand>/usr/bin/unzip -o > err.txt</unzipCommand> > </configuration> > </plugin> > > </plugins> > </pluginManagement> > </build> > <dependencyManagement> > <dependencies> > <dependency> > <groupId>geronimo-spec</groupId> > <artifactId>geronimo-spec-j2ee</artifactId> > <version>1.4-rc4</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>fop</groupId> > <artifactId>fop</artifactId> > <version>0.20.5rc2</version> > </dependency> > <dependency> > <groupId>axis</groupId> > <artifactId>axis-saaj</artifactId> > <version>1.3</version> > </dependency> > <dependency> > <groupId>axis</groupId> > <artifactId>axis</artifactId> > <version>1.3</version> > </dependency> > > > </dependencies> > </dependencyManagement> > </project> > > > > if i go to the commanline instead, everything works fine > > could anyone help me out? > > my project structure is as follows > > middleware > |____ myMiddleware > > could anyone help me out? > > thanks and regards > marco