Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1544

Execution make-war of goal org.apache.maven.plugins:maven-war-plugin:2.3:war failed: basedir .../james/app/src/main/config/war does not exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Trunk
    • None
    • Build System
    • None

    Description

      Tried to build it like it is done on ci.apache.org, but somehow the build fails whereas it works on ci.apache.org.

      Any ideas?


      [INFO] — maven-war-plugin:2.3:war (make-war) @ james-server-app —
      [INFO] Packaging webapp
      [INFO] Assembling webapp [james-server-app] in [/home/mark/git/james/app/target/james-server-app-3.0.0-beta5-SNAPSHOT]
      [INFO] Processing war project
      [INFO] Copying webapp webResources [/home/mark/git/james/app/src/main/resources] to [/home/mark/git/james/app/target/james-server-app-3.0.0-beta5-SNAPSHOT]
      [INFO] Copying webapp webResources [/home/mark/git/james/app/src/main/resources] to [/home/mark/git/james/app/target/james-server-app-3.0.0-beta5-SNAPSHOT]
      [INFO] Copying webapp webResources [/home/mark/git/james/app/src/main/config/war] to [/home/mark/git/james/app/target/james-server-app-3.0.0-beta5-SNAPSHOT]
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Apache James :: Server ............................ SUCCESS [ 1.780 s]
      [INFO] Apache James :: Server :: Data :: API ............ SUCCESS [ 2.420 s]
      [INFO] Apache James :: Server :: Lifecycle API ........... SUCCESS [ 0.562 s]
      [INFO] Apache James :: Server :: Filesystem API .......... SUCCESS [ 0.879 s]
      [INFO] Apache James :: Server :: Mailetcontainer API ..... SUCCESS [ 0.363 s]
      [INFO] Apache James :: Server :: Common Utilities ........ SUCCESS [ 1.014 s]
      [INFO] Apache James :: Server :: Protocols Library ....... SUCCESS [ 0.784 s]
      [INFO] Apache James :: Server :: Core .................... SUCCESS [ 0.656 s]
      [INFO] Apache James :: Server :: Container Spring ........ SUCCESS [ 1.635 s]
      [INFO] Apache James :: Server :: Client .................. SUCCESS [ 0.700 s]
      [INFO] Apache James :: Server :: DNS Service :: API ...... SUCCESS [ 0.207 s]
      [INFO] Apache James :: Server :: DNS Service :: Library .. SUCCESS [ 0.341 s]
      [INFO] Apache James :: Server :: Mail Queue :: API ....... SUCCESS [ 0.203 s]
      [INFO] Apache James :: Server :: Mailetcontainer Camel ... SUCCESS [ 0.835 s]
      [INFO] Apache James :: Server :: Mailbox Adapter ......... SUCCESS [ 0.604 s]
      [INFO] Apache James :: Server :: DNS Service :: Implementation SUCCESS [ 0.305 s]
      [INFO] Apache James :: Server :: Data :: Library ......... SUCCESS [ 0.606 s]
      [INFO] Apache James :: Server :: Data :: LDAP Implementation SUCCESS [ 0.254 s]
      [INFO] Apache James :: Server :: SMTP .................... SUCCESS [ 0.959 s]
      [INFO] Apache James :: Server :: IMAP .................... SUCCESS [ 0.518 s]
      [INFO] Apache James :: Server :: LMTP .................... SUCCESS [ 0.491 s]
      [INFO] Apache James :: Server :: POP3 .................... SUCCESS [ 0.491 s]
      [INFO] Apache James :: Server :: FetchMail ............... SUCCESS [ 0.355 s]
      [INFO] Apache James :: Server :: Mail Queue :: File ...... SUCCESS [ 0.262 s]
      [INFO] Apache James :: Server :: Mail Queue :: JMS ....... SUCCESS [ 0.503 s]
      [INFO] Apache James :: Server :: Mail Queue :: ActiveMQ .. SUCCESS [ 0.528 s]
      [INFO] Apache James :: Server :: Mailets ................. SUCCESS [ 1.133 s]
      [INFO] Apache James :: Server :: Data :: File Persistence SUCCESS [ 0.395 s]
      [INFO] Apache James :: Server :: Data :: JPA Persistence . SUCCESS [ 0.927 s]
      [INFO] Apache James :: Server :: Data :: JDBC Persistence SUCCESS [ 0.524 s]
      [INFO] Apache James :: Server :: Data :: HBase Persistence SUCCESS [ 1.791 s]
      [INFO] Apache James :: Server :: Data :: JCR Persistence . SUCCESS [ 0.505 s]
      [INFO] Apache James :: Server :: App ..................... FAILURE [ 6.287 s]
      [INFO] Apache James :: Karaf :: Features ................. SKIPPED
      [INFO] Apache James :: Karaf :: James Server ............. SKIPPED
      [INFO] Apache James :: Karaf :: Integration tests ........ SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 31.316 s
      [INFO] Finished at: 2014-04-02T20:05:42+01:00
      [INFO] Final Memory: 112M/744M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.3:war (make-war) on project james-server-app: Execution make-war of goal org.apache.maven.plugins:maven-war-plugin:2.3:war failed: basedir /home/mark/git/james/app/src/main/config/war does not exist -> [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/PluginExecutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR] mvn <goals> -rf :james-server-app

      Attachments

        1. apache-james-git-empty-dir-fix.patch
          1 kB
          Mark
        2. enforcer.patch
          1 kB
          Mark
        3. log.txt
          684 kB
          Mark
        4. missingSpringConfiginWAR.JPG
          68 kB
          Mario

        Activity

          People

            Unassigned Unassigned
            gWdfL59U Mark
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: