[
https://issues.apache.org/activemq/browse/SM-1873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Freeman Fang resolved SM-1873.
------------------------------
Resolution: Fixed
apply patch on behalf of Stan Lewis with thanks
http://svn.apache.org/viewvc?rev=792367&view=rev
> GenerateServiceAssemblyMojo doesn't include any files created by a build such
> as resources
> ------------------------------------------------------------------------------------------
>
> Key: SM-1873
> URL: https://issues.apache.org/activemq/browse/SM-1873
> Project: ServiceMix
> Issue Type: Bug
> Components: tooling
> Affects Versions: jbi-maven-plugin-4.1
> Environment: Maven 2.1.0
> Reporter: Stan Lewis
> Assignee: Freeman Fang
> Priority: Minor
> Attachments: patch.txt
>
>
> I have an SA in which I want to include a .properties file that's been
> modified during the build using a filter, like:
> {code}
> <resources>
> <resource>
> <directory>${basedir}/src/main/resources</directory>
> <filtering>true</filtering>
> <includes>
> <include>**/*</include>
> </includes>
> </resource>
> </resources>
> {code}
> unfortunately the resulting build produces a .jar that contains my
> .properties file correctly filtered and a .zip that contains all my SUs. The
> .zip file should also contain my .properties file. Looking at the code it
> appears that GenerateServiceAssemblyMojo doesn't include the build output
> directory (target/classes) when creating the SA .zip file. I'll attach a
> patch for this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.