Adding comments to pom files for documentation

This commit is contained in:
Martin Stockhammer 2020-06-28 10:52:30 +02:00
parent 5d058d7f4d
commit 622ebf3c5b
3 changed files with 37 additions and 6 deletions

View File

@ -26,7 +26,7 @@
<version>3.0.0-SNAPSHOT</version> <version>3.0.0-SNAPSHOT</version>
</parent> </parent>
<artifactId>metadata-store-jcr</artifactId> <artifactId>metadata-store-jcr</artifactId>
<name>Archiva Metadata :: Store Provider :: JCR :: OAK</name> <name>Archiva Metadata :: Store Provider :: JCR :: Oak Implementation</name>
<description>Metadata provider that uses JCR Oak as backend</description> <description>Metadata provider that uses JCR Oak as backend</description>
<properties> <properties>

View File

@ -31,12 +31,23 @@
<name>Archiva Metadata :: Store Provider :: JCR :: Shaded OAK Lucene</name> <name>Archiva Metadata :: Store Provider :: JCR :: Shaded OAK Lucene</name>
<description>This module shades the lucene dependencies of jcr oak to avoid version conflicts</description> <description>This module shades the lucene dependencies of jcr oak to avoid version conflicts</description>
<!--
You may have to update this file, if the JCR OAK dependency version changes in archiva:
- Check, if the lucene classes are still part of the JAR file
- Check the resulting jar file for any unshaded lucene packages
- Check the dependency by mvn dependency:tree for added / removed transitive dependencies
- Check the resulting LICENSE/LICENSE.txt and NOTICE/NOTICE.txt for changes.
-->
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.jackrabbit</groupId> <groupId>org.apache.jackrabbit</groupId>
<artifactId>oak-lucene</artifactId> <artifactId>oak-lucene</artifactId>
<version>${jcr-oak.version}</version> <version>${jcr-oak.version}</version>
<!-- Lucene classes are included already in the oak-lucene.jar, so we exclude this dependency --> <!-- Lucene classes are included already in the oak-lucene.jar, so we exclude this dependencies
Not sure, if it is the intention of JCR OAK team to provide some kind of uber jar with oak-lucene,
but that's what it is. We use the classes in the JAR file for shading, not the dependencies.
Must be checked after each version upgrade of OAK JCR -->
<exclusions> <exclusions>
<exclusion> <exclusion>
<groupId>org.apache.lucene</groupId> <groupId>org.apache.lucene</groupId>
@ -119,7 +130,24 @@
</excludes> </excludes>
</configuration> </configuration>
</plugin> </plugin>
<!-- We don't have code in this package, only do some repackaging so we skip the LICENSE -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
<configuration>
<skip>true</skip>
</configuration>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
<plugins> <plugins>
@ -162,11 +190,7 @@
<filter> <filter>
<artifact>*:*</artifact> <artifact>*:*</artifact>
<excludes> <excludes>
<exclude>META-INF/NOTICE</exclude>
<exclude>META-INF/NOTICE.TXT</exclude>
<exclude>META-INF/NOTICE.txt</exclude>
<exclude>META-INF/MANIFEST.MF</exclude> <exclude>META-INF/MANIFEST.MF</exclude>
<exclude>LICENSE.TXT</exclude>
</excludes> </excludes>
</filter> </filter>
</filters> </filters>
@ -210,6 +234,9 @@
</relocations> </relocations>
<transformers> <transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
<addHeader>false</addHeader>
</transformer>
</transformers> </transformers>
</configuration> </configuration>
</execution> </execution>

View File

@ -72,7 +72,11 @@
<!-- JCR modules --> <!-- JCR modules -->
<javax.jcr.version>2.0</javax.jcr.version> <javax.jcr.version>2.0</javax.jcr.version>
<!-- If you change the JCR OAK version, you may have to update the pom.xml in the module oak-jcr-lucene
to adapt to dependency changes -->
<jcr-oak.version>1.22.3</jcr-oak.version> <jcr-oak.version>1.22.3</jcr-oak.version>
<!-- Jackrabbit classes are still used for webdav --> <!-- Jackrabbit classes are still used for webdav -->
<jackrabbit.version>2.15.4</jackrabbit.version> <jackrabbit.version>2.15.4</jackrabbit.version>
<metrics-core.version>3.1.0</metrics-core.version> <metrics-core.version>3.1.0</metrics-core.version>