Skip to content

Failed to execute goal org.apache.maven.plugins:maven-war-plugin .. basedir does not exist #2

@martynbiz

Description

@martynbiz

Hi,

Just cloned this and run mvn clean package out the box. It seems to get past the tests OK but the build fails:

> mvn clean package
...
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:48 min
[INFO] Finished at: 2019-11-15T08:18:40Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:3.2.2:war (default-war) on project spring-glee-o-meter: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:3.2.2:war failed: basedir C:\Users\m\Sites\spring-glee-o-meter\..\glee-o-meter\dist\glee-o-meter does not exist -> [Help 1]
...

Versions:

> mvn -version
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T19:41:47+01:00)
Maven home: C:\wso2\apache-maven-3.6.0\bin\..
Java version: 11.0.2, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.2
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
> java -version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
> javac -version
javac 11.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions