|
|
Re: Something is wrong in Eclipse repository (same in Eclipse Kura repository). [message #1760195 is a reply to message #1760190] |
Mon, 24 April 2017 13:10 |
Tristan R Messages: 11 Registered: October 2009 |
Junior Member |
|
|
Ok, thanks for your quick answer. Also, my question about the use of Maven for IOT/Kura is not a joke, I'm wondering if it's a common practice to use Maven or if it is clunky and not recommanded because of OSGI, and/or hard to find dependencies ?
For example, here is an extract of my pom.xml trying to re-create dependencies for the "heater" demo project. As you can see, some versions had to be adapted, since they can't be found anywhere, and for "org.eclipse.kura.sun.misc", I just can't find any version anywhere. Should I build Kura jars myself from source ?
<repositories>
<repository>
<id>Eclipse.repo</id>
<url>https://repo.eclipse.org/content/groups/releases/</url>
</repository>
<repository>
<id>WSO2.repo</id>
<url>http://dist.wso2.org/maven2/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.eclipse.kura</groupId>
<artifactId>org.eclipse.kura.api</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.21</version>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.cmpn</artifactId>
<version>4.3.1</version>
</dependency>
<dependency>
<groupId>org.eclipse.osgi</groupId>
<artifactId>org.eclipse.osgi.util</artifactId>
<version>3.2.100.v20100503</version>
</dependency>
<dependency>
<groupId>org.eclipse.osgi</groupId>
<artifactId>org.eclipse.osgi.services</artifactId>
<version>3.3.100.v20120522-1822</version>
</dependency>
<dependency>
<groupId>org.eclipse.osgi</groupId>
<artifactId>org.eclipse.osgi</artifactId>
<version>3.8.1.v20120830-144521</version>
</dependency>
<dependency>
<groupId>org.eclipse.kura</groupId>
<artifactId>org.eclipse.kura.sun.misc</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03744 seconds