diff options
author | Stefan Seelmann <seelmann@apache.org> | 2015-01-11 01:11:24 +0300 |
---|---|---|
committer | Stefan Seelmann <seelmann@apache.org> | 2015-01-11 01:11:24 +0300 |
commit | e9f1a042dd2442e85c2fbdcfa8bd7d95b01140a6 (patch) | |
tree | 4e0eb5ef438f295a1aeebe335651bb77128eb234 /helps | |
parent | 7da7f45bec3d0f8c13400dc2719e8787f674692d (diff) |
Add ldapbrowser help and feature. Add legal files to feature jars.
git-svn-id: https://svn.apache.org/repos/asf/directory/studio/branches/studio-tycho@1650818 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'helps')
-rw-r--r-- | helps/ldapbrowser.help/build.properties | 2 | ||||
-rw-r--r-- | helps/ldapbrowser.help/pom-first.xml | 65 | ||||
-rw-r--r-- | helps/ldapbrowser.help/pom.xml | 359 | ||||
-rw-r--r-- | helps/pom-first.xml | 2 | ||||
-rw-r--r-- | helps/pom.xml | 2 |
5 files changed, 80 insertions, 350 deletions
diff --git a/helps/ldapbrowser.help/build.properties b/helps/ldapbrowser.help/build.properties new file mode 100644 index 000000000..7594fab8d --- /dev/null +++ b/helps/ldapbrowser.help/build.properties @@ -0,0 +1,2 @@ +bin.includes = META-INF/,\ + . diff --git a/helps/ldapbrowser.help/pom-first.xml b/helps/ldapbrowser.help/pom-first.xml new file mode 100644 index 000000000..09d8207b3 --- /dev/null +++ b/helps/ldapbrowser.help/pom-first.xml @@ -0,0 +1,65 @@ +<?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-helps</artifactId> + <version>2.0.0.qualifier</version> + <relativePath>../pom-first.xml</relativePath> + </parent> + + <artifactId>org.apache.directory.studio.ldapbrowser.help</artifactId> + <name>Apache Directory Studio LDAP Browser Help Manifest Generation</name> + <description/> + <packaging>bundle</packaging> + + <build> + <!-- MANIFEST.MF Generation --> + <plugins> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <manifestLocation>META-INF</manifestLocation> + <instructions> + <Bundle-SymbolicName>${project.artifactId};singleton:=true</Bundle-SymbolicName> + <Bundle-Localization>plugin</Bundle-Localization> + <Eclipse-LazyStart>true</Eclipse-LazyStart> + <Export-Package>!</Export-Package> + </instructions> + </configuration> + <executions> + <execution> + <id>generate-manifest</id> + <phase>process-classes</phase> + <goals> + <goal>manifest</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + +</project> + diff --git a/helps/ldapbrowser.help/pom.xml b/helps/ldapbrowser.help/pom.xml index 2c1443477..7120b8648 100644 --- a/helps/ldapbrowser.help/pom.xml +++ b/helps/ldapbrowser.help/pom.xml @@ -24,12 +24,14 @@ <groupId>org.apache.directory.studio</groupId> <artifactId>parent-helps</artifactId> <version>2.0.0-SNAPSHOT</version> + <relativePath>../</relativePath> </parent> - <artifactId>ldapbrowser.help</artifactId> + <artifactId>org.apache.directory.studio.ldapbrowser.help</artifactId> <name>Apache Directory Studio LDAP Browser Help</name> - <packaging>jar</packaging> - <profiles> + <packaging>eclipse-plugin</packaging> + + <profiles> <!-- UserGuides --> <profile> <id>userguides</id> @@ -79,6 +81,8 @@ </taskdef> <!-- Prepare docbook --> + <unzip src="../../repository/docbook/docbook-xml/4.5/docbook-xml-4.5.zip" dest="target/docbook/docbook-xml" /> + <unzip src="../../repository/docbook/docbook-xsl/1.71.1/docbook-xsl-1.71.1.zip" dest="target/docbook" /> <property name="fromregexpxml" value="^(docbook-xml-[^/]+)/(.*)" /> <property name="toregexpxml" value="docbook-xml/\2" /> <move todir="target/docbook"> @@ -162,247 +166,8 @@ </plugins> </build> </profile> - <profile> - <id>help-plugin</id> - <activation> - <file><exists>src/main/docbook/0_index.xml</exists></file> - </activation> - <build> - <resources> - <resource> - <directory>.</directory> - <includes> - <include>plugin.xml</include> - </includes> - </resource> - <resource> - <directory>src/main/resources</directory> - </resource> - <resource> - <directory>src/main/docbook</directory> - <targetPath>../docbook/documents</targetPath> - <filtering>true</filtering> - </resource> - </resources> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-eclipse-plugin</artifactId> - <configuration> - <skip>false</skip> - <buildcommands> - <buildcommand>org.eclipse.pde.ManifestBuilder</buildcommand> - <buildcommand>org.eclipse.pde.SchemaBuilder</buildcommand> - </buildcommands> - <projectnatures> - <projectnature>org.eclipse.pde.PluginNature</projectnature> - </projectnatures> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.directory.studio</groupId> - <artifactId>studio-maven-plugin</artifactId> - <configuration> - <skip>false</skip> - <createManifest>true</createManifest> - </configuration> - <executions> - <execution> - <goals> - <goal>prepare-jar-package</goal> - </goals> - </execution> - </executions> - </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>${project.groupId}.${project.artifactId};singleton:=true</Bundle-SymbolicName> - <Bundle-Localization>plugin</Bundle-Localization> - <Eclipse-LazyStart>true</Eclipse-LazyStart> - <Export-Package>!</Export-Package> - </instructions> - </configuration> - <executions> - <execution> - <id>generate-manifest</id> - <phase>process-classes</phase> - <goals> - <goal>manifest</goal> - </goals> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <executions> - <execution> - <id>unpack-docbook-dependencies</id> - <phase>process-resources</phase> - <goals> - <goal>unpack</goal> - </goals> - <configuration> - <overWrite>true</overWrite> - <artifactItems> - <artifactItem> - <groupId>docbook</groupId> - <artifactId>docbook-xml</artifactId> - <type>zip</type> - <outputDirectory>target/docbook/docbook-xml</outputDirectory> - </artifactItem> - <artifactItem> - <groupId>docbook</groupId> - <artifactId>docbook-xsl</artifactId> - <type>zip</type> - <outputDirectory>target/docbook</outputDirectory> - </artifactItem> - </artifactItems> - </configuration> - </execution> - </executions> - </plugin> - - <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>build-eclipse-help</id> - <phase>process-classes</phase> - <configuration> - <target> - <!-- Prepare docbook --> - <property name="fromregexpxml" value="^(docbook-xml-[^/]+)/(.*)" /> - <property name="toregexpxml" value="docbook-xml/\2" /> - <move todir="target/docbook"> - <fileset dir="target/docbook"> - <include name="docbook-xml-*/**" /> - </fileset> - <regexpmapper from="${fromregexpxml}" to="${toregexpxml}" handledirsep="true" /> - </move> - - <property name="fromregexpxsl" value="^(docbook-xsl-[^/]+)/(.*)" /> - <property name="toregexpxsl" value="docbook-xsl/\2" /> - <move todir="target/docbook"> - <fileset dir="target/docbook"> - <include name="docbook-xsl-*/**" /> - </fileset> - <regexpmapper from="${fromregexpxsl}" to="${toregexpxsl}" handledirsep="true" /> - </move> - - <!-- Create HTML --> - <xslt basedir="target/docbook/" in="target/docbook/documents/0_index.xml" out="target/classes/index.html" style="target/docbook/docbook-xsl/eclipse/eclipse.xsl"> - <param name="ignore.image.scaling" expression="1" /> - <param name="manifest.in.base.dir" expression="0" /> - <param name="base.dir" expression="html/" /> - <param name="html.stylesheet" expression="css/book.css" /> - <param name="table.cell.borders.thickness" expression="1" /> - <!-- <param name="table.borders.with.css" expression="1" /> --> - <param name="generate.section.toc.level" expression="5" /> - <param name="toc.max.depth" expression="1" /> - <param name="chunk.first.sections" expression="1" /> - <param name="chunk.section.depth" expression="5" /> - <param name="chunk.fast" expression="1" /> - <param name="chunk.separate.lots" expression="1" /> - <!--<param name="chunk.tocs.and.lots" expression="1" />--> - <param name="ulink.target" expression="_self" /> - <param name="suppress.navigation" expression="1" /> - <param name="html.cleanup" expression="1" /> - <param name="html.cellpadding" expression="3" /> - <param name="use.id.as.filename" expression="1" /> - <param name="chapter.autolabel" expression="0" /> - <param name="section.autolabel" expression="0" /> - <outputproperty name="method" value="xml" /> - <outputproperty name="standalone" value="yes" /> - <outputproperty name="encoding" value="iso8859_1" /> - <outputproperty name="indent" value="es" /> - </xslt> - - <!-- Copy the good plugin.xml. - The eclipse.xsl creates its own plugin.xml but we want - to use our own. - --> - <copy todir="target/classes" file="plugin.xml" overwrite="true" /> - </target> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - </plugin> - - <!-- No tests to run --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <skip>true</skip> - </configuration> - </plugin> - </plugins> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <configuration> - <excludeSubProjects>false</excludeSubProjects> - <excludes> - <!-- MAVEN_DEFAULT_EXCLUDES --> - <exclude>**/target/**/*</exclude> - <exclude>**/cobertura.ser</exclude> - <!-- ECLIPSE_DEFAULT_EXCLUDES --> - <exclude>**/.classpath</exclude> - <exclude>**/.project</exclude> - <exclude>**/.settings/**/*</exclude> - <!-- IDEA_DEFAULT_EXCLUDES --> - <exclude>**/*.iml</exclude> - <exclude>**/*.ipr</exclude> - <exclude>**/*.iws</exclude> - <!-- MANIFEST_MF_EXCLUDES --> - <exclude>**/MANIFEST.MF</exclude> - <!-- Missing license header in dependency reduced pom, see http://jira.codehaus.org/browse/MSHADE-48 --> - <exclude>**/dependency-reduced-pom.xml</exclude> - <!-- GITIGNORE_EXCLUDES --> - <exclude>**/.gitignore</exclude> - <!-- ABOUT_EXCLUDES --> - <exclude>**/about.ini</exclude> - <exclude>**/about_files/*</exclude> - <!-- LOG_FILES_EXCLUDES --> - <exclude>**/*.log</exclude> - <exclude>**/*.vm</exclude> - <!-- OTHER_EXCLUDES --> - <exclude>src/main/resources/sevenseas.ldif</exclude> - <exclude>src/main/resources/html/rfc/*.txt</exclude> - </excludes> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - </profile> </profiles> - <build> <resources> <resource> @@ -422,109 +187,16 @@ </resources> <plugins> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-eclipse-plugin</artifactId> - <configuration> - <buildcommands> - <buildcommand>org.eclipse.pde.ManifestBuilder</buildcommand> - <buildcommand>org.eclipse.pde.SchemaBuilder</buildcommand> - </buildcommands> - <projectnatures> - <projectnature>org.eclipse.pde.PluginNature</projectnature> - </projectnatures> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.directory.studio</groupId> - <artifactId>studio-maven-plugin</artifactId> - <configuration> - <skip>false</skip> - <createManifest>true</createManifest> - </configuration> - <executions> - <execution> - <goals> - <goal>prepare-jar-package</goal> - </goals> - </execution> - </executions> - </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>${project.groupId}.${project.artifactId};singleton:=true</Bundle-SymbolicName> - <Bundle-Localization>plugin</Bundle-Localization> - <Eclipse-LazyStart>true</Eclipse-LazyStart> - <Export-Package>!</Export-Package> - </instructions> - </configuration> - <executions> - <execution> - <id>generate-manifest</id> - <phase>process-classes</phase> - <goals> - <goal>manifest</goal> - </goals> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <executions> - <execution> - <id>unpack-docbook-dependencies</id> - <phase>process-resources</phase> - <goals> - <goal>unpack</goal> - </goals> - <configuration> - <overWrite>true</overWrite> - <artifactItems> - <artifactItem> - <groupId>docbook</groupId> - <artifactId>docbook-xml</artifactId> - <type>zip</type> - <outputDirectory>target/docbook/docbook-xml</outputDirectory> - </artifactItem> - <artifactItem> - <groupId>docbook</groupId> - <artifactId>docbook-xsl</artifactId> - <type>zip</type> - <outputDirectory>target/docbook</outputDirectory> - </artifactItem> - </artifactItems> - </configuration> - </execution> - </executions> - </plugin> - - <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>build-eclipse-help</id> <phase>process-classes</phase> <configuration> - <tasks> + <target> <!-- Prepare docbook --> + <unzip src="../../repository/docbook/docbook-xml/4.5/docbook-xml-4.5.zip" dest="target/docbook/docbook-xml" /> + <unzip src="../../repository/docbook/docbook-xsl/1.71.1/docbook-xsl-1.71.1.zip" dest="target/docbook" /> <property name="fromregexpxml" value="^(docbook-xml-[^/]+)/(.*)" /> <property name="toregexpxml" value="docbook-xml/\2" /> <move todir="target/docbook"> @@ -576,7 +248,7 @@ to use our own. --> <copy todir="target/classes" file="plugin.xml" overwrite="true" /> - </tasks> + </target> </configuration> <goals> <goal>run</goal> @@ -584,15 +256,6 @@ </execution> </executions> </plugin> - - <!-- No tests to run --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <skip>true</skip> - </configuration> - </plugin> </plugins> </build> diff --git a/helps/pom-first.xml b/helps/pom-first.xml index f2a57adcd..7888c1f0b 100644 --- a/helps/pom-first.xml +++ b/helps/pom-first.xml @@ -35,7 +35,7 @@ <modules> <!-- <module>apacheds.help</module> --> <!-- <module>apacheds.configuration.help</module> --> -<!-- <module>ldapbrowser.help</module> --> + <module>ldapbrowser.help/pom-first.xml</module> <module>ldifeditor.help/pom-first.xml</module> <!-- <module>rcp.help</module> --> <!-- <module>schemaeditor.help</module> --> diff --git a/helps/pom.xml b/helps/pom.xml index 3f7f73aa0..6fce5ad1f 100644 --- a/helps/pom.xml +++ b/helps/pom.xml @@ -34,7 +34,7 @@ <modules> <!-- <module>apacheds.help</module> --> <!-- <module>apacheds.configuration.help</module> --> -<!-- <module>ldapbrowser.help</module> --> + <module>ldapbrowser.help</module> <module>ldifeditor.help</module> <!-- <module>rcp.help</module> --> <!-- <module>schemaeditor.help</module> --> |