Naman Nigam created MJDEPS-10:
---------------------------------

             Summary: Error: unknown option: -M while using module option of 
maven-jdeps-plugin
                 Key: MJDEPS-10
                 URL: https://issues.apache.org/jira/browse/MJDEPS-10
             Project: MJDEPS
          Issue Type: Bug
            Reporter: Naman Nigam


Moving this from 
[StackOverflow#46727928](https://stackoverflow.com/questions/46727928/error-unknown-option-m-while-using-module-option-of-maven-jdeps-plugin)

Using minimal pom.xml with Java9 as -
    <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-jdeps-plugin</artifactId>
            <version>3.1.0</version>
            <configuration>
                <module>true</module>
            </configuration>
            <executions>
                <execution>
                    <goals>
                        <goal>jdkinternals</goal> <!-- verify main classes -->
                        <goal>test-jdkinternals</goal> <!-- verify test classes 
-->
                    </goals>
                </execution>
            </executions>
        </plugin>

Results into 
bq. Error: unknown option: -M
bq. Usage: jdeps <options> <path ...>]
bq. use -h, -?, -help, or --help for a list of possible options



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to