You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pa...@apache.org on 2010/08/09 14:55:17 UTC
svn commit: r983621 - in /directory/studio/trunk: org.dom4j.dom4j/
org.dom4j.dom4j/.classpath org.dom4j.dom4j/.project org.dom4j.dom4j/pom.xml
pom.xml
Author: pamarcelot
Date: Mon Aug 9 12:55:16 2010
New Revision: 983621
URL: http://svn.apache.org/viewvc?rev=983621&view=rev
Log:
Added plugin for 'org.dom4j.dom4j'.
Added:
directory/studio/trunk/org.dom4j.dom4j/
directory/studio/trunk/org.dom4j.dom4j/.classpath
directory/studio/trunk/org.dom4j.dom4j/.project
directory/studio/trunk/org.dom4j.dom4j/pom.xml
Modified:
directory/studio/trunk/pom.xml
Added: directory/studio/trunk/org.dom4j.dom4j/.classpath
URL: http://svn.apache.org/viewvc/directory/studio/trunk/org.dom4j.dom4j/.classpath?rev=983621&view=auto
==============================================================================
--- directory/studio/trunk/org.dom4j.dom4j/.classpath (added)
+++ directory/studio/trunk/org.dom4j.dom4j/.classpath Mon Aug 9 12:55:16 2010
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry excluding="**/*.java" kind="src" path="target/maven-shared-archive-resources"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="lib" path="src/main/resources" exported="true"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added: directory/studio/trunk/org.dom4j.dom4j/.project
URL: http://svn.apache.org/viewvc/directory/studio/trunk/org.dom4j.dom4j/.project?rev=983621&view=auto
==============================================================================
--- directory/studio/trunk/org.dom4j.dom4j/.project (added)
+++ directory/studio/trunk/org.dom4j.dom4j/.project Mon Aug 9 12:55:16 2010
@@ -0,0 +1,19 @@
+<projectDescription>
+ <name>org.dom4j.dom4j</name>
+ <comment>NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
\ No newline at end of file
Added: directory/studio/trunk/org.dom4j.dom4j/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/org.dom4j.dom4j/pom.xml?rev=983621&view=auto
==============================================================================
--- directory/studio/trunk/org.dom4j.dom4j/pom.xml (added)
+++ directory/studio/trunk/org.dom4j.dom4j/pom.xml Mon Aug 9 12:55:16 2010
@@ -0,0 +1,123 @@
+<?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.
+-->
+<!--
+ @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<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.studio</groupId>
+ <artifactId>parent</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>org.dom4j.dom4j</artifactId>
+ <version>${org.dom4j.dom4j.version}</version>
+
+ <name>dom4j (for Apache Directory Studio)</name>
+ <packaging>jar</packaging>
+
+ <description />
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.directory.studio</groupId>
+ <artifactId>studio-maven-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifestFile>META-INF/MANIFEST.MF</manifestFile>
+ <addMavenDescriptor>false</addMavenDescriptor>
+ </archive>
+ </configuration>
+ </plugin>
+ <!-- MANIFEST.MF Generation -->
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <manifestLocation>META-INF</manifestLocation>
+ <instructions>
+ <Bundle-SymbolicName>${artifactId};singleton:=true</Bundle-SymbolicName>
+ <Bundle-Localization>plugin</Bundle-Localization>
+ <Export-Package>*</Export-Package>
+ <Import-Package>!</Import-Package>
+ <Private-Package>!</Private-Package>
+ </instructions>
+ </configuration>
+ <executions>
+ <execution>
+ <id>generate-manifest</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>manifest</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!-- Unpack the jar -->
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack-apache-directory-studio-plugin</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <overWrite>true</overWrite>
+ <outputDirectory>src/main/resources</outputDirectory>
+ <artifactItems>
+ <artifactItem>
+ <groupId>dom4j</groupId>
+ <artifactId>dom4j</artifactId>
+ <excludes>META-INF/**</excludes>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- No tests to run -->
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Modified: directory/studio/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/pom.xml?rev=983621&r1=983620&r2=983621&view=diff
==============================================================================
--- directory/studio/trunk/pom.xml (original)
+++ directory/studio/trunk/pom.xml Mon Aug 9 12:55:16 2010
@@ -73,6 +73,7 @@
<org.apache.commons.io.version>1.3.1</org.apache.commons.io.version>
<org.apache.commons.lang.version>2.3</org.apache.commons.lang.version>
<org.apache.commons.logging.version>1.1.1</org.apache.commons.logging.version>
+ <org.dom4j.dom4j.version>1.6.1</org.dom4j.dom4j.version>
<org.apache.directory.shared.version>0.9.17</org.apache.directory.shared.version>
<org.apache.mina.core.version>2.0.0-M6</org.apache.mina.core.version>
<org.bouncycastle.bcprovjdk15.version>140</org.bouncycastle.bcprovjdk15.version>
@@ -1127,7 +1128,7 @@
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
- <version>1.6.1</version>
+ <version>${org.dom4j.dom4j.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>