maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik Kaspar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MNG-6291) Error: Could not find or load main class $(concat_lines
Date Wed, 04 Oct 2017 13:07:00 GMT
Dominik Kaspar created MNG-6291:
-----------------------------------

             Summary: Error: Could not find or load main class $(concat_lines
                 Key: MNG-6291
                 URL: https://issues.apache.org/jira/browse/MNG-6291
             Project: Maven
          Issue Type: Bug
    Affects Versions: 3.3.9
         Environment: SunOS 5.10 Generic_150401-18 i86pc i386 i86pc

            Reporter: Dominik Kaspar


I use Jenkins to install different versions of Maven. I've installed 3.0.4, 3.1.1, 3.2.5,
3.3.9, and 3.5.0 to build a simple project, which all worked fine on Linux, but on Solaris
I get a failure with only the version 3.3.9.

{code}
$ /app/jenkins/tools/hudson.tasks.Maven_MavenInstallation/mvn33/bin/mvn clean
Error: Could not find or load main class $(concat_lines
{code}

There seems to be something wrong with how the MAVEN_OPTS are built:
{code}
MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message