Andy,
I am still not sure what is going on, so few more questions if you do
not ming.
Does the build stops as expected if you run "mvn install" from command line?
What happens if you set goals to "clean install" in m2eclipse?
Does this project use "Maven Output Folders"?
Andy Dingfelder wrote:
a java project, with the latest m2eclipse, and following settings from the
build screen:
goals: install
"debug output" is checked, the rest of the checkboxes are unchecked
no parameters
runtime is embedded
1.6.0_06 JVM
pom =
<?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>com.sirtrack</groupId>
<artifactId>common_java</artifactId>
<name>Common Java Library</name>
<version>0.0.1</version>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>com.sirtrack.common.Common</mainClass>
<classpathPrefix>lib</classpathPrefix>
<addClasspath>true</addClasspath>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.14</version>
</dependency>
<dependency>
<groupId>javax.help</groupId>
<artifactId>javahelp</artifactId>
<version>2.0.02</version>
</dependency>
<dependency>
<groupId>com.lowagie</groupId>
<artifactId>itext</artifactId>
<version>2.0.6</version>
</dependency>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>1.3.1</version>
</dependency>
<dependency>
<groupId>net.sourceforge.jtds</groupId>
<artifactId>jtds</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>com.jgoodies</groupId>
<artifactId>looks</artifactId>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.0.4</version>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.1.3</version>
</dependency>
<!-- dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbyclient</artifactId>
<version>10.3.2.1</version>
</dependency-->
</dependencies>
</project>
Having said that, I originally asked this question back with version 0.0.12
where it was an issue as well
Igor Fedorenko <[EMAIL PROTECTED]> 05/24/08 12:32 AM >>>
Andy,
Can you provide some context? What project(s) are you trying to build?
Version of m2eclipse. How you invoke the build.
Andy Dingfelder wrote:
oops, sorry about the wrong subject on the parent post.
should be
"Build doesn't stop on compile error"
not
"How to get sources"
(I hit reply from an old post)
"Andy Dingfelder" <[EMAIL PROTECTED]> 05/23/08 4:41 PM >>>
I seem to remember asking this a long while back but don't remember seeing an
answer.
Assuming my xml is good, my builds result in a BUILD SUCCESSFUL even if there
is a compile error.
How can I make the build stop if there is a java source compile error?
Cheers,
Ding
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email