1 Reply Latest reply on Jul 28, 2007 4:52 PM by dmitriy.lapko

    Help with compilation from CVS - maven site plugin not found

    dmitriy.lapko

      I downloaded latest version of Seam 2.0.0Beta1 from cvs by this command:

      But when I exectute ant I have:

      D:\ws\jboss-seam\jboss-seam>ant
      Buildfile: build.xml
      
      initcore:
       [echo] Build JBoss Seam Core 2.0
      
      select-compiler:
      
      antlr:
      
      compilecore:
       [javac] Compiling 26 source files to D:\ws\jboss-seam\jboss-seam\classes\coreclasses
      
      jarcore:
      
      initpdf:
       [echo] Build JBoss Seam PDF 2.0
      
      installExtraDependencies:
      [artifact:install] [INFO] Installing D:\ws\jboss-seam\jboss-seam\lib\jboss-cache-jdk50.jar to C:\Documents and Settings\dlk\.m2\repository\jboss\jboss-cache-jdk
      50\1.4.1.GA-jboss-seam-2.0.0.BETA\jboss-cache-jdk50-1.4.1.GA-jboss-seam-2.0.0.BETA.jar
      [artifact:install] [INFO] Installing D:\ws\jboss-seam\jboss-seam\lib\testng-5.6-jdk15.jar to C:\Documents and Settings\dlk\.m2\repository\org\testng\testng\5.6-
      jboss-seam-2.0.0.BETA\testng-5.6-jboss-seam-2.0.0.BETA.jar
      [artifact:install] [INFO] Installing D:\ws\jboss-seam\jboss-seam\lib\jbpm-jpdl.jar to C:\Documents and Settings\dlk\.m2\repository\jboss\jbpm-jpdl\3.2.1-jboss-s
      eam-2.0.0.BETA\jbpm-jpdl-3.2.1-jboss-seam-2.0.0.BETA.jar
      
      init.m2:
      [artifact:install] [INFO] Installing D:\ws\jboss-seam\jboss-seam\pom.xml to C:\Documents and Settings\dlk\.m2\repository\jboss\jboss-seam\2.0.0.BETA\jboss-seam-
      2.0.0.BETA.pom
      
      jarui:
      [artifact:install] [INFO] Installing D:\ws\jboss-seam\jboss-seam\jboss-seam.jar to C:\Documents and Settings\dlk\.m2\repository\jboss\jboss-seam-core\2.0.0.BETA
      \jboss-seam-core-2.0.0.BETA.jar
       [echo] Installed jboss-seam-core pom
       [java] [INFO] Scanning for projects...
       [java] [INFO] Reactor build order:
       [java] [INFO] JBoss Seam
       [java] [INFO] Seam JSF Controls
       [java] [INFO] ----------------------------------------------------------------------------
       [java] [INFO] Building JBoss Seam
       [java] [INFO] task-segment: [package]
       [java] [INFO] ----------------------------------------------------------------------------
       [java] [INFO] ------------------------------------------------------------------------
       [java] [ERROR] BUILD ERROR
       [java] [INFO] ------------------------------------------------------------------------
       [java] [INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found
       [java] [INFO] ------------------------------------------------------------------------
       [java] [INFO] For more information, run Maven with the -e switch
       [java] [INFO] ------------------------------------------------------------------------
       [java] [INFO] Total time: < 1 second
       [java] [INFO] Finished at: Fri Jul 27 18:42:31 CEST 2007
       [java] [INFO] Final Memory: 1M/4M
       [java] [INFO] ------------------------------------------------------------------------
       [java] Java Result: 1
      
      BUILD FAILED
      D:\ws\jboss-seam\jboss-seam\build.xml:621: Warning: Could not find file D:\ws\jboss-seam\jboss-seam\ui\target\jboss-seam-ui.jar to copy.


      Can you help me, what is a problem? Why it cannot find maven plugin for site? I checked, I don't have maven in my classpath...

      I have:

      D:\ws\jboss-seam\jboss-seam>ant -version
      Apache Ant version 1.7.0 compiled on December 13 2006
      D:\ws\jboss-seam\jboss-seam>java -version
      java version "1.6.0_01"
      Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
      Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)



        • 1. Re: Help with compilation from CVS - maven site plugin not f
          dmitriy.lapko

          I found the reason of the problem.

          The problem was fixed when I deleted C:\Documents and Settings\dlk\.m2 folder. It is a repository of maven where it stores all loaded jars. After that it started to reload libraries again. It looks like it failed to load one of jars which was needed for compilation and didn't notice it :( It didn't try to reload it again, it doesn't check checksum for loaded jars (I think it is an issue for maven).

          If I would know, what jar was spoiled, I could reload only it, I think.