Hi Daniel, hi all
The main change is an updated POM File:
<?xml version="1.0" encoding="UTF-8"
standalone="no"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.libvirt</groupId>
<artifactId>libvirt-java</artifactId>
<packaging>jar</packaging>
<version>0.4.8-SNAPSHOT</version>
<name>libvirt java bindings</name>
<description>Java API for the libvirt C library</description>
<url>http://www.libvirt.org</url>
<licenses>
<license>
<name>MIT license</name>
<
url>http://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>
<scm>
<
url>http://www.libvirt.org/git/?p=libvirt-java.git;a=summary</url>
</scm>
<dependencies>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>platform-mac</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<lib.folder>/opt/local/lib/</lib.folder>
</properties>
</profile>
<profile>
<id>platform-linux</id>
<activation>
<os>
<name>linux</name>
</os>
</activation>
<properties>
<lib.folder>/usr/lib/</lib.folder>
</properties>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.15</version>
<configuration>
<argLine>-Djna.library.path=${lib.folder}</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.2</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>
I have a CI Server that's building the latest sources every 24h and adds the files to
a Repository URL:
http://maven.javastream.de/org/libvirt/libvirt-java/0.4.8-SNAPSHOT/
What's missing is a cleanup of all the other files, that aren't used anymore.
I guess the best way is to try contacting the maintainers of the previous version.
KR,
Philipp
Am 12.07.2013 um 11:38 schrieb Daniel P. Berrange <berrange(a)redhat.com>:
On Thu, Jul 11, 2013 at 11:37:19PM +0200,
philipp.haussleiter(a)yahoo.de wrote:
> Hi all,
>
> i recently tried to use the libvirt-java Bindings. Since the Build with autobuild /
ant / maven seems a little bit odd to me, i started with porting the Build to plain maven.
>
> The only hard dependency is a installed libvirt. I currently tested it on MacOS and
Linux (i used maven os switches to link in the necessary JNA Lib Paths).
> Are there any people interested in this Changes?
> I will also try to contact the last contributors for that repository.
>
> ATM the whole thing is a WIP, but Sources compile correct and all existing tests run
without any problems.
I don't have an opinion, since I'm not up2date with java world, but in
general it is hard to answer this kind of question without seeing the
actual code changes. So please send your proposed changes to this list
and interested parties can review it.
Regards,
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|