GitHub user CMoH opened a pull request:
https://github.com/apache/cxf/pull/138
Allow netbeans to recognize files generated by cxf-xjc-plugin
Netbeans expects generated sources to be placed in folder
`target/generated-sources/some-folder`, and recommends using the plugin-name
for the leaf folder (which appears in the IDE's source tree as a hint to which
plugin generated those sources).
The real fix here is that after opening the CXF sources in Netbeans, all
projects having CXF as maven dependency are no longer linked to the jars in the
maven repository, but to the CXF source tree. If generated sources are not
recognized by the IDE within CXF's source tree, uses of generated classes (such
as AuthenticationPolicy) generate an annoying false error alert.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/CMoH/cxf cxf-3.1.4-netbeans-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cxf/pull/138.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #138
----
commit 579e262ba1815ab16d27bff0c1aadc651b7a1882
Author: Ciprian Ciubotariu <[email protected]>
Date: 2016-05-24T20:46:20Z
Allow netbeans to recognize files generated by cxf-xjc-plugin
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---