Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Labels:
      None

      Description

      On jenkins basically all itests fail with:
      org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact org.apache.karaf:apache-karaf:zip:3.0.0-SNAPSHOT

      Strangely the exam regression tests which are very similar seem to work.

        Activity

        Hide
        jbonofre Jean-Baptiste Onofré added a comment -

        Adding the ci-profile does the trick:

        <profiles>
        <profile>
        <id>ci-build-profile</id>
        <activation>
        <property>
        <name>maven.repo.local</name>
        </property>
        </activation>
        <build>
        <plugins>
        <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
        <!-- when the local repo location has been specified, we need to pass on this information to PAX mvn url -->
        <argLine>-Dorg.ops4j.pax.url.mvn.localRepository=$

        {maven.repo.local}

        </argLine>
        </configuration>
        </plugin>
        </plugins>
        </build>
        </profile>
        </profiles>

        Show
        jbonofre Jean-Baptiste Onofré added a comment - Adding the ci-profile does the trick: <profiles> <profile> <id>ci-build-profile</id> <activation> <property> <name>maven.repo.local</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <!-- when the local repo location has been specified, we need to pass on this information to PAX mvn url --> <argLine>-Dorg.ops4j.pax.url.mvn.localRepository=$ {maven.repo.local} </argLine> </configuration> </plugin> </plugins> </build> </profile> </profiles>

          People

          • Assignee:
            chris@die-schneider.net Christian Schneider
            Reporter:
            chris@die-schneider.net Christian Schneider
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development