Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No errors, and no groovydoc! #11

Open
tombensve opened this issue May 22, 2016 · 4 comments
Open

No errors, and no groovydoc! #11

tombensve opened this issue May 22, 2016 · 4 comments

Comments

@tombensve
Copy link

With the following maven config:

<build>
    <sourceDirectory>src/main/groovy</sourceDirectory>
    <testSourceDirectory>src/test/groovy</testSourceDirectory>

    <plugins>
        <plugin>
            <groupId>org.codehaus.gmaven</groupId>
            <artifactId>gmaven-plugin</artifactId>
            <version>1.5</version>
            <dependencies>
                <dependency>
                    <groupId>org.codehaus.groovy</groupId>
                    <artifactId>groovy-all</artifactId>
                    <scope>compile</scope>
                    <classifier>indy</classifier>
                    <version>2.4.6</version>
                </dependency>
            </dependencies>
            <executions>
                <execution>
                    <goals>
                        <!--<goal>addSources</goal>-->
                        <!--<goal>addTestSources</goal>-->
                        <goal>compile</goal>
                        <goal>testCompile</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>

        <plugin>
            <groupId>com.bluetrainsoftware.maven</groupId>
            <artifactId>groovydoc-maven-plugin</artifactId>
            <version>1.3</version>
            <executions>
                <execution>
                    <id>attach-docs</id>
                    <phase>package</phase>
                    <goals>
                        <goal>attach-docs</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
       ...

none of the groovy classes in src/main/groovy gets groovydoc:ed. I only get the index page and the frames.

I've tried to run this with both "mvn install" and with "mvn groovydoc:generate" and both have the same result.

@sgleske-ias
Copy link

This issue affects me. See #12 for a description of how.

@rvowles
Copy link
Owner

rvowles commented Nov 8, 2018

Have you considered using the gmavenplus plugin just for groovydoc?

@sgleske-ias
Copy link

I have, I started configuring it and the amount of dependencies it downloaded in addition to my normal build was pretty large. For now, I just disable doc generation and not worry about it. It's not public source code so really the docs were just for me (and maybe passersby).

@dave-griffiths
Copy link

Yeah, I get the same - empty output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants