<commit_before># PDF Manipulation Utility

PDF Manipulation Utility (PDFMU) lets you perform the following operations
with PDF documents using command line interface:

* set PDF version
* set or clear properties
* attach a file
* add a digital signature
* display PDF version, properties and signatures

This project is maintained by [Hobrasoft s.r.o.](http://www.hobrasoft.cz/)

Homepage: [http://hobrasoft-cz.github.io/PDFMU/](http://hobrasoft-cz.github.io/PDFMU/)

Source code: [https://github.com/hobrasoft-cz/PDFMU](https://github.com/hobrasoft-cz/PDFMU)

Email: [<EMAIL>](mailto:<EMAIL>)

## Quick start in Windows

1. Download and install [JDK 7u80](http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html)
2. Download and install [NetBeans 8.1](https://netbeans.org/downloads/)
3. Run NetBeans
4. File > Open Project > "." (the root directory of this repository)
5. Run > Build Project (PDF Manipulation Utility)

An executable will be generated in "target/exe/pdfmu.exe".
Go to "target/exe" and run `pdfmu --help` to see the available operations.

## Software dependencies

* [JDK 7u80](http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html)
* [Maven](http://maven.apache.org/download.cgi) 3.3.3 (included in NetBeans)
* [NetBeans 8.1](https://netbeans.org/downloads/) (optional)

## Actions

All the paths mentioned below are relative to the repository root.

### Build for Windows using Maven

1. Go to "." in command line
2. `mvn package`

The resulting file is "target/exe/pdfmu.exe".

#### Skip tests

Maven automatically executes the tests during the build.
If you would prefer to omit executing the tests,
run `mvn package -Dmaven.test.skip=true`.

### Build a self-contained JAR using Maven

1. Go to "." in command line
2. `mvn package assembly:single`

The resulting file is "target/pdfmu-${version}-jar-with-dependencies.jar".

### Run the self-contained jar
<commit_msg>README: Improve instructions for skipping tests<commit_after># PDF Manipulation Utility

PDF Manipulation Utility (PDFMU) lets you perform the following operations
with PDF documents using command line interface:

* set PDF version
* set or clear properties
* attach a file
* add a digital signature
* display PDF version, properties and signatures

This project is maintained by [Hobrasoft s.r.o.](http://www.hobrasoft.cz/)

Homepage: [http://hobrasoft-cz.github.io/PDFMU/](http://hobrasoft-cz.github.io/PDFMU/)

Source code: [https://github.com/hobrasoft-cz/PDFMU](https://github.com/hobrasoft-cz/PDFMU)

Email: [<EMAIL>](mailto:<EMAIL>)

## Quick start in Windows

1. Download and install [JDK 7u80](http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html)
2. Download and install [NetBeans 8.1](https://netbeans.org/downloads/)
3. Run NetBeans
4. File > Open Project > "." (the root directory of this repository)
5. Run > Build Project (PDF Manipulation Utility)

An executable will be generated in "target/exe/pdfmu.exe".
Go to "target/exe" and run `pdfmu --help` to see the available operations.

## Software dependencies

* [JDK 7u80](http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html)
* [Maven](http://maven.apache.org/download.cgi) 3.3.3 (included in NetBeans)
* [NetBeans 8.1](https://netbeans.org/downloads/) (optional)

## Actions

All the paths mentioned below are relative to the repository root.

### Build for Windows using Maven

1. Go to "." in command line
2. `mvn package`

The resulting file is "target/exe/pdfmu.exe".

#### Skip tests

Maven automatically executes the tests during the build.
If you would prefer to omit executing the tests,
run `mvn package -DskipTests=true`.
If you wish to omit building the tests as well,
run `mvn package -Dmaven.test.skip=true` instead.

### Build a self-contained JAR using Maven

1. Go to "." in command line
2. `mvn package assembly:single`

The resulting file is "target/pdfmu-${version}-jar-with-dependencies.jar".

### Run the self-contained jar

{'fraction_non_alphanumeric': 0.12350894632206759, 'fraction_numerical': 0.018886679920477135, 'mean_word_length': 4.402684563758389, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, 'https://': 8, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '695608', 'n_tokens_mistral': 1380, 'n_tokens_neox': 1284, 'n_words': 422}