Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-10271

Fix dependencies on oak-exercise

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.54.0
    • exercise
    • None

    Description

      nscendoni reported that running exercises is broken and mreutegg provided a fix for the pom.xml:

       

      diff --git a/oak-exercise/pom.xml b/oak-exercise/pom.xml
      index 3c4dfbc9fe..e3469dff6d 100644
      --- a/oak-exercise/pom.xml
      +++ b/oak-exercise/pom.xml
      @@ -41,7 +41,7 @@
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-surefire-plugin</artifactId>
               <configuration>
      -          <skip>true</skip>
      +          <skip>false</skip>
               </configuration>
             </plugin>
             <plugin>
      @@ -182,6 +182,13 @@
             <version>${jackrabbit.version}</version>
             <optional>true</optional>
           </dependency>
      +    <dependency>
      +      <groupId>org.apache.jackrabbit</groupId>
      +      <artifactId>oak-commons</artifactId>
      +      <version>${project.version}</version>
      +      <type>test-jar</type>
      +      <scope>test</scope>
      +    </dependency>
           <dependency>
             <groupId>org.apache.jackrabbit</groupId>
             <artifactId>oak-core</artifactId>
      @@ -208,12 +215,28 @@
             <version>${project.version}</version>
             <scope>test</scope>
           </dependency>
      +    <dependency>
      +      <groupId>org.apache.jackrabbit</groupId>
      +      <artifactId>oak-store-document</artifactId>
      +      <version>${project.version}</version>
      +      <scope>test</scope>
      +    </dependency>
           <dependency>
             <groupId>org.apache.jackrabbit</groupId>
             <artifactId>oak-store-composite</artifactId>
             <version>${project.version}</version>
             <scope>test</scope>
           </dependency>
      +    <dependency>
      +      <groupId>io.dropwizard.metrics</groupId>
      +      <artifactId>metrics-core</artifactId>
      +      <scope>test</scope>
      +    </dependency>
      +    <dependency>
      +      <groupId>org.mockito</groupId>
      +      <artifactId>mockito-core</artifactId>
      +      <scope>test</scope>
      +    </dependency>
           <dependency>
             <groupId>ch.qos.logback</groupId>
             <artifactId>logback-classic</artifactId>
      

       

      Attachments

        Activity

          People

            angela Angela Schreiber
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: