AnsweredAssumed Answered

problems to use Maven Alfresco SDK

Question asked by nancygaillard on Dec 26, 2014
Latest reply on Dec 30, 2014 by nancygaillard
Hi,

I test Alfresco SDK using the ECMarchitect tutorial http://ecmarchitect.com/alfresco-developer-series-tutorials/maven-sdk/tutorial/tutorial.html#introduction

Config :
Alfresco Community 4.2.e
Windows 7 x 64bits
Java 1.7.0_60
Maven 3.2.3

That I've done :
1) I have installed maven and it works (I can do mvn -version)
2) Create an empty directory : (in C:/Users/ngaillard I created "maven")
3) In the terminal, I typed "mvn archetype:generate -DarchetypeCatalog=https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml -Dfilter=org.alfresco.maven.archetype:"
4) I added asked informations : the archetype that I chosen is the 1.1.1
5) my project is created and I added in my C:/Users/ngaillard/maven/someco-mvn-tutorial-repo/pom.xml a goal like this :

between the "parent" tag and  the "properties" tag I added
<blockcode>
   <build>
      <defaultGoal>install</defaultGoal>
   </build>
</blockcode>

6) I stopped my tomcat [worked on the 8081 port]
7) I type in the terminal "cd someco-mvn-tutorial-repo" then "mvn integration-test -Pamp-to-war -Dmaven.tomcat.port=8081"

the script works until a http-bio-8081


* I would like show my errors but I don't succeed to copy the terminal error lines. I tested mvn integration-test -Pamp-to-war -Dmaven.tomcat.port=8081 -e -X > log.txt" but the document doesn't contain the java errors….
So if somebody could help me to share my errors, I am here!

Perhaps I haven't proceed in a good way, please, what is wrong?

Outcomes