mirror of https://github.com/apache/maven.git
[MNG-6562] fixed issues caused by new WARNING on default plugins
This commit is contained in:
parent
430152c1e5
commit
fdac028100
|
@ -74,18 +74,18 @@ public class MavenITmng5581LifecycleMappingDelegate
|
|||
{
|
||||
List<String> lines = verifier.loadFile( verifier.getBasedir(), verifier.getLogFileName(), false );
|
||||
|
||||
boolean result = true;
|
||||
boolean textFound = false;
|
||||
for ( String line : lines )
|
||||
{
|
||||
if ( line.contains( text ) )
|
||||
{
|
||||
result = false;
|
||||
textFound = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ( !result )
|
||||
if ( textFound )
|
||||
{
|
||||
throw new VerificationException( "Text not found in log: " + text );
|
||||
throw new VerificationException( "Text found in log: " + text );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -33,5 +33,51 @@
|
|||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<!-- set versions of default bindings plugins to avoid warning added in MNG-6562 -->
|
||||
<plugin><!-- clean lifecycle -->
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
</plugin>
|
||||
<plugin><!-- site lifecycle -->
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<version>3.7.1</version>
|
||||
</plugin>
|
||||
<!-- default lifecycle jar packaging -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.7.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.12</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-install-plugin</artifactId>
|
||||
<version>2.5.2</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>2.8.2</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
</project>
|
||||
|
|
|
@ -43,5 +43,13 @@ under the License.
|
|||
<version>0.1</version>
|
||||
</extension>
|
||||
</extensions>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin><!-- avoid warning introduced in MNG-6562 that interferes with IT log check -->
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.1</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue