Skip to content

project does not build with mvn clean install #1

@davidmoten

Description

@davidmoten

There are two issues both preventing a build from command line with maven.

mvn clean install

URLUTF8Encoder has unmappable characters in the javadoc (the copyright characters) when the build is initiated from linux which has default encoding of UTF-8. Replace these with the \u code or with (C) or delete them. The other option is to set the encoding in the compiler plugin like this:

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>2.0.2</version>
            <configuration>
                <source>1.6</source>
                <target>1.6</target>
                <encoding>ISO-8859-1</encoding>
            </configuration>
        </plugin>
    </plugins>
</build>

There is one other problem with your project that prevents a proper build. You need to add xalan as a compile dependency (it already exists as a runtime dep but that is not enough):

    <!--  xalan  present as runtime dependency of opensaml but required for compile -->
    <dependency>
        <groupId>xalan</groupId>
        <artifactId>xalan</artifactId>
        <version>2.7.1</version>
    </dependency>
</dependencies>

Metadata

Metadata

Assignees

No one assigned

    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