-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 2.54
Pipeline Maven Plugin 2.0.2
I have a maven project which uses the Flatten maven plugin (http://www.mojohaus.org/flatten-maven-plugin/)
When I build the project using Jenkins Pipeline, I see the following warnings during the build:
[jenkins-maven-event-spy] WARNING: unexpected Maven project file name '.flattened-pom.xml', problems may occur
What problems may occur?
My build script looks like this:
pipeline { agent { label agentLabel } stages { stage('Build') { steps { withMaven(jdk: 'JDK8', maven: 'MVN3', mavenSettingsConfig: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig1422003195277') { bat "mvn -B ${args}" } } } } }