|
| 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" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <parent> |
| 6 | + <groupId>io.spring.javaformat</groupId> |
| 7 | + <artifactId>spring-javaformat-vscode</artifactId> |
| 8 | + <version>0.0.36-SNAPSHOT</version> |
| 9 | + </parent> |
| 10 | + <artifactId>spring-javaformat-format-service</artifactId> |
| 11 | + <packaging>jar</packaging> |
| 12 | + <name>Spring JavaFormat format-service</name> |
| 13 | + <properties> |
| 14 | + <main.basedir>${basedir}/../..</main.basedir> |
| 15 | + </properties> |
| 16 | + <build> |
| 17 | + <plugins> |
| 18 | + <plugin> |
| 19 | + <groupId>org.springframework.boot</groupId> |
| 20 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 21 | + <version>2.1.8.RELEASE</version> |
| 22 | + <configuration> |
| 23 | + <outputDirectory>${main.basedir}/spring-javaformat-vscode/spring-javaformat/runtime/</outputDirectory> |
| 24 | + </configuration> |
| 25 | + <executions> |
| 26 | + <execution> |
| 27 | + <goals> |
| 28 | + <goal>repackage</goal> |
| 29 | + </goals> |
| 30 | + </execution> |
| 31 | + </executions> |
| 32 | + </plugin> |
| 33 | + <plugin> |
| 34 | + <groupId>org.codehaus.mojo</groupId> |
| 35 | + <artifactId>exec-maven-plugin</artifactId> |
| 36 | + <configuration> |
| 37 | + <workingDirectory>${main.basedir}/spring-javaformat-vscode/spring-javaformat</workingDirectory> |
| 38 | + </configuration> |
| 39 | + <executions> |
| 40 | + <execution> |
| 41 | + <id>exec-yarn-install</id> |
| 42 | + <phase>compile</phase> |
| 43 | + <configuration> |
| 44 | + <executable>yarn</executable> |
| 45 | + </configuration> |
| 46 | + <goals> |
| 47 | + <goal>exec</goal> |
| 48 | + </goals> |
| 49 | + </execution> |
| 50 | + <execution> |
| 51 | + <id>exec-package</id> |
| 52 | + <phase>package</phase> |
| 53 | + <configuration> |
| 54 | + <executable>vsce</executable> |
| 55 | + <arguments> |
| 56 | + <argument>package</argument> |
| 57 | + </arguments> |
| 58 | + </configuration> |
| 59 | + <goals> |
| 60 | + <goal>exec</goal> |
| 61 | + </goals> |
| 62 | + </execution> |
| 63 | + </executions> |
| 64 | + </plugin> |
| 65 | + <plugin> |
| 66 | + <groupId>org.apache.maven.plugins</groupId> |
| 67 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 68 | + <executions> |
| 69 | + <execution> |
| 70 | + <id>checkstyle-validation</id> |
| 71 | + <phase>validate</phase> |
| 72 | + <configuration> |
| 73 | + <excludes>**/*/FormatterWebApplication.java</excludes> |
| 74 | + </configuration> |
| 75 | + </execution> |
| 76 | + </executions> |
| 77 | + </plugin> |
| 78 | + <plugin> |
| 79 | + <groupId>io.spring.javaformat</groupId> |
| 80 | + <artifactId>spring-javaformat-maven-plugin</artifactId> |
| 81 | + <version>0.0.16-SNAPSHOT</version> |
| 82 | + </plugin> |
| 83 | + </plugins> |
| 84 | + </build> |
| 85 | + <dependencyManagement> |
| 86 | + <dependencies> |
| 87 | + <dependency> |
| 88 | + <groupId>org.springframework.boot</groupId> |
| 89 | + <artifactId>spring-boot-dependencies</artifactId> |
| 90 | + <version>2.1.6.RELEASE</version> |
| 91 | + <type>pom</type> |
| 92 | + <scope>import</scope> |
| 93 | + </dependency> |
| 94 | + </dependencies> |
| 95 | + </dependencyManagement> |
| 96 | + <dependencies> |
| 97 | + <!-- Compile --> |
| 98 | + <dependency> |
| 99 | + <groupId>org.springframework.boot</groupId> |
| 100 | + <artifactId>spring-boot-starter</artifactId> |
| 101 | + <version>2.1.6.RELEASE</version> |
| 102 | + </dependency> |
| 103 | + <dependency> |
| 104 | + <groupId>org.springframework.boot</groupId> |
| 105 | + <artifactId>spring-boot-starter-web</artifactId> |
| 106 | + <version>2.1.6.RELEASE</version> |
| 107 | + </dependency> |
| 108 | + <dependency> |
| 109 | + <groupId>io.spring.javaformat</groupId> |
| 110 | + <artifactId>spring-javaformat-formatter</artifactId> |
| 111 | + <version>${project.version}</version> |
| 112 | + </dependency> |
| 113 | + <!-- Provided --> |
| 114 | + <dependency> |
| 115 | + <groupId>io.spring.javaformat</groupId> |
| 116 | + <artifactId>spring-javaformat-formatter-eclipse-runtime</artifactId> |
| 117 | + <version>${project.version}</version> |
| 118 | + <scope>provided</scope> |
| 119 | + </dependency> |
| 120 | + </dependencies> |
| 121 | +</project> |
0 commit comments