Re: Importing minuteproject in Eclipse IDE

189 views
Skip to first unread message

Florian Adler

unread,
Oct 23, 2013, 2:48:59 PM10/23/13
to Aitor Rente, minute...@googlegroups.com
Hello Aitor,

'Is there any documentation/recomendation about importing the maven project generated with Minute Project 4 into Eclipse IDE?'

No, probably mvn eclipse:eclipse should be sufficient to get the project structure for eclipse.
I most of the time run the command line only: mvn clean package 

Could you try with a command line?
STS Eclipse distrib contains maven plugin embedded or Netbeans.
Personally Intellij is quite handy.

Regarding minuteproject 4 Primefaces, two tracks are delivered one with JEE (EJB/JPA backend) and the other with Spring/JPA backend.
The more advanced is minuteproject 4 Primefaces spring (http://minuteproject.wikispaces.com/primefaces-Spring). It is this sample that runs on cloudbees (http://petshopapp.minuteproject.cloudbees.net/). 
And a new release version is planned within 2 weeks.

Those samples can be generated from the distribution or you can download the sample at http://sourceforge.net/projects/minuteproject/files/0.8/0.8.4/demo-src-generated-0.8.4.zip/download
When you unzip the folder Primefaces-JEE and Primefaces-Spring holds the maven projects

Primefaces-JEE holds 2 projects (mvn)
- JPA2
- JSF (+EJB)

Primefaces-Spring holds 3 projects (mvn)
- JPA2
- BSLA (spring dao)
- JSF

I agree that some documentation update is needed.

Best regards,

Florian.

2013/10/23 Aitor Rente <aitor...@gmail.com>
Hello,

Is there any documentation/recomendation about importing the maven project generated with Minute Project 4 into Eclipse IDE?

I'm trying with the JSF+Primefaces demo (http://minuteproject.wikispaces.com/Primefaces) but when I try to Import > Existing Maven Projects and select the pom in the parent folder it throws me two errors:
1) No marketplace entries found to handle maven-apt-plugin:1.0:process in Eclipse. 
2) No marketplace entries found to handle maven-dependency-plugin:2.1:copy in Eclipse. 

And if I continue with the "Resolve later" option marked I obtain 3 projects in the workspace instead of the structure shown in the documentation (http://minuteproject.wikispaces.com/file/view/demo-petshop-JSF-mvn-structure.png/243884827/demo-petshop-JSF-mvn-structure.png)

As far I have look for the error on Internet it appears to be a problem with the plugin m2e (maven to eclipse) but I don't know how to resolve it. Any information will be appreciate, or let me know al least what IDE have you used.

Best Regards

Sacky San

unread,
Feb 28, 2016, 7:56:24 PM2/28/16
to minuteproject, aitor...@gmail.com
I generated the three  projects for Primefaces-Spring
- JPA2
- BSLA (spring dao)
- JSF

I imported them in eclipse as maven project and ran build with target "clean package". It generated one war file in each project.
Now how do i host them on Tomcat or WAS liberty server?

Reply all
Reply to author
Forward
0 new messages