Skip to content

Commit bcb77ee

Browse files
committed
Deploy custom java-debug-core
1 parent 4a6c57d commit bcb77ee

1 file changed

Lines changed: 127 additions & 8 deletions

File tree

  • com.microsoft.java.debug.core

com.microsoft.java.debug.core/pom.xml

Lines changed: 127 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,47 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<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>
127
<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>
1312
<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>
1416
</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+
1546
<build>
1647
<directory>target</directory>
1748
<outputDirectory>target/classes</outputDirectory>
@@ -22,6 +53,26 @@
2253
<plugin>
2354
<groupId>org.apache.maven.plugins</groupId>
2455
<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>
2576
</plugin>
2677
<plugin>
2778
<groupId>org.apache.maven.plugins</groupId>
@@ -35,6 +86,34 @@
3586
<plugin>
3687
<groupId>org.apache.maven.plugins</groupId>
3788
<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>
38117
</plugin>
39118
</plugins>
40119
</build>
@@ -79,7 +158,7 @@
79158
</dependency>
80159
</dependencies>
81160
<profiles>
82-
<profile>
161+
<profile>
83162
<id>default-tools.jar</id>
84163
<activation>
85164
<jdk>(,9)</jdk>
@@ -94,5 +173,45 @@
94173
</dependency>
95174
</dependencies>
96175
</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>
97210
</profiles>
211+
<distributionManagement>
212+
<snapshotRepository>
213+
<id>ossrh</id>
214+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
215+
</snapshotRepository>
216+
</distributionManagement>
98217
</project>

0 commit comments

Comments
 (0)