james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (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
Date Mon, 07 Apr 2014 09:11:31 GMT

    [ https://issues.apache.org/jira/browse/JAMES-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13961734#comment-13961734
] 

Mario  commented on JAMES-1544:
-------------------------------

Hi Mark
Ok I had a deeper look at it and it seems the war its build on the build server BUT the needed
files in the war are still missing so I guess the plugin on the build server is simply ignoring
the missing artefact and not fail...... but this is not change the fact of the missing spring
files in the war so I guess my fix suggestion is still valid...


> 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
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JAMES-1544
>                 URL: https://issues.apache.org/jira/browse/JAMES-1544
>             Project: James Server
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: Trunk
>         Environment: $ mvn -V
> Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T18:37:52+01:00)
> Maven home: /opt/maven
> Java version: 1.7.0_51, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "3.2.0-60-generic", arch: "amd64", family: "unix"
>            Reporter: Mark
>            Priority: Critical
>         Attachments: enforcer.patch, log.txt, missingSpringConfiginWAR.JPG
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message