Skip to content

Commit

Permalink
Now distributed with install scripts and other utility scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
essiembre committed Apr 13, 2017
1 parent 077cb86 commit 97d5d20
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 3 deletions.
3 changes: 3 additions & 0 deletions norconex-committer-core/TODO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

- Create a Spreadsheet Committer, with support for how to join multi-values.

- Create a new committer that saves docs to a flat file. XML and/or Json.
With option to break into numbered file after X bytes or X docs.

- Add committer server

- Add chainable committers??
36 changes: 34 additions & 2 deletions norconex-committer-core/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright 2014-2016 Norconex Inc.
Copyright 2014-2017 Norconex Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -56,6 +56,14 @@
<artifactId>norconex-commons-lang</artifactId>
<version>1.13.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.norconex.commons</groupId>
<artifactId>norconex-commons-lang</artifactId>
<version>1.13.0-SNAPSHOT</version>
<classifier>resources</classifier>
<type>zip</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down Expand Up @@ -250,6 +258,9 @@
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
<excludes>
<exclude>THIRD-PARTY.txt</exclude>
</excludes>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -306,7 +317,28 @@
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>unpack-shared-resources</id>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<classifier>resources</classifier>
<outputDirectory>${project.build.directory}/shared-resources</outputDirectory>
<includeArtifacIds>norconex-commons-lang</includeArtifacIds>
<includeGroupIds>com.norconex.commons</includeGroupIds>
<excludeTransitive>true</excludeTransitive>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down
3 changes: 3 additions & 0 deletions norconex-committer-core/src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
<action dev="essiembre" type="add">
Added schema-based XML configuration validation.
</action>
<action dev="essiembre" type="add">
Now distributed with install scripts and other utility scripts.
</action>
<action dev="essiembre" type="update">
XML configuration entries expecting millisecond durations
can now be provided in human-readable format
Expand Down
10 changes: 9 additions & 1 deletion norconex-committer-core/src/main/assembly/dist.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright 2010-2014 Norconex Inc.
Copyright 2010-2017 Norconex Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -38,6 +38,14 @@
<directory>${project.build.directory}/generated-resources</directory>
<outputDirectory>third-party</outputDirectory>
</fileSet>
<fileSet>
<directory>${project.build.directory}/shared-resources</directory>
<excludes>
<exclude>scripts/decrypt*</exclude>
<exclude>scripts/encrypt*</exclude>
</excludes>
<outputDirectory>/</outputDirectory>
</fileSet>
<fileSet>
<directory>${project.build.directory}/generated-sources/license</directory>
<includes>
Expand Down

0 comments on commit 97d5d20

Please sign in to comment.