[ http://jira.codehaus.org/browse/ARCHETYPE-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_89127 ]
Wendy Smoak commented on ARCHETYPE-62: -------------------------------------- The package.html file is being excluded by maven-jar-plugin. http://maven.apache.org/plugins/maven-jar-plugin/xref/org/apache/maven/plugin/jar/AbstractJarMojo.html 39 private static final String[] DEFAULT_EXCLUDES = new String[]{"**/package.html"}; ... 152 archiver.getArchiver().addDirectory( contentDirectory, DEFAULT_INCLUDES, DEFAULT_EXCLUDES ); It does not appear to be configurable. > Allow Non-Java Resources in sources/testSources to be included in an archetype > ------------------------------------------------------------------------------ > > Key: ARCHETYPE-62 > URL: http://jira.codehaus.org/browse/ARCHETYPE-62 > Project: Maven Archetype > Issue Type: Improvement > Affects Versions: 1.0-alpha-4 > Reporter: Martin Ahrer > > A Java source folder may contain non Java resources such as JavaDoc > package.html etc. > <sources> > <source>src/main/java/App.java</source> > <source>src/main/java/package.html</source> > </sources> > <testSources> > <source>src/test/java/AppTest.java</source> > <source>src/main/java/package.html</source> > </testSources> > Currently when specifying non Java resources they don't get distributed in > the packaged archetype jar. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira