Neil Griffin created PLUTO-801:
----------------------------------

             Summary: Build failure caused by the yuicompressor-maven-plugin
                 Key: PLUTO-801
                 URL: https://issues.apache.org/jira/browse/PLUTO-801
             Project: Pluto
          Issue Type: Bug
          Components: build system
    Affects Versions: 3.1.2
            Reporter: Neil Griffin
            Assignee: Neil Griffin
             Fix For: 3.1.2


Building with {{mvn clean install}} causes the following error:
{noformat}
[ERROR] Failed to execute goal 
net.alchim31.maven:yuicompressor-maven-plugin:1.1:compress (compress-js) on 
project portlet-api: Execution compress-js of goal 
net.alchim31.maven:yuicompressor-maven-plugin:1.1:compress failed: A required 
class was missing while executing 
net.alchim31.maven:yuicompressor-maven-plugin:1.1:compress: 
org/codehaus/plexus/util/DirectoryScanner
[ERROR] -----------------------------------------------------
[ERROR] realm =    
plugin>net.alchim31.maven:yuicompressor-maven-plugin:1.1-753121782
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = 
file:/Users/ngriffin/.m2/repository/net/alchim31/maven/yuicompressor-maven-plugin/1.1/yuicompressor-maven-plugin-1.1.jar
[ERROR] urls[1] = 
file:/Users/ngriffin/.m2/repository/com/yahoo/platform/yui/yuicompressor/2.4.2/yuicompressor-2.4.2.jar
[ERROR] urls[2] = 
file:/Users/ngriffin/.m2/repository/rhino/js/1.6R7/js-1.6R7.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm 
ClassRealm[project>org.apache.portals.pluto:pluto:3.1.2-SNAPSHOT, parent: 
ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : org.codehaus.plexus.util.DirectoryScanner
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :portlet-api
 {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to