Riduidel / aadarchi

A maven archetype to generate easily projects allowing architecture description using a mix of C4, agile architecture, Asciidoc and PlantUML
https://riduidel.github.io/aadarchi/
Apache License 2.0
40 stars 12 forks source link

The archetype should double check the `aadarchi-version` param is present #317

Closed lhauspie closed 1 year ago

lhauspie commented 1 year ago

Executing this command works:

$ mvn archetype:generate -DarchetypeVersion=0.1.6 -DarchetypeGroupId=io.github.Riduidel.aadarchi -DarchetypeArtifactId=archetype

But the resulting pom.xml file contains UNDEFINED:

        <dependency>
            <groupId>io.github.Riduidel.aadarchi</groupId>
            <artifactId>base</artifactId>
            <version>UNDEFINED</version>
        </dependency>
        <dependency>
            <groupId>io.github.Riduidel.aadarchi</groupId>
            <artifactId>github-scm-handler</artifactId>
            <version>UNDEFINED</version>
        </dependency>
        <dependency>
            <groupId>io.github.Riduidel.aadarchi</groupId>
            <artifactId>adr-tickets-extractor</artifactId>
            <version>UNDEFINED</version>
        </dependency>
        <dependency>
            <groupId>io.github.Riduidel.aadarchi</groupId>
            <artifactId>maven-metadata-inferer</artifactId>
            <version>UNDEFINED</version>
        </dependency>
Riduidel commented 1 year ago

Fixed by #313 : this parameter is no more needed as we use the version defined in aadarchi directly