← Back to team overview

sikuli-driver team mailing list archive

[Bug 1558322] Re: Scala/SBT project: com.sikulix::sikulixapi::1.1.x pom not working

 

ok, thanks for finding this.

The only workaround now (and I guess in the future too, until Ivy understands Maven profiles/properties), is to manually download the artifacts from Maven central or from the OSSRH using the links on the nightly build page and place them in a folder, that is suitable for use with SBT/Ivy.
Of course it might be necessary to revise the sikulixapi pom: replace the ${} placeholders with the respective values.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1558322

Title:
  Scala/SBT project: com.sikulix::sikulixapi::1.1.x pom not working

Status in Sikuli:
  Opinion

Bug description:
  While trying to pull in dependencies for the sikulixapi (in both 1.1.0
  and 1.1.1 as well as in the snapshots) I run into what seems to be the
  same problem across the board. It seems to be related to an issue that
  appears to be in the pom.

  Here's an example from the sonatype repo.

  In the pom file located here

  https://oss.sonatype.org/content/groups/public/com/sikulix/sikulixapi/1.1.0/sikulixapi-1.1.0.pom

  There seem to be some place holder variables that are not being
  resolved when the pom is produced. for example ->

    <dependency>
      <groupId>com.sikulix</groupId>
      <artifactId>${sikulix.libs}</artifactId>
      <version>${project.version}</version>
    </dependency>
  </dependencies>
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding></properties>
  <distributionManagement>
    <repository>
      <id>sikulix.deploy</id>
      <url>${sikulix.deploy.target}</url>
    </repository>
  </distributionManagement>

  This isn't the only pom with this problem and it seems to be for these
  same places (the ${sikulix.libs} is what pops up as an error with
  whatever I try to pull down from maven, regardless if I try with
  snapshots or with 1.1.0 or with 1.1.1 or whatever).

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1558322/+subscriptions


References