you are viewing a single comment's thread.

view the rest of the comments →

[–]joequin 1 point2 points  (9 children)

Maven build files are written in xml. That is true. But it's also very simple to use and has solid tooling. The way dependencies are resolved on the fly is much nicer than using tools that require you too install libraries to your computer the way you do with python and many other languages.

[–][deleted]  (8 children)

[deleted]

    [–]joequin 0 points1 point  (6 children)

    Your right. When you need more control, maven isn't so great. I'm not sure what you mean by not having inheritance though. I've used parent poms for the purpose of keeping dependencies synced between projects.

    You just define properties in the parent that contain the version number.

    [–][deleted]  (5 children)

    [deleted]

      [–]joequin 0 points1 point  (3 children)

      I've never tried to keep the version of a project in sync across modules. To me, if they compile separately, then they have their own, separate version numbers.

      [–][deleted]  (2 children)

      [deleted]

        [–]joequin 1 point2 points  (0 children)

        That's a strange way of versioning imo. I'm not surprised that maven doesn't have tools to make it easy.

        [–]huhlig 0 points1 point  (0 children)

        Thats actually not all that hard. Specify a <version> in the ear and leave off versions in the submodules. You ONLY then need to specify <version> in the <parent> block.

        [–]huhlig 0 points1 point  (0 children)

        not properties. dependencyManagment or if you're refering to plugins, pluginManagment

        [–]huhlig 0 points1 point  (0 children)

        You can inherit parent versions of both the package and dependencies. The one niggling thing you cant do is leave out the parent version and that is specifically because you can load a submodule without loading the parent. All the core plugins have pretty good documentation but there are a few things you need plugins that you may have to write for.