Author: thorsten
Date: Wed Feb 23 11:48:41 2011
New Revision: 1073705
URL: http://svn.apache.org/viewvc?rev=1073705&view=rev
Log:
Adding simple maven module for moving the examples DROIDS-89
Added:
incubator/droids/trunk/droids-examples/ (with props)
incubator/droids/trunk/droids-examples/pom.xml (with props)
incubator/droids/trunk/droids-examples/src/
incubator/droids/trunk/droids-examples/src/main/
incubator/droids/trunk/droids-examples/src/main/java/
incubator/droids/trunk/droids-examples/src/main/java/org/
incubator/droids/trunk/droids-examples/src/main/java/org/apache/
incubator/droids/trunk/droids-examples/src/main/java/org/apache/droids/
incubator/droids/trunk/droids-examples/src/main/java/org/apache/droids/App.java
(with props)
incubator/droids/trunk/droids-examples/src/site/
incubator/droids/trunk/droids-examples/src/site/apt/
incubator/droids/trunk/droids-examples/src/site/apt/index.apt (with props)
incubator/droids/trunk/droids-examples/src/site/fml/
incubator/droids/trunk/droids-examples/src/site/fml/faq.fml
incubator/droids/trunk/droids-examples/src/site/site.xml (with props)
incubator/droids/trunk/droids-examples/src/test/
incubator/droids/trunk/droids-examples/src/test/java/
incubator/droids/trunk/droids-examples/src/test/java/org/
incubator/droids/trunk/droids-examples/src/test/java/org/apache/
incubator/droids/trunk/droids-examples/src/test/java/org/apache/droids/
incubator/droids/trunk/droids-examples/src/test/java/org/apache/droids/AppTest.java
(with props)
Modified:
incubator/droids/trunk/pom.xml
Propchange: incubator/droids/trunk/droids-examples/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Feb 23 11:48:41 2011
@@ -0,0 +1,4 @@
+target
+.settings
+.project
+.classpath
Added: incubator/droids/trunk/droids-examples/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/droids/trunk/droids-examples/pom.xml?rev=1073705&view=auto
==============================================================================
--- incubator/droids/trunk/droids-examples/pom.xml (added)
+++ incubator/droids/trunk/droids-examples/pom.xml Wed Feb 23 11:48:41 2011
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>droids</artifactId>
+ <groupId>org.apache.droids</groupId>
+ <version>0.1-incubating-SNAPSHOT</version>
+ </parent>
+ <groupId>org.apache.droids</groupId>
+ <artifactId>droids-examples</artifactId>
+ <name>Droids Examples</name>
+ <version>1.0-SNAPSHOT</version>
+</project>
Propchange: incubator/droids/trunk/droids-examples/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added:
incubator/droids/trunk/droids-examples/src/main/java/org/apache/droids/App.java
URL:
http://svn.apache.org/viewvc/incubator/droids/trunk/droids-examples/src/main/java/org/apache/droids/App.java?rev=1073705&view=auto
==============================================================================
---
incubator/droids/trunk/droids-examples/src/main/java/org/apache/droids/App.java
(added)
+++
incubator/droids/trunk/droids-examples/src/main/java/org/apache/droids/App.java
Wed Feb 23 11:48:41 2011
@@ -0,0 +1,41 @@
+/**
+ * Copyright (C) cedarsoft GmbH.
+ *
+ * Licensed under the GNU General Public License version 3 (the "License")
+ * with Classpath Exception; you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.cedarsoft.org/gpl3ce
+ * (GPL 3 with Classpath Exception)
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 3 only, as
+ * published by the Free Software Foundation. cedarsoft GmbH designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by cedarsoft GmbH in the LICENSE file that accompanied this code.
+ *
+ * This code 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
+ * version 3 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 3 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact cedarsoft GmbH, 72810 Gomaringen, Germany,
+ * or visit www.cedarsoft.com if you need additional information or
+ * have any questions.
+ */
+
+package org.apache.droids;
+
+/**
+ * Hello world!
+ */
+public class App {
+ public static void main( String[] args ) {
+ System.out.println( "Hello World!" );
+ }
+}
Propchange:
incubator/droids/trunk/droids-examples/src/main/java/org/apache/droids/App.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/droids/trunk/droids-examples/src/site/apt/index.apt
URL:
http://svn.apache.org/viewvc/incubator/droids/trunk/droids-examples/src/site/apt/index.apt?rev=1073705&view=auto
==============================================================================
--- incubator/droids/trunk/droids-examples/src/site/apt/index.apt (added)
+++ incubator/droids/trunk/droids-examples/src/site/apt/index.apt Wed Feb 23
11:48:41 2011
@@ -0,0 +1,47 @@
+~~
+~~ Copyright (C) cedarsoft GmbH.
+~~
+~~ Licensed under the GNU General Public License version 3 (the "License")
+~~ with Classpath Exception; you may not use this file except in compliance
+~~ with the License. You may obtain a copy of the License at
+~~
+~~ http://www.cedarsoft.org/gpl3ce
+~~ (GPL 3 with Classpath Exception)
+~~
+~~ This code is free software; you can redistribute it and/or modify it
+~~ under the terms of the GNU General Public License version 3 only, as
+~~ published by the Free Software Foundation. cedarsoft GmbH designates this
+~~ particular file as subject to the "Classpath" exception as provided
+~~ by cedarsoft GmbH in the LICENSE file that accompanied this code.
+~~
+~~ This code 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
+~~ version 3 for more details (a copy is included in the LICENSE file that
+~~ accompanied this code).
+~~
+~~ You should have received a copy of the GNU General Public License version
+~~ 3 along with this work; if not, write to the Free Software Foundation,
+~~ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+~~
+~~ Please contact cedarsoft GmbH, 72810 Gomaringen, Germany,
+~~ or visit www.cedarsoft.com if you need additional information or
+~~ have any questions.
+~~
+
+ -----
+ The Site
+ -----
+ cedarsoft GmbH
+ -----
+
+Maven Site for your project
+
+ Congratulations! If you are looking at this page then you have successfully
generated a
+ template site employing the site archetype and you have run:
+
++-----+
+
+mvn site
+
++-----+
Propchange: incubator/droids/trunk/droids-examples/src/site/apt/index.apt
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/droids/trunk/droids-examples/src/site/fml/faq.fml
URL:
http://svn.apache.org/viewvc/incubator/droids/trunk/droids-examples/src/site/fml/faq.fml?rev=1073705&view=auto
==============================================================================
--- incubator/droids/trunk/droids-examples/src/site/fml/faq.fml (added)
+++ incubator/droids/trunk/droids-examples/src/site/fml/faq.fml Wed Feb 23
11:48:41 2011
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<!--
+
+ Copyright (C) cedarsoft GmbH.
+
+ Licensed under the GNU General Public License version 3 (the "License")
+ with Classpath Exception; you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.cedarsoft.org/gpl3ce
+ (GPL 3 with Classpath Exception)
+
+ This code is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License version 3 only, as
+ published by the Free Software Foundation. cedarsoft GmbH designates this
+ particular file as subject to the "Classpath" exception as provided
+ by cedarsoft GmbH in the LICENSE file that accompanied this code.
+
+ This code 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
+ version 3 for more details (a copy is included in the LICENSE file that
+ accompanied this code).
+
+ You should have received a copy of the GNU General Public License version
+ 3 along with this work; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+
+ Please contact cedarsoft GmbH, 72810 Gomaringen, Germany,
+ or visit www.cedarsoft.com if you need additional information or
+ have any questions.
+
+-->
+
+<faqs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/FML/1.0"
+ xsi:schemaLocation="http://maven.apache.org/FML/1.0
http://maven.apache.org/xsd/fml-1.0.xsd"
+ id="General FAQ">
+ <part id="General">
+ <faq id="where">
+ <question>Where did Maven come from?</question>
+ <answer>
+ <p>
+ Maven was created by a group of software developers who were tired
+ of wasting their time fiddling around with builds and wanted to get
+ down to brass tacks and actually develop software!
+ </p>
+ </answer>
+ </faq>
+ <faq id="why">
+ <question>Why is Maven so wildly popular?</question>
+ <answer>
+ <p>
+ Maven saves you so much time in your software development efforts
that
+ you will have time to learn a second language, relax ten hours a
+ day, and train for that marathon you've always wanted to run!
+ </p>
+ </answer>
+ </faq>
+ </part>
+</faqs>
Added: incubator/droids/trunk/droids-examples/src/site/site.xml
URL:
http://svn.apache.org/viewvc/incubator/droids/trunk/droids-examples/src/site/site.xml?rev=1073705&view=auto
==============================================================================
--- incubator/droids/trunk/droids-examples/src/site/site.xml (added)
+++ incubator/droids/trunk/droids-examples/src/site/site.xml Wed Feb 23
11:48:41 2011
@@ -0,0 +1,58 @@
+<!--
+
+ Copyright (C) cedarsoft GmbH.
+
+ Licensed under the GNU General Public License version 3 (the "License")
+ with Classpath Exception; you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.cedarsoft.org/gpl3ce
+ (GPL 3 with Classpath Exception)
+
+ This code is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License version 3 only, as
+ published by the Free Software Foundation. cedarsoft GmbH designates this
+ particular file as subject to the "Classpath" exception as provided
+ by cedarsoft GmbH in the LICENSE file that accompanied this code.
+
+ This code 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
+ version 3 for more details (a copy is included in the LICENSE file that
+ accompanied this code).
+
+ You should have received a copy of the GNU General Public License version
+ 3 along with this work; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+
+ Please contact cedarsoft GmbH, 72810 Gomaringen, Germany,
+ or visit www.cedarsoft.com if you need additional information or
+ have any questions.
+
+-->
+
+<project xmlns="http://maven.apache.org/DECORATION/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0
http://maven.apache.org/xsd/decoration-1.0.0.xsd">
+
+ <bannerLeft>
+ <name>${project.name}</name>
+ <src>http://cedarsoft.org/org.apache.droids/$artifactId.jpg</src>
+ <href>index.html</href>
+ </bannerLeft>
+
+ <body>
+
+ <menu name="Overview">
+ <item name="Introduction" href="index.html" />
+ <!--<item name="Usage" href="usage.html" />-->
+ <!--<item name="Downloads" href="downloads.html" />-->
+ <!--<item name="Integration" href="integration.html" />-->
+ <item name="FAQs" href="faqs.html" />
+ </menu>
+
+ <menu ref="modules" inherit="bottom" />
+ <menu ref="parent" inherit="bottom" />
+ <menu ref="reports" inherit="bottom" />
+ </body>
+</project>
Propchange: incubator/droids/trunk/droids-examples/src/site/site.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added:
incubator/droids/trunk/droids-examples/src/test/java/org/apache/droids/AppTest.java
URL:
http://svn.apache.org/viewvc/incubator/droids/trunk/droids-examples/src/test/java/org/apache/droids/AppTest.java?rev=1073705&view=auto
==============================================================================
---
incubator/droids/trunk/droids-examples/src/test/java/org/apache/droids/AppTest.java
(added)
+++
incubator/droids/trunk/droids-examples/src/test/java/org/apache/droids/AppTest.java
Wed Feb 23 11:48:41 2011
@@ -0,0 +1,49 @@
+/**
+ * Copyright (C) cedarsoft GmbH.
+ *
+ * Licensed under the GNU General Public License version 3 (the "License")
+ * with Classpath Exception; you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.cedarsoft.org/gpl3ce
+ * (GPL 3 with Classpath Exception)
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 3 only, as
+ * published by the Free Software Foundation. cedarsoft GmbH designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by cedarsoft GmbH in the LICENSE file that accompanied this code.
+ *
+ * This code 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
+ * version 3 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 3 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact cedarsoft GmbH, 72810 Gomaringen, Germany,
+ * or visit www.cedarsoft.com if you need additional information or
+ * have any questions.
+ */
+
+package org.apache.droids;
+
+import org.junit.*;
+
+import static org.junit.Assert.*;
+import static org.hamcrest.CoreMatchers.*;
+import static org.junit.matchers.JUnitMatchers.*;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest {
+
+ @Test
+ public void testApp() {
+ assertTrue( true );
+ }
+}
Propchange:
incubator/droids/trunk/droids-examples/src/test/java/org/apache/droids/AppTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/droids/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/droids/trunk/pom.xml?rev=1073705&r1=1073704&r2=1073705&view=diff
==============================================================================
--- incubator/droids/trunk/pom.xml (original)
+++ incubator/droids/trunk/pom.xml Wed Feb 23 11:48:41 2011
@@ -269,6 +269,7 @@
<module>droids-solr</module>
<module>droids-wicket</module>
<module>droids-tika</module>
+ <module>droids-examples</module>
</modules>
</project>