github.com/google/osv-scalibr@v0.4.1/guidedremediation/internal/strategy/override/testdata/zeppelin-server/pom.xml (about)

     1  <?xml version="1.0" encoding="UTF-8"?>
     2  <!--
     3    ~ Licensed to the Apache Software Foundation (ASF) under one or more
     4    ~ contributor license agreements.  See the NOTICE file distributed with
     5    ~ this work for additional information regarding copyright ownership.
     6    ~ The ASF licenses this file to You under the Apache License, Version 2.0
     7    ~ (the "License"); you may not use this file except in compliance with
     8    ~ the License.  You may obtain a copy of the License at
     9    ~
    10    ~    http://www.apache.org/licenses/LICENSE-2.0
    11    ~
    12    ~ Unless required by applicable law or agreed to in writing, software
    13    ~ distributed under the License is distributed on an "AS IS" BASIS,
    14    ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15    ~ See the License for the specific language governing permissions and
    16    ~ limitations under the License.
    17    -->
    18  
    19  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    20    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    21    <modelVersion>4.0.0</modelVersion>
    22  
    23    <parent>
    24      <artifactId>zeppelin</artifactId>
    25      <groupId>org.apache.zeppelin</groupId>
    26      <version>0.11.1</version>
    27      <relativePath>./parent</relativePath>
    28    </parent>
    29  
    30    <artifactId>zeppelin-server</artifactId>
    31    <packaging>jar</packaging>
    32    <name>Zeppelin: Server</name>
    33  
    34    <properties>
    35  
    36      <!--library versions-->
    37      <jersey.version>2.30</jersey.version>
    38      <jersey.servlet.version>1.13</jersey.servlet.version>
    39      <javax.ws.rsapi.version>2.1</javax.ws.rsapi.version>
    40      <libpam4j.version>1.11</libpam4j.version>
    41      <jna.version>4.1.0</jna.version>
    42      <jackson.version>2.12.6.1</jackson.version>
    43      <nimbus.version>9.13</nimbus.version>
    44      <kerberos.version>2.0.0-M15</kerberos.version>
    45  
    46      <!--test library versions-->
    47      <selenium.java.version>2.48.2</selenium.java.version>
    48      <xml.apis.version>1.4.01</xml.apis.version>
    49      <hamcrest.version>2.2</hamcrest.version>
    50    </properties>
    51  
    52    <dependencies>
    53  
    54      <dependency>
    55        <groupId>${project.groupId}</groupId>
    56        <artifactId>zeppelin-zengine</artifactId>
    57        <version>${project.version}</version>
    58        <exclusions>
    59          <exclusion>
    60            <groupId>com.fasterxml.jackson.core</groupId>
    61            <artifactId>jackson-databind</artifactId>
    62          </exclusion>
    63          <exclusion>
    64            <groupId>com.sun.jersey</groupId>
    65            <artifactId>jersey-core</artifactId>
    66          </exclusion>
    67          <exclusion>
    68            <groupId>com.sun.jersey</groupId>
    69            <artifactId>jersey-json</artifactId>
    70          </exclusion>
    71          <exclusion>
    72            <groupId>com.sun.jersey</groupId>
    73            <artifactId>jersey-server</artifactId>
    74          </exclusion>
    75          <exclusion>
    76            <groupId>com.fasterxml.jackson.core</groupId>
    77            <artifactId>jackson-core</artifactId>
    78          </exclusion>
    79          <exclusion>
    80            <groupId>org.ow2.asm</groupId>
    81            <artifactId>asm</artifactId>
    82          </exclusion>
    83          <!-- using jcl-over-slf4j instead -->
    84          <exclusion>
    85            <groupId>commons-logging</groupId>
    86            <artifactId>commons-logging</artifactId>
    87          </exclusion>
    88          <exclusion>
    89            <groupId>org.slf4j</groupId>
    90            <artifactId>slf4j-log4j12</artifactId>
    91          </exclusion>
    92          <exclusion>
    93            <groupId>org.slf4j</groupId>
    94            <artifactId>slf4j-reload4j</artifactId>
    95          </exclusion>
    96          <exclusion>
    97            <groupId>org.slf4j</groupId>
    98            <artifactId>jcl-over-slf4j</artifactId>
    99          </exclusion>
   100        </exclusions>
   101      </dependency>
   102  
   103      <dependency>
   104        <groupId>org.apache.httpcomponents</groupId>
   105        <artifactId>httpclient</artifactId>
   106      </dependency>
   107  
   108      <dependency>
   109        <groupId>org.slf4j</groupId>
   110        <artifactId>slf4j-reload4j</artifactId>
   111      </dependency>
   112      <dependency>
   113        <groupId>ch.qos.reload4j</groupId>
   114        <artifactId>reload4j</artifactId>
   115      </dependency>
   116      <dependency>
   117        <groupId>org.slf4j</groupId>
   118        <artifactId>jcl-over-slf4j</artifactId>
   119      </dependency>
   120  
   121      <dependency>
   122        <groupId>io.dropwizard.metrics</groupId>
   123        <artifactId>metrics-servlets</artifactId>
   124        <version>${dropwizard.version}</version>
   125        <exclusions>
   126          <exclusion>
   127            <groupId>com.fasterxml.jackson.core</groupId>
   128            <artifactId>jackson-databind</artifactId>
   129          </exclusion>
   130        </exclusions>
   131      </dependency>
   132  
   133      <dependency>
   134        <groupId>io.micrometer</groupId>
   135        <artifactId>micrometer-registry-prometheus</artifactId>
   136        <version>${micrometer.version}</version>
   137      </dependency>
   138      <dependency>
   139        <groupId>io.micrometer</groupId>
   140        <artifactId>micrometer-registry-jmx</artifactId>
   141        <version>${micrometer.version}</version>
   142        <exclusions>
   143          <!-- manual loading to get the right version that fits to other Dropwizard libraries -->
   144          <exclusion>
   145            <groupId>io.dropwizard.metrics</groupId>
   146            <artifactId>metrics-jmx</artifactId>
   147          </exclusion>
   148        </exclusions>
   149      </dependency>
   150      <!-- Used by io.micrometer:micrometer-registry-jmx -->
   151      <dependency>
   152        <groupId>io.dropwizard.metrics</groupId>
   153        <artifactId>metrics-jmx</artifactId>
   154        <version>${dropwizard.version}</version>
   155      </dependency>
   156  
   157      <dependency>
   158        <groupId>org.glassfish.jersey.core</groupId>
   159        <artifactId>jersey-client</artifactId>
   160        <version>${jersey.version}</version>
   161        <exclusions>
   162          <exclusion>
   163            <groupId>javax.annotation</groupId>
   164            <artifactId>javax.annotation-api</artifactId>
   165          </exclusion>
   166        </exclusions>
   167      </dependency>
   168      <dependency>
   169        <groupId>org.glassfish.jersey.containers</groupId>
   170        <artifactId>jersey-container-servlet-core</artifactId>
   171        <version>${jersey.version}</version>
   172      </dependency>
   173      <dependency>
   174        <groupId>org.glassfish.jersey.media</groupId>
   175        <artifactId>jersey-media-json-jackson</artifactId>
   176        <version>${jersey.version}</version>
   177        <exclusions>
   178          <exclusion>
   179            <groupId>com.fasterxml.jackson.core</groupId>
   180            <artifactId>jackson-annotations</artifactId>
   181          </exclusion>
   182          <exclusion>
   183            <groupId>com.fasterxml.jackson.core</groupId>
   184            <artifactId>jackson-databind</artifactId>
   185          </exclusion>
   186          <exclusion>
   187            <groupId>com.fasterxml.jackson.core</groupId>
   188            <artifactId>jackson-core</artifactId>
   189          </exclusion>
   190        </exclusions>
   191      </dependency>
   192      <dependency>
   193        <groupId>org.glassfish.jersey.inject</groupId>
   194        <artifactId>jersey-hk2</artifactId>
   195        <version>${jersey.version}</version>
   196      </dependency>
   197      <dependency>
   198        <groupId>org.glassfish.jersey.core</groupId>
   199        <artifactId>jersey-server</artifactId>
   200        <version>${jersey.version}</version>
   201      </dependency>
   202  
   203      <dependency>
   204        <groupId>com.fasterxml.jackson.core</groupId>
   205        <artifactId>jackson-databind</artifactId>
   206        <version>${jackson.version}</version>
   207      </dependency>
   208  
   209      <dependency>
   210        <groupId>javax.ws.rs</groupId>
   211        <artifactId>javax.ws.rs-api</artifactId>
   212        <version>${javax.ws.rsapi.version}</version>
   213      </dependency>
   214  
   215      <dependency>
   216        <groupId>org.bouncycastle</groupId>
   217        <artifactId>bcpkix-jdk15on</artifactId>
   218      </dependency>
   219  
   220      <dependency>
   221        <groupId>commons-collections</groupId>
   222        <artifactId>commons-collections</artifactId>
   223      </dependency>
   224  
   225      <dependency>
   226        <groupId>org.apache.shiro</groupId>
   227        <artifactId>shiro-core</artifactId>
   228        <exclusions>
   229          <exclusion>
   230            <groupId>commons-beanutils</groupId>
   231            <artifactId>commons-beanutils</artifactId>
   232          </exclusion>
   233        </exclusions>
   234      </dependency>
   235      <dependency>
   236        <groupId>commons-beanutils</groupId>
   237        <artifactId>commons-beanutils</artifactId>
   238        <version>1.9.4</version>
   239        <exclusions>
   240          <!-- using jcl-over-slf4j instead -->
   241          <exclusion>
   242            <groupId>commons-logging</groupId>
   243            <artifactId>commons-logging</artifactId>
   244          </exclusion>
   245        </exclusions>
   246      </dependency>
   247  
   248      <dependency>
   249        <groupId>org.apache.shiro</groupId>
   250        <artifactId>shiro-web</artifactId>
   251      </dependency>
   252  
   253      <dependency>
   254        <groupId>org.kohsuke</groupId>
   255        <artifactId>libpam4j</artifactId>
   256        <version>${libpam4j.version}</version>
   257        <exclusions>
   258          <exclusion>
   259            <groupId>net.java.dev.jna</groupId>
   260            <artifactId>jna</artifactId>
   261          </exclusion>
   262        </exclusions>
   263      </dependency>
   264  
   265      <dependency>
   266        <groupId>net.java.dev.jna</groupId>
   267        <artifactId>jna</artifactId>
   268        <version>${jna.version}</version>
   269      </dependency>
   270  
   271      <dependency>
   272        <groupId>org.eclipse.jetty</groupId>
   273        <artifactId>jetty-webapp</artifactId>
   274        <version>${jetty.version}</version>
   275      </dependency>
   276  
   277      <dependency>
   278        <groupId>org.eclipse.jetty</groupId>
   279        <artifactId>jetty-jmx</artifactId>
   280        <version>${jetty.version}</version>
   281      </dependency>
   282  
   283      <dependency>
   284        <groupId>org.eclipse.jetty.websocket</groupId>
   285        <artifactId>javax-websocket-server-impl</artifactId>
   286        <version>${jetty.version}</version>
   287      </dependency>
   288  
   289      <dependency>
   290        <groupId>com.google.code.gson</groupId>
   291        <artifactId>gson</artifactId>
   292      </dependency>
   293  
   294      <dependency>
   295        <groupId>com.nimbusds</groupId>
   296        <artifactId>nimbus-jose-jwt</artifactId>
   297        <version>${nimbus.version}</version>
   298      </dependency>
   299  
   300      <dependency>
   301        <groupId>org.quartz-scheduler</groupId>
   302        <artifactId>quartz</artifactId>
   303        <version>${quartz.scheduler.version}</version>
   304      </dependency>
   305  
   306      <dependency>
   307        <groupId>org.apache.directory.server</groupId>
   308        <artifactId>apacheds-kerberos-codec</artifactId>
   309        <version>${kerberos.version}</version>
   310      </dependency>
   311  
   312      <dependency>
   313        <groupId>org.apache.zeppelin</groupId>
   314        <artifactId>zeppelin-zengine</artifactId>
   315        <version>${project.version}</version>
   316        <classifier>tests</classifier>
   317        <scope>test</scope>
   318        <exclusions>
   319          <exclusion>
   320            <groupId>com.google.guava</groupId>
   321            <artifactId>guava</artifactId>
   322          </exclusion>
   323        </exclusions>
   324      </dependency>
   325  
   326      <dependency>
   327        <groupId>org.junit.jupiter</groupId>
   328        <artifactId>junit-jupiter-engine</artifactId>
   329        <scope>test</scope>
   330      </dependency>
   331  
   332      <dependency>
   333        <groupId>org.hamcrest</groupId>
   334        <artifactId>hamcrest</artifactId>
   335        <version>${hamcrest.version}</version>
   336        <scope>test</scope>
   337      </dependency>
   338  
   339      <dependency>
   340        <groupId>org.mockito</groupId>
   341        <artifactId>mockito-core</artifactId>
   342        <scope>test</scope>
   343        <exclusions>
   344          <!-- used from zeppelin-zenigne -->
   345          <exclusion>
   346            <groupId>org.objenesis</groupId>
   347            <artifactId>objenesis</artifactId>
   348          </exclusion>
   349        </exclusions>
   350      </dependency>
   351  
   352      <dependency>
   353        <groupId>org.seleniumhq.selenium</groupId>
   354        <artifactId>selenium-java</artifactId>
   355        <version>${selenium.java.version}</version>
   356        <scope>test</scope>
   357        <exclusions>
   358          <exclusion>
   359            <groupId>org.seleniumhq.selenium</groupId>
   360            <artifactId>selenium-android-driver</artifactId>
   361          </exclusion>
   362          <exclusion>
   363            <groupId>commons-logging</groupId>
   364            <artifactId>commons-logging</artifactId>
   365          </exclusion>
   366          <exclusion>
   367            <groupId>xml-apis</groupId>
   368            <artifactId>xml-apis</artifactId>
   369          </exclusion>
   370          <exclusion>
   371            <groupId>org.eclipse.jetty.websocket</groupId>
   372            <artifactId>websocket-client</artifactId>
   373          </exclusion>
   374          <exclusion>
   375            <groupId>net.java.dev.jna</groupId>
   376            <artifactId>jna</artifactId>
   377          </exclusion>
   378          <exclusion>
   379            <groupId>org.apache.commons</groupId>
   380            <artifactId>commons-lang3</artifactId>
   381          </exclusion>
   382          <exclusion>
   383            <groupId>com.google.guava</groupId>
   384            <artifactId>guava</artifactId>
   385          </exclusion>
   386        </exclusions>
   387      </dependency>
   388  
   389      <dependency> <!-- because there are two of them above  -->
   390        <groupId>xml-apis</groupId>
   391        <artifactId>xml-apis</artifactId>
   392        <version>${xml.apis.version}</version>
   393        <scope>test</scope>
   394      </dependency>
   395  
   396        <dependency>
   397          <groupId>org.bitbucket.cowwoc</groupId>
   398          <artifactId>diff-match-patch</artifactId>
   399          <version>1.1</version>
   400        </dependency>
   401    </dependencies>
   402    <build>
   403      <plugins>
   404        <plugin>
   405          <artifactId>maven-failsafe-plugin</artifactId>
   406          <executions>
   407            <execution>
   408              <goals>
   409                <goal>integration-test</goal>
   410                <goal>verify</goal>
   411              </goals>
   412            </execution>
   413          </executions>
   414          <configuration>
   415            <argLine>-Xmx2048m</argLine>
   416          </configuration>
   417        </plugin>
   418  
   419        <plugin>
   420          <artifactId>maven-surefire-plugin</artifactId>
   421          <configuration combine.children="append">
   422            <forkCount>1</forkCount>
   423            <reuseForks>false</reuseForks>
   424            <argLine>-Xmx3g -Xms1g -Dfile.encoding=UTF-8</argLine>
   425            <excludes>
   426              <exclude>${tests.to.exclude}</exclude>
   427            </excludes>
   428            <environmentVariables>
   429              <ZEPPELIN_FORCE_STOP>1</ZEPPELIN_FORCE_STOP>
   430            </environmentVariables>
   431          </configuration>
   432        </plugin>
   433  
   434        <!-- publish test jar as well so that zeppelin-interpreter-integration can use it -->
   435        <plugin>
   436          <groupId>org.apache.maven.plugins</groupId>
   437          <artifactId>maven-jar-plugin</artifactId>
   438          <executions>
   439            <execution>
   440              <goals>
   441                <goal>test-jar</goal>
   442              </goals>
   443            </execution>
   444          </executions>
   445        </plugin>
   446  
   447        <plugin>
   448          <groupId>org.apache.maven.plugins</groupId>
   449          <artifactId>maven-dependency-plugin</artifactId>
   450        </plugin>
   451      </plugins>
   452    </build>
   453  
   454    <profiles>
   455      <profile>
   456        <id>using-source-tree</id>
   457        <activation>
   458          <activeByDefault>true</activeByDefault>
   459        </activation>
   460        <properties>
   461          <zeppelin.daemon.package.base>
   462  	        ../bin
   463          </zeppelin.daemon.package.base>
   464        </properties>
   465      </profile>
   466  
   467      <profile>
   468        <id>using-packaged-distr</id>
   469        <activation>
   470          <activeByDefault>false</activeByDefault>
   471        </activation>
   472        <properties>
   473          <zeppelin.daemon.package.base>
   474  	        ../zeppelin-distribution/target/zeppelin-${project.version}/zeppelin-${project.version}/bin
   475          </zeppelin.daemon.package.base>
   476        </properties>
   477      </profile>
   478  
   479      <profile>
   480        <id>hadoop2</id>
   481  
   482        <properties>
   483          <hadoop.version>${hadoop2.7.version}</hadoop.version>
   484        </properties>
   485        <dependencies>
   486          <dependency>
   487            <groupId>org.apache.hadoop</groupId>
   488            <artifactId>hadoop-common</artifactId>
   489            <version>${hadoop.version}</version>
   490            <scope>${hadoop.deps.scope}</scope>
   491          </dependency>
   492        </dependencies>
   493  
   494      </profile>
   495      <profile>
   496        <id>hadoop3</id>
   497        <activation>
   498          <activeByDefault>true</activeByDefault>
   499        </activation>
   500        <properties>
   501          <hadoop.version>${hadoop3.2.version}</hadoop.version>
   502          <hadoop-client-api.artifact>hadoop-client-api</hadoop-client-api.artifact>
   503          <hadoop-client-runtime.artifact>hadoop-client-runtime</hadoop-client-runtime.artifact>
   504        </properties>
   505  
   506        <dependencies>
   507          <dependency>
   508            <groupId>org.apache.hadoop</groupId>
   509            <artifactId>${hadoop-client-runtime.artifact}</artifactId>
   510            <version>${hadoop.version}</version>
   511            <scope>${hadoop.deps.scope}</scope>
   512          </dependency>
   513        </dependencies>
   514  
   515      </profile>
   516  
   517    </profiles>
   518  
   519  </project>