| Issue 6: | web script packing: what is the correct way to pack them ? |
1 of 19
Next ›
|
| 1 person starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
What steps will reproduce the problem? 1. put webscripts into /src/main/resources/alfresco/extension/templates/webscripts/... 2. mvn package puts them into module-1.0.amp/lib/module-1.0.jar/alfresco/extension/templates/webscripts/... AND into module-1.0.amp/config/alfresco/extension/templates/webscripts/... Is it corrent, that the files end up in both places? Affected: amp version 2.0 (11.th Juli) |
||||||||||||
,
Jul 28, 2008
This can be solved by pom.xml configuration. Add to the maven-amp-plugin configuration a stricter configuration for the mAmpJarExcludes property, which excludes from the AMP created JAR not only alfresco/module package but also alfresco/extension (comma separated). See [1] for more info. If working, you can close the issue. [1] http://repository.sourcesense.com/maven2-sites/maven-amp-plugin/amp-mojo.html#mAmpJarExcludes |
|||||||||||||
,
Jul 28, 2008
The following works for me:
...<plugin>
<groupId>org.alfresco.maven.plugin</groupId>
<artifactId>maven-amp-plugin</artifactId>
<version>2.0.0</version>
<extensions>true</extensions>
<configuration>
<!-- exclude for inner JAR -->
<mAmpJarExcludes>alfresco/module/**, alfresco/extension/**,
alfresco/messages/**</mAmpJarExcludes>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
..
Thanks. Pls. close ticket (I don't see that option).
|
|||||||||||||
,
Aug 05, 2008
Can you commit the change here ? I scheduled the change for the 1.1 maintainance release.
Labels: Milestone-Release1.1
|
|||||||||||||
,
Aug 05, 2008
(No comment was entered for this change.)
Labels: Component-Amp-Archetype
|
|||||||||||||
|
|
|||||||||||||