pom.xml (3007B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <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"> 3 <modelVersion>4.0.0</modelVersion> 4 5 <groupId>com.it-jaros</groupId> 6 <artifactId>jscanner</artifactId> 7 <version>1.0-SNAPSHOT</version> 8 9 <name>jscanner</name> 10 <!-- FIXME change it to the project's website --> 11 <url>http://www.example.com</url> 12 13 <properties> 14 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 15 <maven.compiler.release>21</maven.compiler.release> 16 </properties> 17 18 <dependencyManagement> 19 <dependencies> 20 <dependency> 21 <groupId>org.junit</groupId> 22 <artifactId>junit-bom</artifactId> 23 <version>5.11.0</version> 24 <type>pom</type> 25 <scope>import</scope> 26 </dependency> 27 </dependencies> 28 </dependencyManagement> 29 30 <dependencies> 31 <dependency> 32 <groupId>org.junit.jupiter</groupId> 33 <artifactId>junit-jupiter-api</artifactId> 34 <scope>test</scope> 35 </dependency> 36 <!-- Optionally: parameterized tests support --> 37 <dependency> 38 <groupId>org.junit.jupiter</groupId> 39 <artifactId>junit-jupiter-params</artifactId> 40 <scope>test</scope> 41 </dependency> 42 </dependencies> 43 44 <build> 45 <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) --> 46 <plugins> 47 <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle --> 48 <plugin> 49 <artifactId>maven-clean-plugin</artifactId> 50 <version>3.4.0</version> 51 </plugin> 52 <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> 53 <plugin> 54 <artifactId>maven-resources-plugin</artifactId> 55 <version>3.3.1</version> 56 </plugin> 57 <plugin> 58 <artifactId>maven-compiler-plugin</artifactId> 59 <version>3.13.0</version> 60 </plugin> 61 <plugin> 62 <artifactId>maven-surefire-plugin</artifactId> 63 <version>3.3.0</version> 64 </plugin> 65 <plugin> 66 <artifactId>maven-jar-plugin</artifactId> 67 <version>3.4.2</version> 68 <configuration> 69 <archive> 70 <manifest> 71 <mainClass>com.it_jaros.jscanner.App</mainClass> 72 </manifest> 73 </archive> 74 </configuration> 75 </plugin> 76 <plugin> 77 <artifactId>maven-install-plugin</artifactId> 78 <version>3.1.2</version> 79 </plugin> 80 <plugin> 81 <artifactId>maven-deploy-plugin</artifactId> 82 <version>3.1.2</version> 83 </plugin> 84 <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle --> 85 <plugin> 86 <artifactId>maven-site-plugin</artifactId> 87 <version>3.12.1</version> 88 </plugin> 89 <plugin> 90 <artifactId>maven-project-info-reports-plugin</artifactId> 91 <version>3.6.1</version> 92 </plugin> 93 </plugins> 94 </pluginManagement> 95 </build> 96 </project>