Skip to content
Permalink
Browse files
Moving from sandbox to samples
git-svn-id: https://svn.apache.org/repos/asf/directory/samples/trunk@706294 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Felix Knecht committed Oct 20, 2008
1 parent 846c3b0 commit 3bc500cc66d07f361405a0fde17ad17906a5fa30
Showing 11 changed files with 779 additions and 0 deletions.
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
For now this is available at http://vm094.oxylos.org/archetype-catalog.xml
When official this file can be placed at http://directory.apache.org/archetype-catalog.xml
and added (patch) to
http://svn.apache.org/repos/asf/maven/archetype/trunk/archetype-common/src/main/resources/archetype-catalog.xml
-->
<archetype-catalog>
<archetypes>
<archetype>
<groupId>org.apache.directory.samples</groupId>
<artifactId>apacheds-webapp</artifactId>
<version>1.0-SNAPSHOT</version>
<!-- FIX ME after the first release
<version>RELEASE</version>
-->
<description>Creates ApacheDS as an embedded Web Application</description>
</archetype>
</archetypes>
</archetype-catalog>
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.directory.project</groupId>
<artifactId>project</artifactId>
<version>14</version>
</parent>

<groupId>org.apache.directory.samples</groupId>
<artifactId>apacheds-webapp</artifactId>
<packaging>maven-archetype</packaging>
<name>Archetype to embed ApacheDS as a Web Application</name>
<version>1.0-SNAPSHOT</version>

<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/directory/sandbox/felixk/embed-apacheds-archetype/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/directory/sandbox/felixk/embed-apacheds-archetype/</developerConnection>
<url>https://svn.apache.org/repos/asf/directory/sandbox/felixk/embed-apacheds-archetype/</url>
</scm>

<build>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.0-alpha-3</version>
</extension>
</extensions>
<plugins>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.0-alpha-3</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>

<reporting>
<excludeDefaults>true</excludeDefaults>
</reporting>
</project>
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<archetype-descriptor name="apacheds-webapp">
<requiredProperties>
<requiredProperty key="groupId">
<defaultValue>org.example</defaultValue>
</requiredProperty>
<requiredProperty key="artifactId">
<defaultValue>myProject</defaultValue>
</requiredProperty>
<requiredProperty key="version">
<defaultValue>1.0.0-SNAPSHOT</defaultValue>
</requiredProperty>
<requiredProperty key="package">
<defaultValue>org.example</defaultValue>
</requiredProperty>
</requiredProperties>
<fileSets>
<fileSet filtered="true" packaged="true" encoding="UTF-8">
<directory>src/main/java</directory>
<includes>
<include>**/*.java</include>
</includes>
</fileSet>
<fileSet filtered="true" encoding="UTF-8">
<directory>src/main/webapp</directory>
<includes>
<include>**/*.xml</include>
</includes>
</fileSet>
<fileSet filtered="true" encoding="UTF-8">
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
</includes>
</fileSet>
</fileSets>
</archetype-descriptor>
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<archetype>
<id>apacheds-webapp</id>
<sources>
<source>src/main/java/RootDseServlet.java</source>
<source>src/main/java/StartStopListener.java</source>
</sources>
<resources>
<resource>src/main/webapp/WEB-INF/web.xml</resource>
<resource>src/main/resources/log4j.properties</resource>
</resources>
</archetype>

0 comments on commit 3bc500c

Please sign in to comment.