Hi,
Can you run a plain Maven build in the command line? Is this a
Maven/pom.xml problem or a NetBeans problem?
If your objective is to build JavaCC from source, I don't think messing
with the pom.xml (as retrieved from github's master branch) is a good idea.
I imagine the JavaCC people have a proper "pom.xml" file in their master
branch. Just clone the repo and import it in NetBeans, then "Clean &
Build" should do the job for you.
Cheers,
Antonio
On 01/06/18 19:20, Peter Nabbefeld wrote:
Hello,
I cloned JavaCC from "https://github.com/javacc/javacc.git" and tried to
build it with NB 9.0 RC1. Of course, I first set the source/target
versions to 1.8.
[1] The source hierarchy looks a bit suspicious, most probably because
of several entries like the following in pom.xml:
<sourceDirectory>src</sourceDirectory>
As I've never used those (to be honest, most changes I do in the
POM are just adding copied dependencies), I don't know how to fix these.
As I'm seeing Eclipse project files, I'd guess, that it handles them
differently.
[2] As a result of the mal-configured hierarchy, packages are
incorrectly interpreted by NB.
Usually, I'd guess the build file is correct, but IMHO maven should be
able to build the project then without worrying, if NB interpretes the
files correctly. So, could anybody tell me how to fix the build problems?
Kind regards
Peter
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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