|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | | - <parent> |
6 | | - <groupId>com.microsoft.java</groupId> |
7 | | - <artifactId>java-debug-parent</artifactId> |
8 | | - <version>0.32.0</version> |
9 | | - </parent> |
10 | | - <artifactId>com.microsoft.java.debug.core</artifactId> |
11 | | - <packaging>jar</packaging> |
| 5 | + <groupId>ch.epfl.scala</groupId> |
| 6 | + <artifactId>com-microsoft-java-debug-core</artifactId> |
12 | 7 | <name>${base.name} :: Debugger Core</name> |
| 8 | + <description>The Java Debug Server is an implementation of Visual Studio Code (VSCode) Debug Protocol. It can be used in Visual Studio Code to debug Java programs.</description> |
| 9 | + <url>https://github.com/Microsoft/java-debug</url> |
| 10 | + <version>0.32.0+1-SNAPSHOT</version> |
| 11 | + <packaging>jar</packaging> |
13 | 12 | <properties> |
| 13 | + <base.name>Java Debug Server for Visual Studio Code</base.name> |
| 14 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 15 | + <checkstyleDir>${basedir}/../</checkstyleDir> |
14 | 16 | </properties> |
| 17 | + |
| 18 | + <licenses> |
| 19 | + <license> |
| 20 | + <name>Eclipse Public License 1.0</name> |
| 21 | + <url>https://github.com/Microsoft/java-debug/blob/master/LICENSE.txt</url> |
| 22 | + <distribution>repo</distribution> |
| 23 | + </license> |
| 24 | + </licenses> |
| 25 | + |
| 26 | + <developers> |
| 27 | + <developer> |
| 28 | + <id>adpi2</id> |
| 29 | + <name>Adrien Piquerez</name> |
| 30 | + <email>adrien.piquerez@gmail.com</email> |
| 31 | + <url>"https://github.com/adpi2/"</url> |
| 32 | + </developer> |
| 33 | + </developers> |
| 34 | + |
| 35 | + <organization> |
| 36 | + <name>ch.epfl.scaal</name> |
| 37 | + <url>https://scala.epfl.ch/</url> |
| 38 | + </organization> |
| 39 | + |
| 40 | + <scm> |
| 41 | + <connection>scm:git:git://github.com/scalacenter/java-debug.git</connection> |
| 42 | + <developerConnection>scm:git:ssh://github.com:scalacenter/java-debug.git</developerConnection> |
| 43 | + <url>https://github.com/scalacenter/java-debug/tree/main</url> |
| 44 | + </scm> |
| 45 | + |
15 | 46 | <build> |
16 | 47 | <directory>target</directory> |
17 | 48 | <outputDirectory>target/classes</outputDirectory> |
|
22 | 53 | <plugin> |
23 | 54 | <groupId>org.apache.maven.plugins</groupId> |
24 | 55 | <artifactId>maven-failsafe-plugin</artifactId> |
| 56 | + <version>2.15</version> |
| 57 | + <executions> |
| 58 | + <!-- Ensures that both integration-test and verify |
| 59 | + goals of the Failsafe Maven plugin are executed. --> |
| 60 | + <execution> |
| 61 | + <id>integration-tests</id> |
| 62 | + <goals> |
| 63 | + <goal>integration-test</goal> |
| 64 | + <goal>verify</goal> |
| 65 | + </goals> |
| 66 | + <configuration> |
| 67 | + <!-- Sets the VM argument line used when |
| 68 | + integration tests are run. --> |
| 69 | + <argLine>${failsafeArgLine}</argLine> |
| 70 | + <!-- Skips integration tests if the value |
| 71 | + of skip.integration.tests property is true --> |
| 72 | + <skipTests>${skip.integration.tests}</skipTests> |
| 73 | + </configuration> |
| 74 | + </execution> |
| 75 | + </executions> |
25 | 76 | </plugin> |
26 | 77 | <plugin> |
27 | 78 | <groupId>org.apache.maven.plugins</groupId> |
|
35 | 86 | <plugin> |
36 | 87 | <groupId>org.apache.maven.plugins</groupId> |
37 | 88 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 89 | + <version>3.1.0</version> |
| 90 | + <dependencies> |
| 91 | + <dependency> |
| 92 | + <groupId>com.puppycrawl.tools</groupId> |
| 93 | + <artifactId>checkstyle</artifactId> |
| 94 | + <version>8.29</version> |
| 95 | + </dependency> |
| 96 | + <dependency> |
| 97 | + <groupId>com.github.sevntu-checkstyle</groupId> |
| 98 | + <artifactId>sevntu-checkstyle-maven-plugin</artifactId> |
| 99 | + <version>1.24.1</version> |
| 100 | + </dependency> |
| 101 | + </dependencies> |
| 102 | + <configuration> |
| 103 | + <configLocation>${checkstyleDir}/check_style.xml</configLocation> |
| 104 | + <failOnViolation>true</failOnViolation> |
| 105 | + </configuration> |
| 106 | + </plugin> |
| 107 | + <plugin> |
| 108 | + <groupId>org.sonatype.plugins</groupId> |
| 109 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 110 | + <version>1.6.7</version> |
| 111 | + <extensions>true</extensions> |
| 112 | + <configuration> |
| 113 | + <serverId>ossrh</serverId> |
| 114 | + <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 115 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 116 | + </configuration> |
38 | 117 | </plugin> |
39 | 118 | </plugins> |
40 | 119 | </build> |
|
79 | 158 | </dependency> |
80 | 159 | </dependencies> |
81 | 160 | <profiles> |
82 | | - <profile> |
| 161 | + <profile> |
83 | 162 | <id>default-tools.jar</id> |
84 | 163 | <activation> |
85 | 164 | <jdk>(,9)</jdk> |
|
94 | 173 | </dependency> |
95 | 174 | </dependencies> |
96 | 175 | </profile> |
| 176 | + <profile> |
| 177 | + <id>release</id> |
| 178 | + <build> |
| 179 | + <plugins> |
| 180 | + <plugin> |
| 181 | + <groupId>org.apache.maven.plugins</groupId> |
| 182 | + <artifactId>maven-source-plugin</artifactId> |
| 183 | + <version>2.2.1</version> |
| 184 | + <executions> |
| 185 | + <execution> |
| 186 | + <id>attach-sources</id> |
| 187 | + <goals> |
| 188 | + <goal>jar-no-fork</goal> |
| 189 | + </goals> |
| 190 | + </execution> |
| 191 | + </executions> |
| 192 | + </plugin> |
| 193 | + <plugin> |
| 194 | + <groupId>org.apache.maven.plugins</groupId> |
| 195 | + <artifactId>maven-gpg-plugin</artifactId> |
| 196 | + <version>1.5</version> |
| 197 | + <executions> |
| 198 | + <execution> |
| 199 | + <id>sign-artifacts</id> |
| 200 | + <phase>verify</phase> |
| 201 | + <goals> |
| 202 | + <goal>sign</goal> |
| 203 | + </goals> |
| 204 | + </execution> |
| 205 | + </executions> |
| 206 | + </plugin> |
| 207 | + </plugins> |
| 208 | + </build> |
| 209 | + </profile> |
97 | 210 | </profiles> |
| 211 | + <distributionManagement> |
| 212 | + <snapshotRepository> |
| 213 | + <id>ossrh</id> |
| 214 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 215 | + </snapshotRepository> |
| 216 | + </distributionManagement> |
98 | 217 | </project> |
0 commit comments