cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lgaw...@apache.org
Subject svn commit: r439657 - /cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java
Date Sat, 02 Sep 2006 21:26:47 GMT
Author: lgawron
Date: Sat Sep  2 14:26:46 2006
New Revision: 439657

URL: http://svn.apache.org/viewvc?rev=439657&view=rev
Log:
system dependencies also should not be deployed

Modified:
    cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java

Modified: cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java?rev=439657&r1=439656&r2=439657&view=diff
==============================================================================
--- cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java
(original)
+++ cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java
Sat Sep  2 14:26:46 2006
@@ -369,7 +369,8 @@
             Artifact artifact = (Artifact) iter.next();
             // Include runtime and compile time libraries
             if (!Artifact.SCOPE_PROVIDED.equals(artifact.getScope())
-                    && !Artifact.SCOPE_TEST.equals(artifact.getScope()) &&
"jar".equals(artifact.getType())) {
+                    && !Artifact.SCOPE_TEST.equals(artifact.getScope())
+                    && !Artifact.SCOPE_SYSTEM.equals(artifact.getScope()) &&
"jar".equals(artifact.getType())) {
                 try {
                     FileUtils.copyFileToDirectory(artifact.getFile(), new File(webappDirectory_,
"WEB-INF/lib"));
                     this.getLog().info("Deploying artifact to WEB-INF/lib/" + artifact.getFile().getName());



Mime
View raw message