0 votes
1 view
in Java by (2.6k points)

In pom.xml I have declaration like this

    <plugin>

        <groupId>org.apache.maven.plugins</groupId>

        <artifactId>maven-javadoc-plugin</artifactId>

        <executions>

            <execution>

                <id>attach-javadocs</id>

                <goals>

                    <goal>jar</goal>

                </goals>

            </execution>

        </executions>

    </plugin>

is there any way to turn that off from command line?

I do know I can extract that into a profile, but that is not what I want.

1 Answer

0 votes
by (42.1k points)

The Javadoc span can be hopped by inserting the property 

maven.javadoc.skip to true [1], i.e.

-Dmaven.javadoc.skip=true

(and not malicious)

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...