|Subject:||Re: [appfuse-issues] maven duplicates resources when building eclipse project|
|Date:||Jul 18, 2008 1:45:10 pm|
Matt - I understand that they would have overwritten any file that was there previously, but the fact that it actually went out to both servers and got the same file twice was my issue... the entire build time was 6 minutes and so many MB. It just seems unnecessarily redundant.
Has anything similar ever happened to you?
I'm willing to bet they haven't been downloaded twice, especially if they have the same name. If you look in your ~/.m2/repository directory, it's unlikely there's duplicate files as one would overwrite the other.
P.S. In the future, please send e-mails to the user list. This list is for JIRA notifications.
On Fri, Jul 18, 2008 at 12:40 PM, Dan_TT <bris...@gmail.com> wrote:
Okay - here's the situation: I used the AppFuse archetype 'appfuse-basic-struts' to generate a project using Maven 2. That worked great (except that the db creation failed since I had a password on the MySQL 'root' user account).
Anyway, after working out the db issue, I tried running it using 'mvn jetty:run-war' but Jetty either wasn't running or something because no pages were being displayed at localhost:8080. So I dropped the .war file into the Tomcat webapps directory and it worked fine (except that I still can't log into the app as 'admin' or 'user' but instead had to create my own account).
ANYway, I finally decided that I was ready to start extending the app in my own way. I ran the 'mvn eclipse:eclipse' goal to get it setup for eclipse, and I noticed that it was downloading a bucketload of jar files that seemed to be very similar. In fact, it was downloading (almost) everything twice: once from 'repo1.maven.org' and once from 'static.appfuse.org'. Here is a sample of the maven output:
I think the only reason why it didn't have to download every single one twice is that I already ran the eclipse goal on another basic project.
Is this the expected behavior? Why would it have to get everything twice - are the AppFuse versions somehow different from the ones hosted at maven.org?
Any insight appreciated, Dan
-- View this message in context: http://www.nabble.com/maven-duplicates-resources-when-building-eclipse-project-tp18535486s2369p18535486.html Sent from the AppFuse - Issues mailing list archive at Nabble.com.
View this message in context:
http://www.nabble.com/maven-duplicates-resources-when-building-eclipse-project-tp18535486s2369p18537421.html Sent from the AppFuse - Issues mailing list archive at Nabble.com.