diff options
author | Olivier Lamy <olamy@apache.org> | 2011-08-22 15:13:34 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-08-22 15:13:34 +0000 |
commit | 1f9b9282643f34b47fb04b229cb3e0db2a4b07b4 (patch) | |
tree | 076259a00fb0a529c8c8c8c5e8e7feea3216446b /archiva-modules | |
parent | fa90a670b10d4c98d7c4d4385db57643989381bd (diff) | |
download | archiva-1f9b9282643f34b47fb04b229cb3e0db2a4b07b4.tar.gz archiva-1f9b9282643f34b47fb04b229cb3e0db2a4b07b4.zip |
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
Diffstat (limited to 'archiva-modules')
4 files changed, 72 insertions, 2 deletions
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 @@ +<?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> + <groupId>org.apache.archiva</groupId> + <artifactId>archiva-base</artifactId> + <version>1.4-SNAPSHOT</version> + </parent> + <artifactId>archiva-repository-admin</artifactId> + <name>Archiva Base :: Repository Admin</name> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + </dependencies> +</project> 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. - --> -<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"> + --><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.apache.archiva</groupId> @@ -46,5 +45,6 @@ <module>archiva-converter</module> <module>archiva-repository-scanner</module> <module>archiva-proxy-common</module> + <module>archiva-repository-admin</module> </modules> </project>
\ No newline at end of file |