You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devicemap.apache.org by wk...@apache.org on 2014/07/21 02:20:27 UTC

svn commit: r1612175 - in /incubator/devicemap/trunk/examples: console/pom.xml src/ src/console exec.launch

Author: wkeil
Date: Mon Jul 21 00:20:26 2014
New Revision: 1612175

URL: http://svn.apache.org/r1612175
Log:
DMAP-48: Create example project and web service 
Added Maven goal to launch console example
Task-Url: https://issues.apache.org/jira/browse/DMAP-48

Added:
    incubator/devicemap/trunk/examples/src/
    incubator/devicemap/trunk/examples/src/console exec.launch
Modified:
    incubator/devicemap/trunk/examples/console/pom.xml

Modified: incubator/devicemap/trunk/examples/console/pom.xml
URL: http://svn.apache.org/viewvc/incubator/devicemap/trunk/examples/console/pom.xml?rev=1612175&r1=1612174&r2=1612175&view=diff
==============================================================================
--- incubator/devicemap/trunk/examples/console/pom.xml (original)
+++ incubator/devicemap/trunk/examples/console/pom.xml Mon Jul 21 00:20:26 2014
@@ -9,7 +9,9 @@
 	<artifactId>console-example</artifactId>
 	<name>DeviceMap Console Example</name>
 	<description>A Console Example using Apache DeviceMap Client</description>
-
+	<properties>
+		<version.exec.plugin>1.1.1</version.exec.plugin>
+	</properties>
 	<dependencies>
 		<dependency>
 			<groupId>org.apache.devicemap</groupId>
@@ -20,4 +22,17 @@
 			<artifactId>devicemap-data</artifactId>
 		</dependency>
 	</dependencies>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>exec-maven-plugin</artifactId>
+				<version>${version.exec.plugin}</version>
+				<configuration>
+					<mainClass>org.apache.devicemap.example.console.Example</mainClass>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
 </project>
\ No newline at end of file

Added: incubator/devicemap/trunk/examples/src/console exec.launch
URL: http://svn.apache.org/viewvc/incubator/devicemap/trunk/examples/src/console%20exec.launch?rev=1612175&view=auto
==============================================================================
--- incubator/devicemap/trunk/examples/src/console exec.launch (added)
+++ incubator/devicemap/trunk/examples/src/console exec.launch Mon Jul 21 00:20:26 2014
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.m2e.Maven2LaunchConfigurationType">
+<booleanAttribute key="M2_DEBUG_OUTPUT" value="false"/>
+<stringAttribute key="M2_GOALS" value="compile exec:java"/>
+<booleanAttribute key="M2_NON_RECURSIVE" value="false"/>
+<booleanAttribute key="M2_OFFLINE" value="false"/>
+<stringAttribute key="M2_PROFILES" value=""/>
+<listAttribute key="M2_PROPERTIES"/>
+<stringAttribute key="M2_RUNTIME" value="EMBEDDED"/>
+<booleanAttribute key="M2_SKIP_TESTS" value="false"/>
+<intAttribute key="M2_THREADS" value="1"/>
+<booleanAttribute key="M2_UPDATE_SNAPSHOTS" value="false"/>
+<booleanAttribute key="M2_WORKSPACE_RESOLUTION" value="false"/>
+<stringAttribute key="org.eclipse.debug.ui.ATTR_CONSOLE_ENCODING" value="UTF-8"/>
+<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="C:/Users/Werner/workspace/jds7/mobile/devicemap/examples/console"/>
+</launchConfiguration>