o EclipsePlugin now does NOT download sources by default.

Specify -Declipse.downloadSources=true to do so.

o WarMojo produces an artifact, even if exploded is specified. This makes sure
  that the install phase doesn't fail because there's no artifact.

o DependenciesReport: add caught exception to the new thrown exception
  for better messages.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289353 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Kenney Westerhof 2005-09-16 00:37:58 +00:00
parent d16508ce09
commit c9bf147e29
3 changed files with 6 additions and 3 deletions

View File

@ -143,7 +143,7 @@ public class EclipsePlugin
*
* @parameter expression="${eclipse.downloadSources}"
*/
private boolean downloadSources = true;
private boolean downloadSources = false;
/**
* Eclipse workspace directory.

View File

@ -279,7 +279,7 @@ public class DependenciesReport
throw new IllegalArgumentException( "Can't find a valid Maven project in the repository for the artifact ["
+ artifact.getGroupId() + ":"
+ artifact.getArtifactId() + ":"
+ artifact.getVersion() + "]." );
+ artifact.getVersion() + "].", e );
}
tableRow( new String[]{artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(),
artifactProject.getDescription(),

View File

@ -314,7 +314,10 @@ public class WarMojo
{
generateExplodedWebapp();
if ( !"exploded".equals( mode ) )
// TODO: make a separate 'exploded' Mojo. For now,
// disable not making an artifact so the install phase
// doesn't fail.
// if ( !"exploded".equals( mode ) )
{
//generate war file
getLog().info( "Generating war " + warFile.getAbsolutePath() );