THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
With a simple change in your Maven pom.xml file, you can get clean separation of the Java and HTML source directories. (The Java class and HTML markup are still in the same package, though, unless you also use one of the strategies mentioned above.unmigrated-wiki-markup
Code Block |
---|
<project> \[...\] <build> <resources> <resource> <directory>src/main/resources</directory> </resource> <resource> <directory>src/main/html</directory> </resource> </resources> \[...\] </build> \[...\] </project> |
Then, put all the HTML template files in:
<your-project>\src\main\resources\archetype-resources\src\main\html
...