Skip to content

Commit e567e44

Browse files
authored
Disable Xlint path, skip deploy and install (#70)
1 parent 42f724e commit e567e44

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

modbus-tests/pom.xml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,48 @@
4141
</dependency>
4242
</dependencies>
4343

44+
<build>
45+
<plugins>
46+
<plugin>
47+
<groupId>org.apache.maven.plugins</groupId>
48+
<artifactId>maven-compiler-plugin</artifactId>
49+
<version>3.13.0</version>
50+
<configuration>
51+
<fork>true</fork>
52+
<compilerArgs>
53+
<arg>-Werror</arg>
54+
<arg>-Xlint:all</arg>
55+
<arg>-Xlint:-path</arg>
56+
</compilerArgs>
57+
</configuration>
58+
</plugin>
59+
<plugin>
60+
<groupId>org.apache.maven.plugins</groupId>
61+
<artifactId>maven-jar-plugin</artifactId>
62+
<version>3.4.2</version>
63+
<executions>
64+
<execution>
65+
<id>default-jar</id>
66+
<phase>none</phase>
67+
</execution>
68+
</executions>
69+
</plugin>
70+
<plugin>
71+
<artifactId>maven-deploy-plugin</artifactId>
72+
<version>3.1.3</version>
73+
<configuration>
74+
<skip>true</skip>
75+
</configuration>
76+
</plugin>
77+
<plugin>
78+
<groupId>org.apache.maven.plugins</groupId>
79+
<artifactId>maven-install-plugin</artifactId>
80+
<version>3.1.3</version>
81+
<configuration>
82+
<skip>true</skip>
83+
</configuration>
84+
</plugin>
85+
</plugins>
86+
</build>
87+
4488
</project>

0 commit comments

Comments
 (0)