aboutsummaryrefslogtreecommitdiffstats
path: root/container-test-jars/bundle-with-provided-bundle/pom.xml
blob: e133ee955dd15fa4b3db88dbdcd08daef1da303b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0"?>
<!-- Copyright 2017 Yahoo Holdings. 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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>com.yahoo.vespa.container-test-jars</groupId>
    <artifactId>container-test-jars</artifactId>
    <version>6-SNAPSHOT</version>
  </parent>

  <artifactId>bundle-with-provided-bundle</artifactId>
  <packaging>container-plugin</packaging>
  <description>
    This will trigger bugs in our bundle plugins that assumes that artifact.getFile is a jar file.
    Normally, artifact.getFile points to a jar file,
    but in multi-module projects when running phases not including package,
    this will be a directory.
  </description>

  <dependencies>
    <dependency>
      <groupId>com.yahoo.vespa.container-test-jars</groupId>
      <artifactId>jersey-resources</artifactId>
      <version>${project.version}</version>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>com.yahoo.vespa</groupId>
      <artifactId>vespa_jersey2</artifactId>
      <version>${project.version}</version>
      <scope>provided</scope>
      <type>pom</type>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>com.yahoo.vespa</groupId>
        <artifactId>bundle-plugin</artifactId>
        <version>${project.version}</version>
        <extensions>true</extensions>
      </plugin>
    </plugins>
  </build>
</project>