pa.config-model.8.427.34.source-code.pom.xml Maven / Gradle / Ivy
<?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.427.34</version> <relativePath>../parent/pom.xml</relativePath> </parent> <artifactId>config-model</artifactId> <packaging>container-plugin</packaging> <version>8.427.34</version> <dependencies> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>config-lib</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>config-provisioning</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>provided-dependencies</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>container-onnxruntime</artifactId> <version>${project.version}</version> <scope>provided</scope> </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.google.protobuf</groupId> <artifactId>protobuf-java</artifactId> <version>${protobuf.vespa.version}</version> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>configdefinitions</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>config-application-package</artifactId> <version>${project.version}</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>configgen</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>config-bundle</artifactId> <version>${project.version}</version> <scope>provided</scope> <exclusions> <exclusion> <groupId>com.yahoo.vespa</groupId> <artifactId>jrt</artifactId> </exclusion> <exclusion> <groupId>com.yahoo.vespa</groupId> <artifactId>config-lib</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>metrics</artifactId> <version>${project.version}</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>metrics-proxy</artifactId> <version>${project.version}</version> <scope>compile</scope> <exclusions> <!-- Not needed to generate config and saves 1 MB. --> <exclusion> <groupId>com.yahoo.vespa</groupId> <artifactId>http-utils</artifactId> </exclusion> <exclusion> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> </exclusion> <exclusion> <groupId>org.apache.velocity</groupId> <artifactId>velocity-engine-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>container-disc</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>vespajlib</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>testutil</artifactId> <version>${project.version}</version> <scope>test</scope> <exclusions> <exclusion> <groupId>junit</groupId> <artifactId>junit</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>container-documentapi</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>config-model-api</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>model-integration</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>vdslib</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>messagebus</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>document</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>container-core</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>jrt</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>linguistics</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>container-messagebus</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>searchlib</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>docproc</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>defaults</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>container-search</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>container-search-and-docproc</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>container-dev</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>logd</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>searchcore</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>storage</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>vsm</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>vespaclient-core</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>indexinglanguage</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>searchsummary</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>jdisc-security-filters</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.lz4</groupId> <artifactId>lz4-java</artifactId> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>com.yahoo.vespa</groupId> <artifactId>bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <allowEmbeddedArtifacts>com.fasterxml.jackson.core:jackson-annotations, com.fasterxml.jackson.core:jackson-core, com.fasterxml.jackson.core:jackson-databind, com.yahoo.vespa:metrics, com.yahoo.vespa:predicate-search-core, com.yahoo.vespa:searchcore</allowEmbeddedArtifacts> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <compilerArgs> <arg>${vespaCompilerArgs.xlint}</arg> <arg>-Xlint:-rawtypes</arg> <arg>-Xlint:-unchecked</arg> <arg>-Xlint:-serial</arg> <arg>-Werror</arg> </compilerArgs> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <redirectTestOutputToFile>${test.hide}</redirectTestOutputToFile> <environmentVariables> <VESPA_HOME>/opt/vespa</VESPA_HOME> </environmentVariables> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${maven-jar-plugin.vespa.version}</version> <executions> <!-- for testing --> <execution> <id>simpleplugin</id> <phase>test-compile</phase> <goals> <goal>jar</goal> </goals> <configuration> <classesDirectory>target/test-classes</classesDirectory> <outputDirectory>tmp/</outputDirectory> <finalName>simpleplugin</finalName> <includes> <include>**/test/SimplePlugin.class</include> <include>**/test/SimpleService.class</include> </includes> <archive> <manifest> <addClasspath>true</addClasspath> <mainClass>com.yahoo.vespa.model.test.SimplePlugin</mainClass> </manifest> </archive> </configuration> </execution> <!-- for testing --> <execution> <id>apiplugin</id> <phase>test-compile</phase> <goals> <goal>jar</goal> </goals> <configuration> <classesDirectory>target/test-classes</classesDirectory> <outputDirectory>tmp/</outputDirectory> <finalName>apiplugin</finalName> <classifier>apiplugin</classifier> <includes> <include>**/test/ApiPlugin.class</include> <include>**/test/ApiService.class</include> </includes> <archive> <manifest> <addClasspath>true</addClasspath> <mainClass>com.yahoo.vespa.model.test.ApiPlugin</mainClass> </manifest> </archive> </configuration> </execution> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.yahoo.vespa</groupId> <artifactId>config-class-plugin</artifactId> <version>${project.version}</version> <executions> <execution> <id>configgen-test-defs</id> <phase>generate-test-sources</phase> <goals> <goal>config-gen</goal> </goals> <configuration> <defFilesDirectories>src/test/resources/configdefinitions</defFilesDirectories> <outputDirectory>target/generated-test-sources/vespa-configgen-plugin</outputDirectory> <testConfig>true</testConfig> <requireNamespace>false</requireNamespace> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy-stuff</id> <!-- append to the generate-sources phase, since it needs to be done before src/main/Makefile is run. --> <phase>generate-sources</phase> <goals> <goal>copy</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>com.thaiopensource</groupId> <artifactId>jing</artifactId> <version>20091111</version> <type>jar</type> <overWrite>true</overWrite> <outputDirectory>${project.build.directory}</outputDirectory> <destFileName>jing.jar</destFileName> </artifactItem> <artifactItem> <groupId>com.thaiopensource</groupId> <artifactId>trang</artifactId> <version>20091111</version> <type>jar</type> <overWrite>true</overWrite> <outputDirectory>${project.build.directory}</outputDirectory> <destFileName>trang.jar</destFileName> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <!-- process schema files --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <executions> <execution> <goals> <goal>exec</goal> </goals> <phase>generate-sources</phase> <configuration> <executable>./make-xsd-files.sh</executable> <workingDirectory>src/main/</workingDirectory> </configuration> </execution> <execution> <id>generate-vtag</id> <phase>generate-sources</phase> <goals> <goal>java</goal> </goals> <configuration> <mainClass>com.yahoo.vespa.VersionTagger</mainClass> <arguments> <argument>${project.basedir}/../dist/vtag.map</argument> <argument>com.yahoo.vespa.model</argument> <argument>${project.build.directory}/generated-sources/vtag</argument> </arguments> <sourceRoot>${project.build.directory}/generated-sources/vtag</sourceRoot> <classpathScope>compile</classpathScope> </configuration> </execution> <execution> <id>test-schema-files</id> <goals> <goal>exec</goal> </goals> <phase>test</phase> <configuration> <executable>src/test/sh/test-schema.sh</executable> </configuration> </execution> </executions> </plugin> <plugin> <groupId>io.github.tulipcc</groupId> <artifactId>tulipcc-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> </plugin> <plugin> <groupId>com.github.os72</groupId> <artifactId>protoc-jar-maven-plugin</artifactId> </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/javacc</source> </sources> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy