Uploaded image for project: 'Maven 3 Artifactory Plugin'
  1. Maven 3 Artifactory Plugin
  2. NMAP-41

Unable to minimise the Maven Verbose

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 2.4.0
    • Fix Version/s: None
    • Labels:

      Description

      Hi, 

      I have used both these options, yet, it is writing a lot of INFO logs to the pipeline job console output.

       

      def rtMaven = Artifactory.newMavenBuild()
      rtMaven.tool = 'Maven 3.3.9'
      rtMaven.opts = "-Dorg.slf4j.simpleLogger.defaultLogLevel=WARN"
      def buildInfo = rtMaven.run pom: 'src/charter.bw.enterprise.webapi.account-contactpoint.parent/pom.xml', goals: '-q clean package initialize'

       

       

       

      here is how logs rolling..

      [pipeline] $ /apps/jenkins/tools/hudson.model.JDK/JDK_1.8.162/bin/java -classpath /apps/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.3.9/boot/* -Dmaven.home=/apps/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.3.9 -Dmaven.conf=/apps/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.3.9/conf -DbuildInfoConfig.propertiesFile=/apps/jenkins/workspace/tibco/bwce-app-builds/charter.bw.enterprise.webapi.account-contactpoint/pipeline@tmp/buildInfo7256291224682836875.properties -Dm3plugin.lib=/apps/jenkins/workspace/tibco/bwce-app-builds/charter.bw.enterprise.webapi.account-contactpoint/pipeline@tmp/cache/artifactory-plugin/2.16.2 -Dclassworlds.conf=/apps/jenkins/workspace/tibco/bwce-app-builds/charter.bw.enterprise.webapi.account-contactpoint/pipeline@tmp/classworlds3181319515833112615conf -Dmaven.multiModuleProjectDirectory=/apps/jenkins/workspace/tibco/bwce-app-builds/charter.bw.enterprise.webapi.account-contactpoint/pipeline -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN org.codehaus.plexus.classworlds.launcher.Launcher -f src/charter.bw.enterprise.webapi.account-contactpoint.parent/pom.xml -q clean package initialize
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Maven Stub Project (No POM) 1
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] — maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom —
      [INFO] Installing /apps/jenkins/workspace/tibco/bwce-app-builds/charter.bw.enterprise.webapi.account-contactpoint/pipeline/commonframework-tibco/charter.bw.enterprise.gateway.webapiframework/lib/jose4j-0.5.1.jar to /data/apps/jenkins/.m2/repository/tempbw/jose4j-0.5.1/0.0.0/jose4j-0.5.1-0.0.0.jar
      [INFO] Installing /tmp/mvninstall1913223652030258612.pom to /data/apps/jenkins/.m2/repository/tempbw/jose4j-0.5.1/0.0.0/jose4j-0.5.1-0.0.0.pom
      [INFO] -----------------------------

        Attachments

          Activity

            People

            Assignee:
            eyalb Eyal Ben Moshe
            Reporter:
            Venu Venu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: