Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 84206 invoked from network); 5 Apr 2009 17:43:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Apr 2009 17:43:55 -0000 Received: (qmail 37595 invoked by uid 500); 5 Apr 2009 17:43:54 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 37533 invoked by uid 500); 5 Apr 2009 17:43:54 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 37522 invoked by uid 99); 5 Apr 2009 17:43:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Apr 2009 17:43:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Apr 2009 17:43:45 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 21E7923888A0; Sun, 5 Apr 2009 17:43:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r762124 - in /directory/sandbox/ccustine/apacheds-kernel: ./ assembly/ assembly/src/main/distribution/text/deploy/ commands/ commands/src/ commands/src/main/ commands/src/main/java/ commands/src/main/java/org/ commands/src/main/java/org/apa... Date: Sun, 05 Apr 2009 17:43:24 -0000 To: commits@directory.apache.org From: ccustine@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090405174325.21E7923888A0@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ccustine Date: Sun Apr 5 17:43:23 2009 New Revision: 762124 URL: http://svn.apache.org/viewvc?rev=762124&view=rev Log: Added command shells to load ldif files and list partition information. Added: directory/sandbox/ccustine/apacheds-kernel/commands/pom.xml directory/sandbox/ccustine/apacheds-kernel/commands/src/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/DirectoryServiceSupport.java directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/ldif/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/ldif/LoadCommand.java directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/partitions/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/partitions/ListCommand.java directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/META-INF/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/META-INF/spring/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/META-INF/spring/commands.xml directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/apache/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/apache/directory/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/apache/directory/kernel/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/apache/directory/kernel/commands/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/apache/directory/kernel/commands/ldif/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/apache/directory/kernel/commands/ldif/LoadCommand.properties directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/apache/directory/kernel/commands/partitions/ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/apache/directory/kernel/commands/partitions/ListCommand.properties Modified: directory/sandbox/ccustine/apacheds-kernel/assembly/pom.xml directory/sandbox/ccustine/apacheds-kernel/assembly/src/main/distribution/text/deploy/server.xml directory/sandbox/ccustine/apacheds-kernel/pom.xml Modified: directory/sandbox/ccustine/apacheds-kernel/assembly/pom.xml URL: http://svn.apache.org/viewvc/directory/sandbox/ccustine/apacheds-kernel/assembly/pom.xml?rev=762124&r1=762123&r2=762124&view=diff ============================================================================== --- directory/sandbox/ccustine/apacheds-kernel/assembly/pom.xml (original) +++ directory/sandbox/ccustine/apacheds-kernel/assembly/pom.xml Sun Apr 5 17:43:23 2009 @@ -22,7 +22,7 @@ org.apache.directory.server - apache-directory-kernel + apache-directory-osgi 2.0.0-SNAPSHOT Modified: directory/sandbox/ccustine/apacheds-kernel/assembly/src/main/distribution/text/deploy/server.xml URL: http://svn.apache.org/viewvc/directory/sandbox/ccustine/apacheds-kernel/assembly/src/main/distribution/text/deploy/server.xml?rev=762124&r1=762123&r2=762124&view=diff ============================================================================== --- directory/sandbox/ccustine/apacheds-kernel/assembly/src/main/distribution/text/deploy/server.xml (original) +++ directory/sandbox/ccustine/apacheds-kernel/assembly/src/main/distribution/text/deploy/server.xml Sun Apr 5 17:43:23 2009 @@ -21,82 +21,89 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + xmlns:spring="http://www.springframework.org/schema/beans" + xmlns:s="http://www.springframework.org/schema/beans" + xmlns:osgi="http://www.springframework.org/schema/osgi" + xmlns:osgix="http://www.springframework.org/schema/osgi-compendium" + xmlns:ctx="http://www.springframework.org/schema/context" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd + http://apacheds.org/config/core http://apacheds.org/config/core/apacheds.xsd + http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd + http://www.springframework.org/schema/osgi-compendium http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd + http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd" + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + - - - + + - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - #directoryService - + + + + + + + #directoryService + - - - - - + + + + + + + + #directoryService + + + + + + + + + + + + + + auth + auth-int + auth-conf + + + + + example.com + apache.org + + + + + + + + + + + + + + + + #directoryService + #ldapService + #ldapsService + + + + 10389 + 10686 + + + + + + + org.apache.directory.server.core.DirectoryService + + + + + - #directoryService - - - - - - - - - - - - - - auth - auth-int - auth-conf - - - - - example.com - apache.org - - - - - - - - - - - - - - - - #directoryService - #ldapService - #ldapsService - Added: directory/sandbox/ccustine/apacheds-kernel/commands/pom.xml URL: http://svn.apache.org/viewvc/directory/sandbox/ccustine/apacheds-kernel/commands/pom.xml?rev=762124&view=auto ============================================================================== --- directory/sandbox/ccustine/apacheds-kernel/commands/pom.xml (added) +++ directory/sandbox/ccustine/apacheds-kernel/commands/pom.xml Sun Apr 5 17:43:23 2009 @@ -0,0 +1,99 @@ + + + + + 4.0.0 + + + org.apache.directory.server + apache-directory-osgi + 2.0.0-SNAPSHOT + + + org.apache.directory.server + org.apache.directory.server.commands + bundle + 2.0.0-SNAPSHOT + Apache Directory Server :: Commands + + + Provides the commands for managing the Directory Service + + + + + org.apache.directory.server + apacheds-osgi + + + + org.apache.servicemix.kernel.gshell + org.apache.servicemix.kernel.gshell.core + + + + org.apache.felix + org.osgi.core + provided + + + + org.apache.felix + org.osgi.compendium + provided + + + + org.springframework.osgi + spring-osgi-core + + + + org.apache.geronimo.specs + geronimo-annotation_1.0_spec + + + + + + + org.apache.felix + maven-bundle-plugin + + + ${artifactId} + + org.apache.directory.kernel.commands*;version=${project.version};-split-package:=merge-first + + + org.apache.geronimo.gshell.wisdom.command, + org.apache.geronimo.gshell.wisdom.registry, + org.apache.servicemix.kernel.gshell.core, + org.apache.directory.server.configuration, + * + + !* + *;publish-context:=false;create-asynchronously:=false + + + + + + Added: directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/DirectoryServiceSupport.java URL: http://svn.apache.org/viewvc/directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/DirectoryServiceSupport.java?rev=762124&view=auto ============================================================================== --- directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/DirectoryServiceSupport.java (added) +++ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/DirectoryServiceSupport.java Sun Apr 5 17:43:23 2009 @@ -0,0 +1,14 @@ +package org.apache.directory.kernel.commands; + +import org.apache.servicemix.kernel.gshell.core.OsgiCommandSupport; +import org.apache.directory.server.core.DirectoryService; + +public abstract class DirectoryServiceSupport extends OsgiCommandSupport { + protected DirectoryService directoryService; + + public void setDirectoryService(DirectoryService directoryService) { + this.directoryService = directoryService; + } + + protected abstract Object doExecute() throws Exception; +} Added: directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/ldif/LoadCommand.java URL: http://svn.apache.org/viewvc/directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/ldif/LoadCommand.java?rev=762124&view=auto ============================================================================== --- directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/ldif/LoadCommand.java (added) +++ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/ldif/LoadCommand.java Sun Apr 5 17:43:23 2009 @@ -0,0 +1,118 @@ +/* + * 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. + */ +package org.apache.directory.kernel.commands.ldif; + +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import org.apache.commons.lang.StringUtils; +import org.apache.directory.kernel.commands.DirectoryServiceSupport; +import org.apache.directory.server.constants.ApacheSchemaConstants; +import org.apache.directory.server.constants.ServerDNConstants; +import org.apache.directory.server.core.DirectoryService; +import org.apache.directory.server.core.entry.ClonedServerEntry; +import org.apache.directory.server.core.entry.ServerEntry; +import org.apache.directory.server.protocol.shared.store.LdifFileLoader; +import org.apache.directory.server.protocol.shared.store.LdifLoadFilter; +import org.apache.directory.shared.ldap.constants.SchemaConstants; +import org.apache.directory.shared.ldap.name.LdapDN; +import org.apache.directory.shared.ldap.util.StringTools; +import org.apache.geronimo.gshell.clp.Argument; + +public class LoadCommand extends DirectoryServiceSupport { + + @Argument(required = true, description = "LDIF File") + String ldifFile; + + protected Object doExecute() throws Exception { + + List ldifFilters = new ArrayList(); + File ldif = new File(ldifFile); + ClonedServerEntry fileEntry = null; + + try + { + fileEntry = directoryService.getAdminSession().lookup( buildProtectedFileEntryDn( ldif ) ); + } + catch( Exception e ) + { + // if does not exist + } + + if ( fileEntry != null ) + { + String time = ((ClonedServerEntry)fileEntry).getOriginalEntry().get( SchemaConstants.CREATE_TIMESTAMP_AT ).getString(); + io.out.println( "Load of LDIF file '" + getCanonical( ldif ) + + "' skipped. It has already been loaded on " + time + "." ); + } + else + { + LdifFileLoader loader = new LdifFileLoader( directoryService.getAdminSession(), ldif, ldifFilters ); + int count = loader.execute(); + io.out.println("Loaded " + count + " entries from LDIF file '" + getCanonical( ldif ) + "'" ); +// addFileEntry( ldif, directoryService ); + } + return null; + } + + private LdapDN buildProtectedFileEntryDn( File ldif ) throws Exception + { + String fileSep = File.separatorChar == '\\' ? + ApacheSchemaConstants.WINDOWS_FILE_AT : + ApacheSchemaConstants.UNIX_FILE_AT; + + return new LdapDN( fileSep + + "=" + + StringTools.dumpHexPairs( StringTools.getBytesUtf8( getCanonical( ldif ) ) ) + + "," + + ServerDNConstants.LDIF_FILES_DN ); + } + + private String getCanonical( File file ) + { + String canonical; + + try + { + canonical = file.getCanonicalPath(); + } + catch ( IOException e ) + { + System.out.println("could not get canonical path"); + return null; + } + + return StringUtils.replace( canonical, "\\", "\\\\" ); + } + + private void addFileEntry( File ldif, DirectoryService directoryService ) throws Exception + { + String rdnAttr = File.separatorChar == '\\' ? + ApacheSchemaConstants.WINDOWS_FILE_AT : + ApacheSchemaConstants.UNIX_FILE_AT; + String oc = File.separatorChar == '\\' ? ApacheSchemaConstants.WINDOWS_FILE_OC : ApacheSchemaConstants.UNIX_FILE_OC; + + ServerEntry entry = directoryService.newEntry( buildProtectedFileEntryDn( ldif ) ); + entry.add( rdnAttr, getCanonical( ldif ) ); + entry.add( SchemaConstants.OBJECT_CLASS_AT, SchemaConstants.TOP_OC, oc ); + directoryService.getAdminSession().add( entry ); + } + + +} Added: directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/partitions/ListCommand.java URL: http://svn.apache.org/viewvc/directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/partitions/ListCommand.java?rev=762124&view=auto ============================================================================== --- directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/partitions/ListCommand.java (added) +++ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/java/org/apache/directory/kernel/commands/partitions/ListCommand.java Sun Apr 5 17:43:23 2009 @@ -0,0 +1,66 @@ +/* + * 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. + */ +package org.apache.directory.kernel.commands.partitions; + +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.Set; +import java.util.HashSet; + +import org.apache.commons.lang.StringUtils; +import org.apache.directory.server.constants.ApacheSchemaConstants; +import org.apache.directory.server.constants.ServerDNConstants; +import org.apache.directory.server.core.DirectoryService; +import org.apache.directory.server.core.partition.Partition; +import org.apache.directory.server.core.entry.ClonedServerEntry; +import org.apache.directory.server.core.entry.ServerEntry; +import org.apache.directory.server.protocol.shared.store.LdifFileLoader; +import org.apache.directory.server.protocol.shared.store.LdifLoadFilter; +import org.apache.directory.shared.ldap.constants.SchemaConstants; +import org.apache.directory.shared.ldap.name.LdapDN; +import org.apache.directory.shared.ldap.util.StringTools; +import org.apache.directory.kernel.commands.DirectoryServiceSupport; +import org.apache.geronimo.gshell.clp.Argument; +import org.apache.servicemix.kernel.gshell.core.OsgiCommandSupport; + +public class ListCommand extends DirectoryServiceSupport { + + protected Object doExecute() throws Exception { + Set partitions = directoryService.getPartitions(); + + if (null == partitions || partitions.size() == 0) { + io.out.println("No partitions to list..."); + return null; + } + + io.out.println("Partitions"); + io.out.println("================================"); + + for (Partition partition : partitions) { + io.out.println("Partition ID : " + partition.getId()); + io.out.println("Suffix : " + partition.getSuffix()); + io.out.println("Partition Type : " + partition.getClass().getName()); + io.out.println("---------"); + } + + return null; + } + + +} \ No newline at end of file Added: directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/META-INF/spring/commands.xml URL: http://svn.apache.org/viewvc/directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/META-INF/spring/commands.xml?rev=762124&view=auto ============================================================================== --- directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/META-INF/spring/commands.xml (added) +++ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/META-INF/spring/commands.xml Sun Apr 5 17:43:23 2009 @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/apache/directory/kernel/commands/ldif/LoadCommand.properties URL: http://svn.apache.org/viewvc/directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/apache/directory/kernel/commands/ldif/LoadCommand.properties?rev=762124&view=auto ============================================================================== --- directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/apache/directory/kernel/commands/ldif/LoadCommand.properties (added) +++ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/apache/directory/kernel/commands/ldif/LoadCommand.properties Sun Apr 5 17:43:23 2009 @@ -0,0 +1,27 @@ +## +## 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. +## + +## +## $Rev: 703511 $ $Date: 2008-10-10 18:07:36 +0200 (Fri, 10 Oct 2008) $ +## + +command.description=Load an LDIF file from the system path. + +command.manual=\ + TODO: create man page \ No newline at end of file Added: directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/apache/directory/kernel/commands/partitions/ListCommand.properties URL: http://svn.apache.org/viewvc/directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/apache/directory/kernel/commands/partitions/ListCommand.properties?rev=762124&view=auto ============================================================================== --- directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/apache/directory/kernel/commands/partitions/ListCommand.properties (added) +++ directory/sandbox/ccustine/apacheds-kernel/commands/src/main/resources/org/apache/directory/kernel/commands/partitions/ListCommand.properties Sun Apr 5 17:43:23 2009 @@ -0,0 +1,27 @@ +## +## 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. +## + +## +## $Rev: 703511 $ $Date: 2008-10-10 18:07:36 +0200 (Fri, 10 Oct 2008) $ +## + +command.description=Load an LDIF file from the system path. + +command.manual=\ + TODO: create man page \ No newline at end of file Modified: directory/sandbox/ccustine/apacheds-kernel/pom.xml URL: http://svn.apache.org/viewvc/directory/sandbox/ccustine/apacheds-kernel/pom.xml?rev=762124&r1=762123&r2=762124&view=diff ============================================================================== --- directory/sandbox/ccustine/apacheds-kernel/pom.xml (original) +++ directory/sandbox/ccustine/apacheds-kernel/pom.xml Sun Apr 5 17:43:23 2009 @@ -1,419 +1,426 @@ - - - 4.0.0 - - org.apache.directory.server - apache-directory-osgi - pom - 2.0.0-SNAPSHOT - Apache Directory :: Parent POM - - - branding - assembly - - - - 2.0.9 - - - - 1.5.5-SNAPSHOT - 1.0_1 - 2.2.3_1 - 2.1_3 - 1.3.2_1 - 1.1.1 - 1.1.1 - 10.4.2.0 - 1.0 - 2.4 - 1.0.4 - 1.4.3 - 1.5.0-r752991 - 1.2.0 - 1.2.0 - 1.2.0 - 1.0.2 - 0.9.94 - 3.8.2_1 - 1.2.14 - 2.4.1 - 1.1.1 - 1.1.0 - 1.0 - 1.3.0 - 1.1.0 - 1.2.0-m2 - 2.5.6 - 3.2.7_1 - 1.6.1_1 - 3.5 - 1.0.1 - - - - - - central - Default maven repo - http://repo1.maven.org/maven2 - - true - - - false - - - - - servicemix - Apache ServiceMix Repository - http://svn.apache.org/repos/asf/servicemix/m2-repo - - true - - - false - - - - - apache-snapshots - Apache Snapshot repository - http://repository.apache.org/content/groups/snapshots-group - - false - - - true - - - - - - spring-milestone - Spring Portfolio Milestone Repository - http://s3.amazonaws.com/maven.springframework.org/milestone - - true - - - false - - - - - - - - apache-snapshots - Apache Snapshot repository - http://repository.apache.org/content/groups/snapshots-group - - false - - - true - - - - - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.junit - test - - + 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. + --> + + 4.0.0 + + org.apache.directory.server + apache-directory-osgi + pom + 2.0.0-SNAPSHOT + Apache Directory :: Parent POM + + + branding + assembly + commands + + + + 2.0.9 + + + + 1.5.5-SNAPSHOT + 1.1.1 + 1.0_1 + 2.2.3_1 + 2.1_3_1 + 1.3.2_1 + 1.1.1 + 1.1.1 + 10.4.2.0 + 1.0 + 2.4 + 1.0.4 + 1.4.3 + 1.5.0-r752991 + 1.2.0 + 1.2.0 + 1.2.0 + 1.0.2 + 0.9.94 + 3.8.2_1 + 1.2.14 + 2.4.1 + 1.1.1 + 1.2.0-SNAPSHOT + 1.0 + 1.3.0 + 1.1.0 + 1.2.0-m2 + 2.5.6 + 3.2.7_1 + 1.6.1_1 + 3.5 + 1.0.1 + + + + + + central + Default maven repo + http://repo1.maven.org/maven2 + + true + + + false + + + + + servicemix + Apache ServiceMix Repository + http://svn.apache.org/repos/asf/servicemix/m2-repo + + true + + + false + + + + + apache-snapshots + Apache Snapshot repository + http://repository.apache.org/content/groups/snapshots-group + + false + + + true + + + + + + spring-milestone + Spring Portfolio Milestone Repository + http://s3.amazonaws.com/maven.springframework.org/milestone + + true + + + false + + + + + + + + apache-snapshots + Apache Snapshot repository + http://repository.apache.org/content/groups/snapshots-group + + false + + + true + + + - - - org.apache.directory.server - apacheds-osgi - ${apache.directory.version} - - - org.springframework - spring-aop - ${spring.version} - - - org.springframework - spring-beans - ${spring.version} - - - org.springframework - spring-core - ${spring.version} - - - org.springframework - spring-context - ${spring.version} - - - org.springframework - spring-jms - ${spring.version} - - - org.springframework.osgi - spring-osgi-test - ${spring.osgi.version} - - - org.springframework.osgi - asm.osgi - - - - - log4j - log4j - ${log4j.version} - - - commons-logging - commons-logging - ${commons.logging.version} - - - org.apache.felix - org.apache.felix.prefs - ${felix.prefs.version} - - - org.apache.felix - org.apache.felix.framework - ${felix.framework.version} - - - org.apache.felix - org.osgi.compendium - ${felix.compendium.version} - - - org.apache.felix - org.osgi.foundation - - - org.apache.felix - javax.servlet - - - - - org.apache.xbean - xbean-classloader - ${xbean.version} - - - org.apache.xbean - xbean-naming - ${xbean.version} - - - org.springframework.osgi - spring-osgi-core - ${spring.osgi.version} - - - org.apache.felix - org.osgi.core - ${felix.osgi.version} - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.junit - ${junit.version} - - - org.apache.servicemix.kernel.gshell - org.apache.servicemix.kernel.gshell.core - ${servicemix.kernel.version} - - - org.apache.servicemix.kernel - org.apache.servicemix.kernel.filemonitor - ${servicemix.kernel.version} - - - org.apache.felix - org.osgi.core - - - - - org.apache.servicemix.kernel - org.apache.servicemix.kernel.management - ${servicemix.kernel.version} - - - org.apache.servicemix.kernel.testing - org.apache.servicemix.kernel.testing.support - ${servicemix.kernel.version} - - - org.apache.felix - org.osgi.core - - - - - org.apache.directory.server - org.apache.directory.server.branding - ${pom.version} - - - org.apache.servicemix.kernel - org.apache.servicemix.kernel.main - ${servicemix.kernel.version} - - - org.apache.felix - org.osgi.core - - - - - org.apache.servicemix.legal - legal - ${servicemix.legal.version} - xml - - - org.apache.servicemix.kernel - apache-servicemix-kernel - ${servicemix.kernel.version} - zip - - - org.apache.servicemix.kernel - apache-servicemix-kernel - ${servicemix.kernel.version} - tar.gz - - - org.springframework.osgi - spring-osgi-core - ${spring.osgi.version} - - - org.springframework - spring-tx - ${spring.version} - - - org.easymock - easymock - ${easymock.version} - - - org.apache.derby - derby - ${derby.version} - - - org.apache.lucene - lucene-core - ${lucene.version} - - - org.apache.servicemix - servicemix-utils - ${servicemix.utils.version} - + + org.apache.servicemix.bundles + org.apache.servicemix.bundles.junit + test + - - - install - - - - - org.apache.felix - maven-bundle-plugin - ${felix.plugin.version} - true - - - org.apache.maven.plugins - maven-compiler-plugin - 2.0.2 - - 1.5 - 1.5 - 256M - ${compiler.fork} - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.4.2 - - false - - - - org.apache.maven.plugins - maven-assembly-plugin - 2.2-beta-3 - - - org.apache.maven.plugins - maven-dependency-plugin - 2.0 - - - org.apache.maven.plugins - maven-jar-plugin - 2.2 - - - org.apache.maven.plugins - maven-shade-plugin - 1.0 - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.5 - - - org.apache.maven.plugins - maven-jxr-plugin - 2.0 - - - org.apache.maven.plugins - maven-resources-plugin - 2.3 - - - - + + + + org.apache.geronimo.specs + geronimo-annotation_1.0_spec + ${geronimo.annotation.version} + + + org.apache.directory.server + apacheds-osgi + ${apache.directory.version} + + + org.springframework + spring-aop + ${spring.version} + + + org.springframework + spring-beans + ${spring.version} + + + org.springframework + spring-core + ${spring.version} + + + org.springframework + spring-context + ${spring.version} + + + org.springframework + spring-jms + ${spring.version} + + + org.springframework.osgi + spring-osgi-test + ${spring.osgi.version} + + + org.springframework.osgi + asm.osgi + + + + + log4j + log4j + ${log4j.version} + + + commons-logging + commons-logging + ${commons.logging.version} + + + org.apache.felix + org.apache.felix.prefs + ${felix.prefs.version} + + + org.apache.felix + org.apache.felix.framework + ${felix.framework.version} + + + org.apache.felix + org.osgi.compendium + ${felix.compendium.version} + + + org.apache.felix + org.osgi.foundation + + + org.apache.felix + javax.servlet + + + + + org.apache.xbean + xbean-classloader + ${xbean.version} + + + org.apache.xbean + xbean-naming + ${xbean.version} + + + org.springframework.osgi + spring-osgi-core + ${spring.osgi.version} + + + org.apache.felix + org.osgi.core + ${felix.osgi.version} + + + org.apache.servicemix.bundles + org.apache.servicemix.bundles.junit + ${junit.version} + + + org.apache.servicemix.kernel.gshell + org.apache.servicemix.kernel.gshell.core + ${servicemix.kernel.version} + + + org.apache.servicemix.kernel + org.apache.servicemix.kernel.filemonitor + ${servicemix.kernel.version} + + + org.apache.felix + org.osgi.core + + + + + org.apache.servicemix.kernel + org.apache.servicemix.kernel.management + ${servicemix.kernel.version} + + + org.apache.servicemix.kernel.testing + org.apache.servicemix.kernel.testing.support + ${servicemix.kernel.version} + + + org.apache.felix + org.osgi.core + + + + + org.apache.directory.server + org.apache.directory.server.branding + ${pom.version} + + + org.apache.servicemix.kernel + org.apache.servicemix.kernel.main + ${servicemix.kernel.version} + + + org.apache.felix + org.osgi.core + + + + + org.apache.servicemix.legal + legal + ${servicemix.legal.version} + xml + + + org.apache.servicemix.kernel + apache-servicemix-kernel + ${servicemix.kernel.version} + zip + + + org.apache.servicemix.kernel + apache-servicemix-kernel + ${servicemix.kernel.version} + tar.gz + + + org.springframework.osgi + spring-osgi-core + ${spring.osgi.version} + + + org.springframework + spring-tx + ${spring.version} + + + org.easymock + easymock + ${easymock.version} + + + org.apache.derby + derby + ${derby.version} + + + org.apache.lucene + lucene-core + ${lucene.version} + + + org.apache.servicemix + servicemix-utils + ${servicemix.utils.version} + + + + + + install + + + + + org.apache.felix + maven-bundle-plugin + ${felix.plugin.version} + true + + + org.apache.maven.plugins + maven-compiler-plugin + 2.0.2 + + 1.5 + 1.5 + 256M + ${compiler.fork} + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.4.2 + + false + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.2-beta-3 + + + org.apache.maven.plugins + maven-dependency-plugin + 2.0 + + + org.apache.maven.plugins + maven-jar-plugin + 2.2 + + + org.apache.maven.plugins + maven-shade-plugin + 1.0 + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.5 + + + org.apache.maven.plugins + maven-jxr-plugin + 2.0 + + + org.apache.maven.plugins + maven-resources-plugin + 2.3 + + + +