Java: Tidy poms (#4989)

### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
This commit is contained in:
John Oliver
2024-02-13 12:08:48 +00:00
committed by GitHub
parent 7e5c36f06a
commit 7d374d12a5
17 changed files with 76 additions and 149 deletions
+3 -4
View File
@@ -7,12 +7,12 @@
<parent>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-parent</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<version>1.0.0-alpha.2-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>aiservices-openai</artifactId>
<name>OpenAI Services</name>
<artifactId>semantickernel-aiservices-openai</artifactId>
<name>Semantic Kernel OpenAI Services</name>
<description>OpenAI services for Semantic Kernel</description>
<dependencies>
@@ -39,7 +39,6 @@
<dependency>
<groupId>javax.xml.stream</groupId>
<artifactId>stax-api</artifactId>
<version>1.0-2</version>
<scope>provided</scope>
</dependency>
</dependencies>
+3 -7
View File
@@ -7,17 +7,18 @@
<parent>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>api-test</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<version>1.0.0-alpha.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>Semantic Kernel Integration Tests</name>
<artifactId>integration-tests</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>sample-code</artifactId>
<artifactId>semantickernel-sample-code</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
@@ -56,11 +57,6 @@
<artifactId>semantickernel-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>sample-code</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
+9 -1
View File
@@ -7,10 +7,11 @@
<parent>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-parent</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<version>1.0.0-alpha.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>Semantic Kernel Api Tests</name>
<artifactId>api-test</artifactId>
<packaging>pom</packaging>
@@ -50,6 +51,13 @@
<release>${maven.compiler.release}</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="UTF-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/xsd/maven-4.0.0.xsd">
<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>
<parent>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-parent</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<version>1.0.0-alpha.2-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -19,13 +20,8 @@
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-api</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-api</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<scope>compile</scope>
@@ -34,7 +30,7 @@
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<scope>compile</scope>
</dependency>
</dependency>
</dependencies>
</project>
@@ -6,7 +6,7 @@
<parent>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-parent</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<version>1.0.0-alpha.2-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
+5 -40
View File
@@ -7,8 +7,9 @@
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-parent</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<version>1.0.0-alpha.2-SNAPSHOT</version>
<packaging>pom</packaging>
<url>https://www.github.com/microsoft/semantic-kernel</url>
<name>Semantic Kernel Parent</name>
<description>Parent pom for the Semantic Kernel Project</description>
@@ -65,25 +66,14 @@
</properties>
<modules>
<module>semantickernel-bom</module>
<module>connectors/semantickernel-connectors-web-bing</module>
<!-- <module>connectors/semantickernel-connectors-ai-openai</module>-->
<!-- <module>connectors/semantickernel-connectors-memory-sqlite</module>-->
<!-- <module>connectors/semantickernel-connectors-memory-azurecognitivesearch</module>-->
<!-- <module>connectors/semantickernel-connectors-memory-jdbc</module>-->
<!-- <module>connectors/semantickernel-connectors-memory-postgresql</module>-->
<!-- <module>connectors/semantickernel-connectors-memory-mysql</module>-->
<!-- <module>aiservices/huggingface</module>-->
<!-- <module>aiservices/ollama</module>-->
<module>aiservices/openai</module>
<!-- <module>misc/semantickernel-gpt3-tokenizer</module>-->
<!-- <module>misc/semantickernel-settings-loader</module>-->
<!-- <module>plugins/semantickernel-planners</module>-->
<module>plugins/semantickernel-plugin-core</module>
<module>semantickernel-bom</module>
<module>semantickernel-api</module>
</modules>
@@ -403,17 +393,6 @@
</execution>
</executions>
<configuration>
<!--
LATEST: Android API level 32 (Android 12)
See https://developer.android.com/studio/releases/platforms
-->
<!--
<signature>
<groupId>net.sf.androidscents.signature</groupId>
<artifactId>android-api-level-32</artifactId>
<version>12_r1</version>
</signature>
-->
<!--
COMPATIBLE: Android API level 26 (Android 8.0)
See https://developer.android.com/studio/releases/platforms
@@ -425,17 +404,6 @@
<artifactId>android-api-level-26</artifactId>
<version>8.0.0_r2</version>
</signature>
<!--
Android API level 21 (Android 5.0)
See https://developer.android.com/studio/releases/platforms
-->
<!--
<signature>
<groupId>net.sf.androidscents.signature</groupId>
<artifactId>android-api-level-21</artifactId>
<version>5.0.1_r2</version>
</signature>
-->
</configuration>
</plugin>
</plugins>
@@ -619,9 +587,6 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>
<!-- <modules>
<module>samples</module>
</modules> -->
</profile>
<profile>
<id>bug-check</id>
@@ -819,6 +784,6 @@
<url>https://github.com/microsoft/semantic-kernel</url>
<connection>scm:git:https://github.com/microsoft/semantic-kernel.git</connection>
<developerConnection>scm:git:https://github.com/microsoft/semantic-kernel.git</developerConnection>
<tag>java-0.2.11-alpha</tag>
<tag>HEAD</tag>
</scm>
</project>
+10 -5
View File
@@ -5,19 +5,17 @@
<parent>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-parent</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<version>1.0.0-alpha.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>samples</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<artifactId>semantickernel-samples-parent</artifactId>
<version>1.0.0-alpha.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Semantic Kernel Samples Parent</name>
<description>Parent pom for sample code for using the Semantic Kernel project</description>
<modules>
<!-- <module>semantickernel-samples-guice</module> -->
<module>sk-v1</module>
<module>sample-code</module>
</modules>
@@ -104,6 +102,13 @@
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
+4 -4
View File
@@ -4,12 +4,12 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>samples</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<artifactId>semantickernel-samples-parent</artifactId>
<version>1.0.0-alpha.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-code</artifactId>
<artifactId>semantickernel-sample-code</artifactId>
<name>Semantic Kernel Samples</name>
<description>Sample code for using the Semantic Kernel project</description>
<packaging>jar</packaging>
@@ -71,7 +71,7 @@
</dependency>
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>aiservices-openai</artifactId>
<artifactId>semantickernel-aiservices-openai</artifactId>
</dependency>
</dependencies>
+2 -2
View File
@@ -6,8 +6,8 @@
<parent>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>sk-v1-samples</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<artifactId>semantickernel-v1-samples</artifactId>
<version>1.0.0-alpha.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
+2 -2
View File
@@ -7,8 +7,8 @@
<parent>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>sk-v1-samples</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<artifactId>semantickernel-v1-samples</artifactId>
<version>1.0.0-alpha.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
+2 -2
View File
@@ -7,8 +7,8 @@
<parent>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>sk-v1-samples</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<artifactId>semantickernel-v1-samples</artifactId>
<version>1.0.0-alpha.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
+1 -1
View File
@@ -7,7 +7,7 @@
<parent>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>sk-v1-samples</artifactId>
<artifactId>semantickernel-v1-samples</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
+3 -3
View File
@@ -7,7 +7,7 @@
<parent>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>sk-v1-samples</artifactId>
<artifactId>semantickernel-v1-samples</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -18,7 +18,7 @@
<dependencies>
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>aiservices-openai</artifactId>
<artifactId>semantickernel-aiservices-openai</artifactId>
</dependency>
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
@@ -30,7 +30,7 @@
</dependency>
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>aiservices-openai</artifactId>
<artifactId>semantickernel-aiservices-openai</artifactId>
</dependency>
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
+1 -1
View File
@@ -7,7 +7,7 @@
<parent>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>sk-v1-samples</artifactId>
<artifactId>semantickernel-v1-samples</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
+10 -5
View File
@@ -3,9 +3,14 @@
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>com.microsoft.semantic-kernel</groupId>
<artifactId>sk-v1-samples</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<parent>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-samples-parent</artifactId>
<version>1.0.0-alpha.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>semantickernel-v1-samples</artifactId>
<name>Semantic Kernel version 1 Samples</name>
<description>Sample code for using the Semantic Kernel version 1 API</description>
@@ -47,7 +52,7 @@
</dependency>
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>aiservices-openai</artifactId>
<artifactId>semantickernel-aiservices-openai</artifactId>
</dependency>
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
@@ -59,7 +64,7 @@
</dependency>
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>aiservices-openai</artifactId>
<artifactId>semantickernel-aiservices-openai</artifactId>
</dependency>
<dependency>
<groupId>com.azure</groupId>
+7 -6
View File
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="UTF-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/xsd/maven-4.0.0.xsd">
<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>
<parent>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-parent</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<version>1.0.0-alpha.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -50,6 +51,10 @@
<artifactId>jackson-dataformat-yaml</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
@@ -66,9 +71,5 @@
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
</dependency>
</dependencies>
</project>
+9 -57
View File
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-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/xsd/maven-4.0.0.xsd">
<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>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-bom</artifactId>
<version>1.0.0-alpha.1-SNAPSHOT</version>
<version>1.0.0-alpha.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Semantic Kernel Java BOM</name>
@@ -48,19 +49,6 @@
<artifactId>semantickernel-api</artifactId>
<version>${project.version}</version>
</dependency>
<!--
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-connectors-ai-openai</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-planners</artifactId>
<version>${project.version}</version>
</dependency>
-->
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-gpt3-tokenizer</artifactId>
@@ -76,28 +64,6 @@
<artifactId>semantickernel-connectors-web-bing</artifactId>
<version>${project.version}</version>
</dependency>
<!--
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-connectors-memory-jdbc</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-connectors-memory-sqlite</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-connectors-memory-postgresql</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>semantickernel-connectors-memory-azurecognitivesearch</artifactId>
<version>${project.version}</version>
</dependency>
-->
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>aiservices-azureopenai</artifactId>
@@ -115,7 +81,7 @@
</dependency>
<dependency>
<groupId>com.microsoft.semantic-kernel</groupId>
<artifactId>aiservices-openai</artifactId>
<artifactId>semantickernel-aiservices-openai</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
@@ -134,13 +100,6 @@
<artifactId>azure-identity</artifactId>
<version>1.11.2</version>
</dependency>
<!-- dependency for semantickernel-connectors-memory-azurecognitivesearch
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-search-documents</artifactId>
<version>11.6.0-beta.9</version>
</dependency>
-->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
@@ -190,20 +149,13 @@
<version>3.0.2</version>
</dependency>
<!-- dependencies for memory connectors
<!-- Required for Android -->
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.42.0.0</version>
<groupId>javax.xml.stream</groupId>
<artifactId>stax-api</artifactId>
<version>1.0-2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.6.0</version>
</dependency>
-->
</dependencies>
</dependencyManagement>