--- 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"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.sikulix</groupId> <artifactId>MavenTest</artifactId> <version>2.0.0-SNAPSHOT</version> <packaging>jar</packaging> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.7</maven.compiler.source> <maven.compiler.target>1.7</maven.compiler.target> </properties> <dependencies> <dependency> <groupId>com.sikulix</groupId> <artifactId>sikulixapi</artifactId> <version>1.1.0</version> </dependency> </dependencies> </project> simply works as expected: ------------------------------------------------------------------------ Building MavenTest 2.0.0-SNAPSHOT ------------------------------------------------------------------------ Downloading: http://repo.maven.apache.org/maven2/com/sikulix/sikulixapi/1.1.0/sikulixapi-1.1.0.pom Downloaded: http://repo.maven.apache.org/maven2/com/sikulix/sikulixapi/1.1.0/sikulixapi-1.1.0.pom (6 KB at 5.7 KB/sec) Downloading: http://repo.maven.apache.org/maven2/com/sikulix/sikulixlibsmac/1.1.0/sikulixlibsmac-1.1.0.pom Downloaded: http://repo.maven.apache.org/maven2/com/sikulix/sikulixlibsmac/1.1.0/sikulixlibsmac-1.1.0.pom (3 KB at 15.7 KB/sec) Downloading: http://repo.maven.apache.org/maven2/com/sikulix/sikulixapi/1.1.0/sikulixapi-1.1.0.jar Downloading: http://repo.maven.apache.org/maven2/com/sikulix/sikulixlibsmac/1.1.0/sikulixlibsmac-1.1.0.jar Downloaded: http://repo.maven.apache.org/maven2/com/sikulix/sikulixapi/1.1.0/sikulixapi-1.1.0.jar (1107 KB at 868.1 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/com/sikulix/sikulixlibsmac/1.1.0/sikulixlibsmac-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 --- Compiling 1 source file to /Users/raimundhocke/NetBeansProjects/MavenTest/target/classes --- ${sikulix.libs} this is resolved during Maven processing by the section: <profiles> <profile> <id>Windows</id> <activation> <os> <family>windows</family> </os> </activation> <properties> <sikulix.libs>sikulixlibswin</sikulix.libs> </properties> </profile> <profile> <id>Unix</id> <activation> <os> <family>unix</family> </os> </activation> <properties> <sikulix.libs>sikulixlibslux</sikulix.libs> </properties> </profile> <profile> <id>Mac</id> <activation> <os> <family>mac</family> </os> </activation> <properties> <sikulix.libs>sikulixlibsmac</sikulix.libs> </properties> </profile> </profiles> --- ${sikulix.deploy.target} ... is not relevant at usage time, since no deployment is done here. so please be more specific about the problems you have. ** Changed in: sikuli Status: New => Opinion ** Changed in: sikuli Assignee: (unassigned) => RaiMan (raimund-hocke) ** Changed in: sikuli Milestone: None => 1.1.1 -- 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: pom in sonatype repo seems to not have a place holder being replaced 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 _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

