archetype-resources.pom.xml Maven / Gradle / Ivy
<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>\${groupId}</groupId> <artifactId>\${artifactId}</artifactId> <version>\${version}</version> <packaging>jar</packaging> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <java.version>1.8</java.version> <spring-boot.version>${spring-boot.version}</spring-boot.version> <uibuilder.version>${project.version}</uibuilder.version> </properties> #set( $uibuilderVersion = "${project.version}" ) #if( $uibuilderVersion.contains("-SNAPSHOT") ) <repositories> <repository> <id>uibuilder-snapshots</id> <url>http://nexus.devbench.io/content/repositories/public/</url> </repository> </repositories> #end <dependencyManagement> <dependencies> <dependency> <groupId>io.devbench</groupId> <artifactId>uibuilder-bom</artifactId> <version>${uibuilder.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>\${spring-boot.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>io.devbench.uibuilder.context-management</groupId> <artifactId>uibuilder-springboot</artifactId> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> <configuration> <source>\${java.version}</source> <target>\${java.version}</target> <encoding>\${project.build.sourceEncoding}</encoding> </configuration> </plugin> </plugins> </build> </project>