- Code: Select all
<dependencies>
<dependency>
<groupId>org.docx4j</groupId>
<artifactId>docx4j</artifactId>
<version>2.6.0</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-vfs-patched</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-vfs-patched</artifactId>
<version>1.1a</version>
</dependency>
</dependencies>
In my opinion, patches versions should generally use derived version ids, e.g. 1.9.1-1.1a or the like.