Commit a19cac21 authored by Adrien Grand's avatar Adrien Grand Committed by Filippo Carone

[PATCH] - maven project structure reorganization - add a exec:java goal to launch the VlcClient

parent 2d22d0e2
<?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/maven-v4_0_0.xsd ">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.videolan</groupId>
<artifactId>jvlc-parent</artifactId>
<version>0.9.0-SNAPSHOT</version>
</parent>
<artifactId>jvlc-core</artifactId>
<packaging>jar</packaging>
<name>JVLC - Core</name>
<description>Java Bindings for VideoLAN - Core</description>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.jna</groupId>
<artifactId>jna</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.4</version>
<scope>test</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>jvlc</id>
<name>JVLC Maven Repository</name>
<url>http://jvlc.ihack.it/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</project>
......@@ -2,48 +2,19 @@
<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.videolan</groupId>
<artifactId>jvlc</artifactId>
<packaging>jar</packaging>
<artifactId>jvlc-parent</artifactId>
<packaging>pom</packaging>
<name>JVLC</name>
<description>Java Bindings for VideoLAN</description>
<version>0.9.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
<licenses>
<license>
<name>GPLv2</name>
<url>http://www.gnu.org/licenses/old-licenses/gpl-2.0.html</url>
</license>
</licenses>
<dependencies>
<dependency>
<groupId>com.jna</groupId>
<artifactId>jna</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.4</version>
<scope>test</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>jvlc</id>
<name>JVLC Maven Repository</name>
<url>http://jvlc.ihack.it/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories></project>
<modules>
<module>core</module>
<module>samples</module>
</modules>
</project>
<?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/maven-v4_0_0.xsd ">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.videolan</groupId>
<artifactId>jvlc-samples</artifactId>
<version>0.9.0-SNAPSHOT</version>
</parent>
<groupId>org.videolan</groupId>
<artifactId>jvlc-samples-client</artifactId>
<packaging>jar</packaging>
<name>JVLC - Client sample</name>
<description>Java Bindings for VideoLAN - Client sample</description>
<version>0.9.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>VlcClient</mainClass>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.videolan</groupId>
<artifactId>jvlc-core</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>
<?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/maven-v4_0_0.xsd ">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.videolan</groupId>
<artifactId>jvlc-parent</artifactId>
<version>0.9.0-SNAPSHOT</version>
</parent>
<artifactId>jvlc-samples</artifactId>
<packaging>pom</packaging>
<name>JVLC - Samples</name>
<description>Java Bindings for VideoLAN - Samples</description>
<version>0.9.0-SNAPSHOT</version>
<modules>
<module>client</module>
</modules>
</project>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment