Skip to content

Commit

Permalink
Auto-generate BOM (#88)
Browse files Browse the repository at this point in the history
This is the generated pom.xml: 

```xml
<?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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>dev.langchain4j</groupId>
    <artifactId>langchain4j-spring-bom</artifactId>
    <version>0.37.0-SNAPSHOT</version>
    <name>LangChain4j Spring :: BOM</name>
    <packaging>pom</packaging>
    <description>Bill of Materials POM for getting full, complete set of compatible versions of LangChain4j Spring modules</description>
    
    <url>https://github.com/langchain4j/langchain4j-spring</url>    
    <licenses>
        <license>
            <name>Apache-2.0</name>
            <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
    
    
    <scm>
        <connection>scm:git:git://github.com/langchain4j/langchain4j-spring.git</connection>
        <developerConnection>scm:git:[email protected]:langchain4j/langchain4j-spring.git</developerConnection>
        <url>https://github.com/langchain4j/langchain4j-spring</url>
        <tag>HEAD</tag>
    </scm>
        
    <distributionManagement>
            
      <snapshotRepository>
        <id>ossrh</id>
        <name>Sonatype Central Snapshots</name>
        <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
        <layout>default</layout>
      </snapshotRepository>
      
    </distributionManagement>
        
    <developers>
        <developer>
            <id>deep-learning-dynamo</id>
            <name>deep-learning-dynamo</name>
            <email>[email protected]</email>
            <url>https://github.com/deep-learning-dynamo</url>
        </developer>
        <developer>
            <id>kuraleta</id>
            <name>kuraleta</name>
            <email>[email protected]</email>
            <url>https://github.com/kuraleta</url>
        </developer>
    </developers>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>dev.langchain4j</groupId>
                <artifactId>langchain4j-open-ai-spring-boot-starter</artifactId>
                <version>0.37.0-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>dev.langchain4j</groupId>
                <artifactId>langchain4j-spring-boot-starter</artifactId>
                <version>0.37.0-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>dev.langchain4j</groupId>
                <artifactId>langchain4j-anthropic-spring-boot-starter</artifactId>
                <version>0.37.0-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>dev.langchain4j</groupId>
                <artifactId>langchain4j-ollama-spring-boot-starter</artifactId>
                <version>0.37.0-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>dev.langchain4j</groupId>
                <artifactId>langchain4j-azure-ai-search-spring-boot-starter</artifactId>
                <version>0.37.0-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>dev.langchain4j</groupId>
                <artifactId>langchain4j-azure-open-ai-spring-boot-starter</artifactId>
                <version>0.37.0-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>dev.langchain4j</groupId>
                <artifactId>langchain4j-voyage-ai-spring-boot-starter</artifactId>
                <version>0.37.0-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>dev.langchain4j</groupId>
                <artifactId>langchain4j-github-models-spring-boot-starter</artifactId>
                <version>0.37.0-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>dev.langchain4j</groupId>
                <artifactId>langchain4j-vertex-ai-gemini-spring-boot-starter</artifactId>
                <version>0.37.0-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>dev.langchain4j</groupId>
                <artifactId>langchain4j-elasticsearch-spring-boot-starter</artifactId>
                <version>0.37.0-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>dev.langchain4j</groupId>
                <artifactId>langchain4j-redis-spring-boot-starter</artifactId>
                <version>0.37.0-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>dev.langchain4j</groupId>
                <artifactId>langchain4j-qianfan-spring-boot-starter</artifactId>
                <version>0.37.0-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>dev.langchain4j</groupId>
                <artifactId>langchain4j-milvus-spring-boot-starter</artifactId>
                <version>0.37.0-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>dev.langchain4j</groupId>
                <artifactId>langchain4j-dashscope-spring-boot-starter</artifactId>
                <version>0.37.0-SNAPSHOT</version>
            </dependency>
            <dependency>
                <groupId>dev.langchain4j</groupId>
                <artifactId>langchain4j-reactor</artifactId>
                <version>0.37.0-SNAPSHOT</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
</project>
```
  • Loading branch information
gastaldi authored Nov 22, 2024
1 parent 15f4c95 commit 10c6cdc
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,38 @@
</executions>
</plugin>

<plugin>
<groupId>io.sundr</groupId>
<artifactId>sundr-maven-plugin</artifactId>
<version>0.200.0</version>
<executions>
<execution>
<inherited>false</inherited>
<goals>
<goal>generate-bom</goal>
</goals>
<configuration>
<boms>
<bom>
<artifactId>langchain4j-spring-bom</artifactId>
<name>LangChain4j Spring :: BOM</name>
<description>Bill of Materials POM for getting full, complete set of compatible versions of LangChain4j Spring modules</description>
<properties>
<skipStagingRepositoryClose>true</skipStagingRepositoryClose>
<sonar.skip>true</sonar.skip>
</properties>
<modules>
<excludes>
<exclude>*:langchain4j-spring-boot-tests</exclude>
</excludes>
</modules>
</bom>
</boms>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>

Expand All @@ -193,11 +225,13 @@
<developers>
<developer>
<id>deep-learning-dynamo</id>
<name>deep-learning-dynamo</name>
<email>[email protected]</email>
<url>https://github.com/deep-learning-dynamo</url>
</developer>
<developer>
<id>kuraleta</id>
<name>kuraleta</name>
<email>[email protected]</email>
<url>https://github.com/kuraleta</url>
</developer>
Expand All @@ -212,6 +246,7 @@
<repositories>
<repository>
<id>ossrh-snapshots</id>
<name>Sonatype Central Snapshots</name>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
Expand All @@ -222,6 +257,7 @@
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<name>Sonatype Central Snapshots</name>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
Expand Down

0 comments on commit 10c6cdc

Please sign in to comment.