-
Bug
-
Resolution: Fixed
-
Neutral
-
1.0
Hi,
First off, I'd like to say I really like the new archetypes, thanks a bunch.
One thing I noticed was that some of the project properties are not consistently named. For instance, the pom.xml file that gets generated when using project archetype contains the following properties:
pom.xml generated using project archetype
<properties> <magnoliaVersion>4.4.2</magnoliaVersion> <stkVersion>1.4.2</stkVersion> <javaVersion>1.5</javaVersion> </properties>
Whereas, the pom.xml file that gets generated when using the stk-theme archetype contains the following properties:
pom.xml generated using stk-theme archetype
<properties> <magnoliaVersion>4.4.2</magnoliaVersion> <magnoliaSTKVersion>1.4.2</magnoliaSTKVersion> </properties>
Note: stkVersion is define by one, and magnoliaSTKVersion is defined by the other.
Additionally, the javaVersion property is defined in the project pom, but in the pom.xml file that's generated by the module archetype, the values are hard-coded within the compiler plugin configuration:
pom.xml generated using module archetype
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> </plugins> ... </build>
Please let me know if you have any questions.
Thanks,
Matt
Acceptance criteria