You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dominik Kaspar (JIRA)" <ji...@apache.org> on 2017/10/04 13:07:00 UTC

[jira] [Created] (MNG-6291) Error: Could not find or load main class $(concat_lines

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)