Skip to content

ODF Validator dependency <type>pom</type> #212

@Asbjoedt

Description

@Asbjoedt

Hi

I couldn't get the ODF Validator dependency to resolve based on the Maven repository. It has this:

<!-- https://mvnrepository.com/artifact/org.odftoolkit/odfvalidator -->
<dependency>
    <groupId>org.odftoolkit</groupId>
    <artifactId>odfvalidator</artifactId>
    <version>0.11.0</version>
</dependency>

https://mvnrepository.com/artifact/org.odftoolkit/odfvalidator/0.11.0

I then found that the ODF Toolkit Maven repository has this:

<!-- https://mvnrepository.com/artifact/org.odftoolkit/odftoolkit -->
<dependency>
    <groupId>org.odftoolkit</groupId>
    <artifactId>odftoolkit</artifactId>
    <version>0.11.0</version>
    <type>pom</type>
</dependency>

https://mvnrepository.com/artifact/org.odftoolkit/odftoolkit/0.11.0

I tried to imitate this for ODF Validator, so I put in <type>pom</type> in the pom.xml dependency, and now the dependency has been resolved.

Is this right behaviour?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions