Maven package/install without test (skip tests)
To package/install a Maven project without running the tests, you can use the maven-install-plugin and specify the skipTests property as true.
Here is an example of how to package and install a Maven project without running the tests:
mvn install -DskipTestsYou can also specify the skipTests property in the <build> section of your Maven pom.xml file:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.0.0-M1</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>Then you can run the install goal without specifying the -DskipTests option:
mvn installI hope this helps. Let me know if you have any questions.