DPascalBernard / maven-alfresco-archetypes

Automatically exported from code.google.com/p/maven-alfresco-archetypes
0 stars 0 forks source link

Can't edit file-mapping.properties #172

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create an AMP using 
mvn archetype:generate -DarchetypeGroupId=org.alfresco 
-DarchetypeArtifactId=maven-alfresco-amp-archetype \
-DarchetypeVersion=3.9.1 -DgroupId=com.someco -DartifactId=someco-repo 
-Dversion=1.0-SNAPSHOT \
-DarchetypeRepository=https://artifacts.alfresco.com/nexus/content/repositories/
releases -DinteractiveMode=false
2. Create the /file-mapping.properties in your project. Add a line inside (for 
exemple : "/web/components=/components")
3.Run "mvn clean install"

What is the expected output? What do you see instead?
In the generate AMP, the file-mapping.properties do not contain my 
modification. Instead I always have the same line
"
# Add mapping for /WEB-INF/, since MMT doesn't support it by default
/web/WEB-INF=/WEB-INF
"

What version of the product are you using? On what operating system?
Alfresco 4.2c
Maven 3.1.1
Amp artifact : 3.9.1
Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by vlebor...@gmail.com on 12 Dec 2013 at 2:25

GoogleCodeExporter commented 8 years ago
Try putting your file-mapping.properties in src/main/amp.

Original comment by ray.ga...@alfresco.com on 12 Dec 2013 at 2:35

GoogleCodeExporter commented 8 years ago
I put my file-mapping.properties in src/main/amp but the result is the same.
Note the generated archetype (3.9.1) is not having the same as you descibe in 
https://artifacts.alfresco.com/nexus/content/groups/public/alfresco-lifecycle-ag
gregator/latest/archetypes/alfresco-amp-archetype/usage.html

I have:
-src/main
--webapp
--config
--resources

Original comment by vlebor...@gmail.com on 12 Dec 2013 at 3:00

GoogleCodeExporter commented 8 years ago
Is there a reason you can't use the latest?

Original comment by ray.ga...@alfresco.com on 12 Dec 2013 at 3:07

GoogleCodeExporter commented 8 years ago
Docs on how to start with the latest archetypes

http://docs.alfresco.com/4.2/topic/com.alfresco.enterprise.doc/tasks/dev-extensi
ons-maven-getting-started.html

Original comment by maurizio...@alfresco.com on 12 Dec 2013 at 3:11

GoogleCodeExporter commented 8 years ago
Thanks a lot. It's Ok with the last version. It can be nice to update 
http://wiki.alfresco.com/wiki/Maven_For_Dummies page

Original comment by vlebor...@gmail.com on 16 Dec 2013 at 5:21

GoogleCodeExporter commented 8 years ago
Hi, 

being the wiki public, can I ask you to volunteer to clean up that page? :)

Thanks! 

Original comment by colum...@gmail.com on 16 Dec 2013 at 11:49