[vlma-devel] commit: Maven structure for a Swing client. (Adrien Grand )

git version control git at videolan.org
Sun Jul 27 02:52:34 CEST 2008


vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Sat Jul 26 16:06:56 2008 +0200| [1bb3b05873fb5073041838067fcb1ab05441d1e8]

Maven structure for a Swing client.

> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=1bb3b05873fb5073041838067fcb1ab05441d1e8
---

 vlma-swing-client/.gitignore                    |    4 +
 vlma-swing-client/pom.xml                       |   90 +++++++++++++++++++++++
 vlma-swing-client/src/main/groovy/client.groovy |   30 ++++++++
 3 files changed, 124 insertions(+), 0 deletions(-)

diff --git a/vlma-swing-client/.gitignore b/vlma-swing-client/.gitignore
new file mode 100644
index 0000000..beef00d
--- /dev/null
+++ b/vlma-swing-client/.gitignore
@@ -0,0 +1,4 @@
+.classpath
+.project
+.settings
+target
diff --git a/vlma-swing-client/pom.xml b/vlma-swing-client/pom.xml
new file mode 100644
index 0000000..c5cbec2
--- /dev/null
+++ b/vlma-swing-client/pom.xml
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  Copyright (C) 2008 the VideoLAN team
+
+  This file is part of VLMa.
+
+  VLMa is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation, either version 2 of the License, or
+  (at your option) any later version.
+
+  VLMa is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with VLMa. If not, see <http://www.gnu.org/licenses/>.
+  -->
+
+<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">
+
+    <parent>
+        <groupId>org.videolan.vlma</groupId>
+        <artifactId>vlma-parent</artifactId>
+        <version>0.1.1-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>vlma-swing-client</artifactId>
+    <name>VLMa - Swing client</name>
+    <description>A Swing client to the VLMa daemon</description>
+    <modelVersion>4.0.0</modelVersion>
+    <packaging>jar</packaging>
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <configuration>
+                    <appendAssemblyId>true</appendAssemblyId>
+                    <descriptorRefs>
+                        <descriptorRef>jar-with-dependencies</descriptorRef>
+                    </descriptorRefs>
+                    <archive>
+                        <manifest>
+                            <mainClass>org.videolan.vlma.client.Client</mainClass>
+                        </manifest>
+                    </archive>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>make-assembly</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attached</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.groovy.maven</groupId>
+                <artifactId>gmaven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>compile</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.codehaus.groovy.maven.runtime</groupId>
+            <artifactId>gmaven-runtime-default</artifactId>
+            <version>1.0-rc-2</version>
+        </dependency>
+        <dependency>
+            <groupId>org.videolan.vlma</groupId>
+            <artifactId>vlma-api</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+    </dependencies>
+
+</project>
diff --git a/vlma-swing-client/src/main/groovy/client.groovy b/vlma-swing-client/src/main/groovy/client.groovy
new file mode 100644
index 0000000..b5a7571
--- /dev/null
+++ b/vlma-swing-client/src/main/groovy/client.groovy
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2008 the VideoLAN team
+ *
+ * This file is part of VLMa.
+ *
+ * VLMa is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * VLMa is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with VLMa. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+
+package org.videolan.vlma.client
+
+class Client {
+
+    static void main(args) {
+        println "Hello"
+    }
+
+}



More information about the vlma-devel mailing list