Author: aheritier Date: Sun Apr 22 14:04:27 2007 New Revision: 531274 URL: http://svn.apache.org/viewvc?view=rev&rev=531274 Log: Maven offline mode (-o or maven.mode.online=false) overrides maven.eclipse.src.download and maven.eclipse.javadoc.download
Modified: maven/maven-1/plugins/trunk/eclipse/plugin.jelly maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml Modified: maven/maven-1/plugins/trunk/eclipse/plugin.jelly URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/eclipse/plugin.jelly?view=diff&rev=531274&r1=531273&r2=531274 ============================================================================== --- maven/maven-1/plugins/trunk/eclipse/plugin.jelly (original) +++ maven/maven-1/plugins/trunk/eclipse/plugin.jelly Sun Apr 22 14:04:27 2007 @@ -41,7 +41,7 @@ </j:if> <!-- download the source from the remote repository if necessary --> - <j:if test="${maven.eclipse.src.download}"> + <j:if test="${maven.mode.online and maven.eclipse.src.download}"> <eclipse:download-sources project="${pom}" groupId="${groupId}" @@ -86,7 +86,7 @@ <j:otherwise> <classpathentry kind="var" path="MAVEN_REPO/${relativePath}"> <j:set var="jdocs" value="${groupId}/javadoc.jars/${artifactId}-${version}-javadoc.jar" /> - <j:if test="${maven.eclipse.javadoc.download}"> + <j:if test="${maven.mode.online and maven.eclipse.javadoc.download}"> <eclipse:download-javadocs project="${pom}" groupId="${groupId}" Modified: maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml?view=diff&rev=531274&r1=531273&r2=531274 ============================================================================== --- maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml (original) +++ maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml Sun Apr 22 14:04:27 2007 @@ -24,6 +24,7 @@ </properties> <body> <release version="1.12-SNAPSHOT" date="In SVN"> + <action dev="aheritier" type="update">Maven offline mode (-o or maven.mode.online=false) overrides maven.eclipse.src.download and maven.eclipse.javadoc.download</action> <action dev="aheritier" type="add">Project preferences are now generated with the classpath (to define the java version for sources and target).</action> <action dev="aheritier" type="update">WTP settings are now generated if maven.eclipse.wtp.enable=false. No more need to define natures, build commands.</action> <action dev="aheritier" type="add" issues="MPECLIPSE-127">Add basic support (jar,war) for WTP 1.5</action>