Scala/SBT project: com.sikulix::sikulixapi::1.1.x pom not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Opinion
|
Undecided
|
RaiMan |
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:/
There seem to be some place holder variables that are not being resolved when the pom is produced. for example ->
<dependency>
<groupId>
<artifactId
<version>
</dependency>
</dependencies>
<properties>
<project.
<distributionMa
<repository>
<id>
<url>
</repository>
</distributionM
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).
description: | updated |
--- While trying to pull in dependencies for the sikulixapi
... not sure, what you are doing here, but ...
having a Maven project with this pom
<?xml version="1.0" encoding="UTF-8"?> maven.apache. org/POM/ 4.0.0" xmlns:xsi="http:// www.w3. org/2001/ XMLSchema- instance" xsi:schemaLocat ion="http:// maven.apache. org/POM/ 4.0.0 http:// maven.apache. org/xsd/ maven-4. 0.0.xsd"> on>4.0. 0</modelVersion > com.sikulix< /groupId> >MavenTest< /artifactId> 2.0.0-SNAPSHOT< /version> jar</packaging>
<project. build.sourceEnc oding>UTF- 8</project. build.sourceEnc oding>
<maven. compiler. source> 1.7</maven. compiler. source>
<maven. compiler. target> 1.7</maven. compiler. target>
<groupId> com.sikulix< /groupId>
<artifactId> sikulixapi< /artifactId>
<version> 1.1.0</ version>
<project xmlns="http://
<modelVersi
<groupId>
<artifactId
<version>
<packaging>
<properties>
</properties>
<dependencies>
<dependency>
</dependency>
</dependencies>
</project>
simply works as expected: ------- ------- ------- ------- ------- ------- ------- ------- ------- -- ------- ------- ------- ------- ------- ------- ------- ------- ------- -- repo.maven. apache. org/maven2/ com/sikulix/ sikulixapi/ 1.1.0/sikulixap i-1.1.0. pom
-------
Building MavenTest 2.0.0-SNAPSHOT
-------
Downloading: http://
Downloaded: http:// repo.maven. apache. org/maven2/ com/sikulix/ sikulixapi/ 1.1.0/sikulixap i-1.1.0. pom (6 KB at 5.7 KB/sec) repo.maven. apache. org/maven2/ com/sikulix/ sikulixlibsmac/ 1.1.0/sikulixli bsmac-1. 1.0.pom
Downloading: http://
Downloaded: http:// repo.maven. apache. org/maven2/ com/sikulix/ sikulixlibsmac/ 1.1.0/sikulixli bsmac-1. 1.0.pom (3 KB at 15.7 KB/sec) repo.maven. apache. org/maven2/ com/sikulix/ sikulixapi/ 1.1.0/sikulixap i-1.1.0. jar repo.maven. apache. org/maven2/ com/sikulix/ sikulixlibsmac/ 1.1.0/sikulixli bsmac-1. 1.0.jar
Downloading: http://
Downloading: http://
Downloaded: http:// repo.maven. apache. org/maven2/ com/sikulix/ sikulixapi/ 1.1.0/sikulixap i-1.1.0. jar (1107 KB at 868.1 KB/sec)
Downloaded: http:// repo.maven. apache. org/maven2/ com/sikulix/ sikulixlibsmac/ 1.1.0/sikulixli bsmac-1. 1.0.jar (4853 KB at 1173.9 KB/sec)
--- maven-clean- plugin: 2.4.1:clean (default-clean) @ MavenTest ---
--- maven-resources -plugin: 2.5:resources (default-resources) @ MavenTest ---
[debug] execute contextualize
Using 'UTF-8' encoding to copy filtered resources.
Copying 1 resource
--- maven-compiler- plugin: 2.3.2:compile (default-compile) @ MavenTest --- raimundhocke/ NetBeansProject s/MavenTest/ target/ classes
Compiling 1 source file to /Users/
--- ${sikulix.libs} windows< /family> libs>sikulixlib swin</sikulix. libs> unix</family> libs>sikulixlib slux</sikulix. libs> mac</family>
this is resolved during Maven processing by the section:
<profiles>
<profile>
<id>Windows</id>
<activation>
<os>
<family>
</os>
</activation>
<properties>
<sikulix.
</properties>
</profile>
<profile>
<id>Unix</id>
<activation>
<os>
<family>
</os>
</activation>
<properties>
<sikulix.
</properties>
</profile>
<profile>
<id>Mac</id>
<activation>
<os>
<family>
</os>
</...