Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8394

"No artifacts are recorded. Is this a Maven project?" with Maven3 build and Hudson 1.392

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • artifactory-plugin
    • None

      We have a POM with "<packaging>jar</packaging>" and a usual Maven "3.0.1" job, Hudson is "1.392". When job finishes it displays:

      mojoSucceeded org.codehaus.gmaven:gmaven-plugin:1.3(update-excludes-list)
      mojoStarted org.apache.maven.plugins:maven-install-plugin:2.3.1(default-install)
      [INFO] Installing c:\_svn\clfdev\trunk\devmain\DEV5_COMP\dbs-dps\pack\build\tomcat\clf\.hudson\jobs\person\workspace\target\person-2.jar to c:\_svn\clfdev\trunk\devmain\DEV5_COMP\dbs-dps\pack\build\tomcat\clf\.m2\index\person\2\person-2.jar
      [INFO] Installing c:\_svn\clfdev\trunk\devmain\DEV5_COMP\dbs-dps\pack\build\tomcat\clf\.hudson\jobs\person\workspace\pom.xml to c:\_svn\clfdev\trunk\devmain\DEV5_COMP\dbs-dps\pack\build\tomcat\clf\.m2\index\person\2\person-2.pom
      [INFO] Installing c:\_svn\clfdev\trunk\devmain\DEV5_COMP\dbs-dps\pack\build\tomcat\clf\.hudson\jobs\person\workspace\target\person.tar to c:\_svn\clfdev\trunk\devmain\DEV5_COMP\dbs-dps\pack\build\tomcat\clf\.m2\index\person\2\person-2.tar
      mojoSucceeded org.apache.maven.plugins:maven-install-plugin:2.3.1(default-install)
      projectSucceeded index:person:2
      [HUDSON] Archiving c:\_svn\clfdev\trunk\devmain\DEV5_COMP\dbs-dps\pack\build\tomcat\clf\.hudson\jobs\person\workspace\pom.xml to c:\_svn\clfdev\trunk\devmain\DEV5_COMP\dbs-dps\pack\build\tomcat\clf\.hudson\jobs\person\modules\index$person\builds\2011-01-03_03-33-28\archive\index\person\2\pom.xml
      [HUDSON] Archiving c:\_svn\clfdev\trunk\devmain\DEV5_COMP\dbs-dps\pack\build\tomcat\clf\.hudson\jobs\person\workspace\target\person-2.jar to c:\_svn\clfdev\trunk\devmain\DEV5_COMP\dbs-dps\pack\build\tomcat\clf\.hudson\jobs\person\modules\index$person\builds\2011-01-03_03-33-28\archive\index\person\2\person-2.jar
      [HUDSON] Archiving c:\_svn\clfdev\trunk\devmain\DEV5_COMP\dbs-dps\pack\build\tomcat\clf\.hudson\jobs\person\workspace\target\person.tar to c:\_svn\clfdev\trunk\devmain\DEV5_COMP\dbs-dps\pack\build\tomcat\clf\.hudson\jobs\person\modules\index$person\builds\2011-01-03_03-33-28\archive\index\person\2\person.tar
      sessionEnded
      maven builder waiting
      channel stopped
      No artifacts are recorded. Is this a Maven project?
      Finished: FAILURE
      

      We have two artifacts, a jar file and a tar file created, attached as artifact. Both + POM are successfully installed to "c:_svn\clfdev\trunk\devmain\DEV5_COMP\dbs-dps\pack\build\tomcat\clf\.m2" - that's job's Maven repo.

            yossis yossis
            evgeny_goldin evgeny_goldin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: