Maven <documentationFile> Issues

Hello, I’m very close to releasing a new build but having one problem, I can’t link to the documentation file for my project with the new maven stuff.

It says Verify license.html path, but the error is for the , i’m not having any problems linking to the license file. If I set to doc/ it will at least build, but I can’t upload it to the marketplace because it sees that the documentation file is missing.

I’ve tried putting the index.html file just about everywhere, in and out of doc folders and it still won’t work.

if I set to /doc when I try to view the documentation On the Module Configuration where all installed modules are listed I get an HTTP ERROR 404 that gives an java.io.IOException: Entry: “doc/doc/” not found.

kinda odd since I just specified doc/ not doc/doc/

Here is my time-build pom.xml file:

[code]<?xml version="1.0" encoding="UTF-8"?>

4.0.0

<parent>
    <artifactId>time</artifactId>
    <groupId>com.schrolltec.time</groupId>
    <version>1.8.0.1</version>
</parent>

<artifactId>time-build</artifactId>

<dependencies>
    <dependency>
        <groupId>com.schrolltec.time</groupId>
        <artifactId>time-client</artifactId>
        <version>1.8.0.1</version>
    </dependency>
    <dependency>
        <groupId>com.schrolltec.time</groupId>
        <artifactId>time-designer</artifactId>
        <version>1.8.0.1</version>
    </dependency>
</dependencies>

<build>
    <plugins>
        <plugin>
            <groupId>com.inductiveautomation.ignitionsdk</groupId>
            <artifactId>ignition-maven-plugin</artifactId>
            <version>1.0.8</version>

            <executions>
                <execution>
                    <phase>package</phase>
                    <goals>
                        <goal>modl</goal>
                    </goals>
                </execution>
            </executions>

            <configuration>
                <projectScopes>
                    <projectScope>
                        <name>time-client</name>
                        <scope>C</scope>
                    </projectScope>
                    <projectScope>
                        <name>time-designer</name>
                        <scope>CD</scope>
                    </projectScope>
                </projectScopes>

                <moduleId>com.schrolltec.time</moduleId>
                <moduleName>Time</moduleName>
                <moduleDescription>${project.description}</moduleDescription>
                <moduleVersion>1.8.0.1</moduleVersion>
                <requiredIgnitionVersion>7.8.0</requiredIgnitionVersion>
                <requiredFrameworkVersion>7</requiredFrameworkVersion>
                <licenseFile>license.html</licenseFile>
                <documentationFile>doc/index.html</documentationFile>

                <depends>
                    <depend>
                        <scope>D</scope>
                        <moduleId>fpmi</moduleId>
                    </depend>
                </depends>

                <hooks>
                    <hook>
                        <scope>D</scope>
                        <hookClass>com.schrolltec.time.designer.DesignerHook</hookClass>
                    </hook>
                </hooks>

            </configuration>
        </plugin>
    </plugins>
</build>
[/code]

Hopefully someone has an Idea of what I’m doing wrong, thanks!

Update your ignition-maven-plugin to version 1.0.9 and then make sure your documentationFile element looks like this:

<documentationFile>doc/index.html</documentationFile>

(and that you have an index.html)

That fixed it, Thanks!