Right.

1) get an example
2) mvn clean
3) mvn clean compile
3) mvn clean compile package
4) mvn clean compile package install

you can keep only "clean" and "the last command on he row", the intermediate ones are implied.

welcome on maven !

    Davide

--
ing. Davide Grandi
email    :davide.gra...@email.it
linkedin :http://linkedin.com/in/davidegrandi

On 03/06/2024 05:18, Tilman Hausherr wrote:
That's not helpful, because it's about syntax details, google "maven beginners" or "maven tutorial" and choose one that makes sense.

This one is not bad: https://www.baeldung.com/maven

(my first hits were on the apache site but these seemed too complex, despite that I've been using maven for years)

Tilman

On 03.06.2024 04:11, slipbits wrote:

I'm just getting into Maven and I'm trying to find a good book that describes the POM and Maven. I'm just going through the Apache Maven Project POM reference and things like:

    According to the POM 4.0.0 XSD, the |build| element is
    conceptually divided into two parts: there is a |BaseBuild| type
    which contains the set of elements common to both |build|
    elements (the top-level build element under |project| and the
    build element under |profiles|, covered below); and there is the
    |Build| type, which contains the |BaseBuild| set as well as more
    elements for the top level definition. Let us begin with an
    analysis of the common elements between the two.

are a real puzzler.

If this isn't the correct place to ask then please direct me to the correct source.

thanks

Reply via email to