[
http://jira.codehaus.org/browse/MOJO-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=150950#action_150950
]
Martin Thelian commented on MOJO-1248:
--------------------------------------
The problem seems to be that the plugin assumes that the converted resources
should always be included into the root of the project jar:
|> Resource resource = new Resource();
|> resource.setDirectory( dest.getPath() );
|> this.project.addResource( resource );
But in my situation I need to have it under /OSGI-INF/l10n/.
> Converted Resources added twice into jar
> ----------------------------------------
>
> Key: MOJO-1248
> URL: http://jira.codehaus.org/browse/MOJO-1248
> Project: Mojo
> Issue Type: Bug
> Components: native2ascii
> Reporter: Martin Thelian
>
> I'm using the following definitions in my project:
> <resources>
> <resource>
> <directory>src/main/resources</directory>
> <excludes>
> <exclude>**/l10n/*</exclude>
> </excludes>
> </resource>
> <resource>
> <directory>target/native2ascii</directory>
> </resource>
> </resources>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>native2ascii-maven-plugin</artifactId>
> <executions>
> <execution>
> <goals>
> <goal>native2ascii</goal>
> </goals>
> <configuration>
> <src>src/main/resources/OSGI-INF/l10n/</src>
>
> <dest>target/native2ascii/OSGI-INF/l10n/</dest>
> <encoding>UTF8</encoding>
> <ext>.properties</ext>
> </configuration>
> </execution>
> </executions>
> </plugin>
> The problem is that the converted files are not only stored into
> target/native2ascii/OSGI-INF/l10n/ but are also available under
> target/classes/ and therefore added twice into the generated 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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email