From 1f9b9282643f34b47fb04b229cb3e0db2a4b07b4 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 22 Aug 2011 15:13:34 +0000 Subject: [PATCH] add maven layout for the new module to managed repo : archiva-repository-admin git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160297 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-repository-admin/pom.xml | 19 ++++++++++ .../apache/archiva/admin/repository/App.java | 13 +++++++ .../archiva/admin/repository/AppTest.java | 38 +++++++++++++++++++ archiva-modules/archiva-base/pom.xml | 4 +- 4 files changed, 72 insertions(+), 2 deletions(-) create mode 100644 archiva-modules/archiva-base/archiva-repository-admin/pom.xml create mode 100644 archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/App.java create mode 100644 archiva-modules/archiva-base/archiva-repository-admin/src/test/java/org/apache/archiva/admin/repository/AppTest.java diff --git a/archiva-modules/archiva-base/archiva-repository-admin/pom.xml b/archiva-modules/archiva-base/archiva-repository-admin/pom.xml new file mode 100644 index 000000000..1598fc823 --- /dev/null +++ b/archiva-modules/archiva-base/archiva-repository-admin/pom.xml @@ -0,0 +1,19 @@ + + + 4.0.0 + + org.apache.archiva + archiva-base + 1.4-SNAPSHOT + + archiva-repository-admin + Archiva Base :: Repository Admin + + + junit + junit + test + + + diff --git a/archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/App.java b/archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/App.java new file mode 100644 index 000000000..9c6ddbc25 --- /dev/null +++ b/archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/App.java @@ -0,0 +1,13 @@ +package org.apache.archiva.admin.repository; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/archiva-modules/archiva-base/archiva-repository-admin/src/test/java/org/apache/archiva/admin/repository/AppTest.java b/archiva-modules/archiva-base/archiva-repository-admin/src/test/java/org/apache/archiva/admin/repository/AppTest.java new file mode 100644 index 000000000..9d08ed4aa --- /dev/null +++ b/archiva-modules/archiva-base/archiva-repository-admin/src/test/java/org/apache/archiva/admin/repository/AppTest.java @@ -0,0 +1,38 @@ +package org.apache.archiva.admin.repository; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} diff --git a/archiva-modules/archiva-base/pom.xml b/archiva-modules/archiva-base/pom.xml index 53805ead0..c2f8fc85c 100644 --- a/archiva-modules/archiva-base/pom.xml +++ b/archiva-modules/archiva-base/pom.xml @@ -16,8 +16,7 @@ ~ KIND, either express or implied. See the License for the ~ specific language governing permissions and limitations ~ under the License. - --> - + --> 4.0.0 org.apache.archiva @@ -46,5 +45,6 @@ archiva-converter archiva-repository-scanner archiva-proxy-common + archiva-repository-admin \ No newline at end of file -- 2.39.5