[
https://issues.apache.org/jira/browse/NETBEANS-6163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17472445#comment-17472445
]
Steven Swor edited comment on NETBEANS-6163 at 1/11/22, 4:28 AM:
-----------------------------------------------------------------
There's a similar issue with openapi-generator-maven-plugin... it generates a
full maven/gradle project structure under generated-sources (with both a
build.gradle *and* a pom.xml). In that setup, netbeans completely barfs on the
generated sources and doesn't render them at all in the projects window.
{quote}
In any case, netbeans shouldn't try to second guess the maven project
configuration, but rather tap into the maven model intercepting the source
roots during a 'priming build'.
{quote}
I believe this should fix the issue with the openapi generator plugin as well.
was (Author: sworisbreathing):
There's a similar issue with openapi-generator-maven-plugin... it generates a
full maven/gradle project structure under generated-sources (with both a
build.gradle *and* a pom.xml). In that setup, netbeans completely barfs on the
generated sources and doesn't render them at all.
{quote}
In any case, netbeans shouldn't try to second guess the maven project
configuration, but rather tap into the maven model intercepting the source
roots during a 'priming build'.
{quote}
I believe this should fix the issue with the openapi generator plugin as well.
> Maven does not set generated source roots correctly
> ---------------------------------------------------
>
> Key: NETBEANS-6163
> URL: https://issues.apache.org/jira/browse/NETBEANS-6163
> Project: NetBeans
> Issue Type: Bug
> Components: projects - Maven
> Reporter: Martin Entlicher
> Assignee: Martin Entlicher
> Priority: Major
> Labels: pull-request-available
> Fix For: Next
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> Clone and build [https://github.com/dsyer/native-image-debug]
> Open the project in NetBeans and see that under {{Generated Sources}} there
> are packages like: {{src.main.java.org.springframework.aot}}, etc.
> The initial {{src/main/java}} should not be included in the source root.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists