All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pa.schema-language-server.8.439.22.source-code.pom.xml Maven / Gradle / Ivy

There is a newer version: 8.441.21
Show newest version
<?xml version="1.0"?>
<!-- Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<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.yahoo.vespa</groupId>
    <artifactId>parent</artifactId>
    <version>8.439.22</version>
    <relativePath>../../../parent/pom.xml</relativePath>
  </parent>
  <artifactId>schema-language-server</artifactId>
  <packaging>jar</packaging>
  <version>8.439.22</version>
  <name>Schema Language Server</name>
  <dependencies>
    <dependency>
      <groupId>org.eclipse.lsp4j</groupId>
      <artifactId>org.eclipse.lsp4j</artifactId>
      <version>0.23.1</version>
    </dependency>
    <dependency>
      <groupId>org.jsoup</groupId>
      <artifactId>jsoup</artifactId>
      <version>1.17.2</version>
    </dependency>
    <dependency>
      <groupId>com.vladsch.flexmark</groupId>
      <artifactId>flexmark-html2md-converter</artifactId>
      <version>0.64.8</version>
    </dependency>
    <dependency>
      <groupId>com.yahoo.vespa</groupId>
      <artifactId>config-model</artifactId>
      <version>8.439.22</version>
    </dependency>
    <dependency>
      <groupId>com.yahoo.vespa</groupId>
      <artifactId>config-model-api</artifactId>
      <version>8.439.22</version>
    </dependency>
    <dependency>
      <groupId>com.yahoo.vespa</groupId>
      <artifactId>vespajlib</artifactId>
      <version>8.439.22</version>
    </dependency>
    <dependency>
      <groupId>com.yahoo.vespa</groupId>
      <artifactId>searchlib</artifactId>
      <version>8.439.22</version>
    </dependency>
    <dependency>
      <groupId>com.yahoo.vespa</groupId>
      <artifactId>container-search</artifactId>
      <version>8.439.22</version>
    </dependency>
     <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter-api</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter-engine</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.yahoo.vespa</groupId>
      <artifactId>indexinglanguage</artifactId>
      <version>8.439.22</version>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <compilerArgs>
            <arg>${vespaCompilerArgs.xlint}</arg>
            <arg>-Xlint:-deprecation</arg>
            <arg>-Xlint:-unchecked</arg>
            <arg>-Xlint:-rawtypes</arg>
          </compilerArgs>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-install-plugin</artifactId>
        <configuration><skip>true</skip></configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>fetch-documentation</id>
            <phase>prepare-package</phase>
            <goals>
              <goal>java</goal>
            </goals>
            <configuration>
                <mainClass>ai.vespa.schemals.documentation.FetchDocumentation</mainClass>
                <arguments>
                    <argument>${project.basedir}/target/generated-resources/hover</argument>
                </arguments>
            </configuration>
          </execution>
        </executions>
      </plugin>
      
      <!-- Important that this runs after FetchDocumentation -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
        <executions>
          <execution>
            <phase>prepare-package</phase> 
            <goals>
              <goal>copy-resources</goal>
            </goals>
            <configuration>
              <!-- Copy from target/generated-resources to output-dir (resolves to target/classes)
                   This is so the resources get detected by assemble-fat-jar -->
              <outputDirectory>${project.build.outputDirectory}</outputDirectory>
              <resources>
                <resource>
                  <directory>${project.basedir}/target/generated-resources</directory>
                  <filtering>false</filtering>
                </resource>
              </resources>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>com.yahoo.vespa</groupId>
        <artifactId>bundle-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals><goal>assemble-fat-jar</goal></goals>
          </execution>
        </executions>
        <configuration>
          <mainClass>ai.vespa.schemals.SchemaLSLauncher</mainClass>
        </configuration>
      </plugin>
      <plugin>
        <groupId>com.github.os72</groupId>
        <artifactId>protoc-jar-maven-plugin</artifactId>
      </plugin>
      <plugin>   
        <groupId>org.congocc</groupId>   
        <artifactId>org.congocc.maven.plugin</artifactId>   
        <version>2.0.0-RC7</version>   
        <executions>   
          <execution>   
            <id>1</id>   
            <goals>   
              <goal>ccc-generate</goal>   
            </goals>   
            <configuration>   
                <grammarFile>${project.basedir}/src/main/ccc/SchemaParser.ccc</grammarFile>   
                <outputDir>${project.basedir}/target/generated-sources/ccc</outputDir>   
                <jdk>17</jdk>   
            </configuration>   
          </execution>   
          <execution>   
            <id>2</id>   
            <goals>   
              <goal>ccc-generate</goal>   
            </goals>   
            <configuration>   
                <grammarFile>${project.basedir}/src/main/ccc/indexinglanguage/IndexingParser.ccc</grammarFile>   
                <outputDir>${project.basedir}/target/generated-sources/ccc</outputDir>   
                <jdk>17</jdk>   
            </configuration>   
          </execution>   
          <execution>   
            <id>3</id>   
            <goals>   
              <goal>ccc-generate</goal>   
            </goals>   
            <configuration>   
                <grammarFile>${project.basedir}/src/main/ccc/rankingexpression/RankingExpressionParser.ccc</grammarFile>   
                <outputDir>${project.basedir}/target/generated-sources/ccc</outputDir>   
                <jdk>17</jdk>   
            </configuration>
          </execution>
          <execution>
            <id>4</id>
            <goals>
              <goal>ccc-generate</goal>
            </goals>
            <configuration>
              <grammarFile>${project.basedir}/src/main/ccc/yqlplus/YQLPlus.ccc</grammarFile>
              <outputDir>${project.basedir}/target/generated-sources/ccc</outputDir>
              <jdk>17</jdk>
            </configuration>
          </execution>
          <execution>
            <id>5</id>   
            <goals>   
              <goal>ccc-generate</goal>   
            </goals>   
            <configuration>   
                <grammarFile>${project.basedir}/src/main/ccc/grouping/GroupingParser.ccc</grammarFile>   
                <outputDir>${project.basedir}/target/generated-sources/ccc</outputDir>   
                <jdk>17</jdk>   
            </configuration>
          </execution>
        </executions>   
      </plugin>   
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>3.7.0</version>
        <configuration>
        <excludePackageNames>
            ai.vespa.schemals.parser,
            ai.vespa.schemals.parser.indexinglanguage,
            ai.vespa.schemals.parser.rankingexpression,
            ai.vespa.schemals.parser.yqlplus,
            ai.vespa.schemals.parser.grouping
        </excludePackageNames>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>add-source</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>add-source</goal>
            </goals>
            <configuration>
              <sources>
                <source>${project.basedir}/target/generated-sources/ccc</source>
              </sources>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy