* create maven module 'core'

* update release plugins
This commit is contained in:
David Grieve 2022-07-11 11:21:29 -04:00 коммит произвёл GitHub
Родитель 8bd8572e5c
Коммит 828be85e80
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
18 изменённых файлов: 52 добавлений и 5 удалений

40
core/pom.xml Normal file
Просмотреть файл

@ -0,0 +1,40 @@
<?xml version="1.0"?>
<!--
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See LICENSE in the project root for
license information.
-->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.microsoft.jfr</groupId>
<artifactId>microsoft-jfr</artifactId>
<version>1.2.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>jfr-streaming</artifactId>
<name>JFR Streaming Core</name>
<description>Core implemenation of a portable API for accessing JFR.</description>
<url>${project.parent.url}</url>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-testng</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openjdk.jmc</groupId>
<artifactId>flightrecorder</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>

17
pom.xml
Просмотреть файл

@ -7,7 +7,8 @@
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.jfr</groupId>
<artifactId>jfr-streaming</artifactId>
<artifactId>microsoft-jfr</artifactId>
<packaging>pom</packaging>
<version>1.2.1-SNAPSHOT</version>
<name>Java Flight Recorder Streaming Library</name>
@ -78,6 +79,10 @@
</build>
</profile>
</profiles>
<modules>
<module>core</module>
</modules>
<properties>
<maven.compiler.source>8</maven.compiler.source>
@ -87,7 +92,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
@ -106,7 +112,8 @@
<version>8.2.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencies>
</dependencyManagement>
<build>
<plugins>
@ -172,7 +179,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<version>3.0.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
@ -186,7 +193,7 @@
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>