Refactoring: better name for SameVersionInspection
It now has better suppression string
This commit is contained in:
+1
-1
@@ -32,6 +32,6 @@
|
||||
</build>
|
||||
</project>
|
||||
|
||||
<!-- inspection: org.jetbrains.kotlin.idea.maven.inspections.SameVersionInspection -->
|
||||
<!-- inspection: org.jetbrains.kotlin.idea.maven.inspections.DifferentMavenStdlibVersionInspection -->
|
||||
<!-- problem: on ${kotlin.version.1}, title Plugin version (1.0.1) is not the same as library version (1.0.1-2) -->
|
||||
<!-- problem: on ${kotlin.version.2}, title Plugin version (1.0.1) is not the same as library version (1.0.1-2) -->
|
||||
+1
-1
@@ -32,6 +32,6 @@
|
||||
</build>
|
||||
</project>
|
||||
|
||||
<!-- inspection: org.jetbrains.kotlin.idea.maven.inspections.SameVersionInspection -->
|
||||
<!-- inspection: org.jetbrains.kotlin.idea.maven.inspections.DifferentMavenStdlibVersionInspection -->
|
||||
<!-- problem: on ${kotlin.version.1}, title Plugin version (1.0.1) is not the same as library version (1.0.1-2) -->
|
||||
<!-- problem: on ${kotlin.version.2}, title Plugin version (1.0.1) is not the same as library version (1.0.1-2) -->
|
||||
@@ -32,6 +32,6 @@
|
||||
</build>
|
||||
</project>
|
||||
|
||||
<!-- inspection: org.jetbrains.kotlin.idea.maven.inspections.SameVersionInspection -->
|
||||
<!-- inspection: org.jetbrains.kotlin.idea.maven.inspections.DifferentMavenStdlibVersionInspection -->
|
||||
<!-- problem: on ${kotlin.version.1}, title Plugin version (1.0.1) is not the same as library version (1.0.1-2) -->
|
||||
<!-- problem: on ${kotlin.version.2}, title Plugin version (1.0.1) is not the same as library version (1.0.1-2) -->
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.jetbrains.kotlin.test</groupId>
|
||||
<artifactId>configure-maven-test</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<kotlin.version.1>1.0.1</kotlin.version.1>
|
||||
<kotlin.version.2>1.0.1-2</kotlin.version.2>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.jetbrains.kotlin</groupId>
|
||||
<artifactId>kotlin-stdlib</artifactId>
|
||||
<!--suppress DifferentMavenStdlibVersion -->
|
||||
<version>${kotlin.version.2}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.jetbrains.kotlin</groupId>
|
||||
<artifactId>kotlin-maven-plugin</artifactId>
|
||||
<!--suppress DifferentMavenStdlibVersion -->
|
||||
<version>${kotlin.version.1}</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
<!-- inspection: org.jetbrains.kotlin.idea.maven.inspections.DifferentMavenStdlibVersionInspection -->
|
||||
Reference in New Issue
Block a user