On 1/5/07, viggo <[EMAIL PROTECTED]> wrote:
Great, it seems that the deletion of the Cargo project helped, thanks a lot matt :) ( I also got problems using JDK6, but I'm not sure if this is finger trouble, or an actual problem!)
I've seen issues with JDK 6: http://jira.codehaus.org/browse/MNG-2709
Another issue happened after that, but that's related to some database things, I get [INFO] Caught Exception Embedded error: user_role
Do you have the hibernate3 plugin defined in your pom? If so, make sure it looks as follows and you have a src/main/resources/hibernate.cfg.xml in your project. <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>dbunit-maven-plugin</artifactId> <version>1.0-beta-1-SNAPSHOT</version> <configuration> <driver>${jdbc.driverClassName}</driver> <username>${jdbc.username}</username> <password>${jdbc.password}</password> <url>${jdbc.url}</url> <sourceData>${basedir}/src/test/resources/sample-data.xml</sourceData> <sourceDataFormat>xml</sourceDataFormat> </configuration> <executions> <execution> <id>test-compile</id> <phase>test-compile</phase> <goals> <goal>clean-insert</goal> </goals> </execution> <execution> <!-- Runs before integration tests and jetty:run-war --> <id>test</id> <phase>test</phase> <goals> <goal>clean-insert</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>${jdbc.groupId}</groupId> <artifactId>${jdbc.artifactId}</artifactId> <version>${jdbc.version}</version> </dependency> </dependencies> </plugin> Matt
...which seems to be related to this issue: http://issues.appfuse.org/browse/APF-519 Matt Raible-3 wrote: > > You shouldn't have to install Cargo from source. I deleted Cargo from > appfuse.org/repository so hopefully that helps. > > Matt > > On 1/4/07, Viggo Navarsete <[EMAIL PROTECTED]> wrote: >> Great, I will try that :) >> Do I have to do any changes to the AppFuse configuration (pom.xml) as >> well? >> >> Viggo >> >> On 1/4/07, J. David Mendoza < [EMAIL PROTECTED]> wrote: >> > Hi, viggo... >> > >> > To get it working I had to install cargo from the source... >> > >> > Hope it helps... >> > >> > David M. >> > >> > From: viggo >> > To: users@appfuse.dev.java.net >> > Subject: Re: [appfuse-user] missing cargo-maven2-plugin >> > Date: Thu Jan 04 08:46:19 GMT 2007 >> > >> > >> > Hi Matt, >> > >> > and happy new year :) >> > >> > I tried to get AppFuse 2.0 up and running yesterday by following the >> > QuickStart Guide. I'm also getting the same error as David. I have >> tried >> > several times to run the target, but always with the same error. I have >> also >> > tried to clean my locale m2 repository, but with no luck :( >> > A question, why do AppFuse have an internal version of the >> > cargo-maven2-plugin at http://static.appfuse.org? Couldn't AppFuse use >> the >> > one located here? >> http://snapshots.repository.codehaus.org (perhaps a silly >> > questestion, but anyway;)) >> > >> > BR, >> > Viggo >> > >> > >> > Matt Raible-3 wrote: >> > > >> > > I'd try it again - sometimes artifacts take a couple tries to >> download. >> > > >> > > Matt >> > > >> > >> > > On 12/6/06, J. David Mendoza wrote: >> > >> >> > >> Just downloaded the appfuse in the svn repos... tried mvn >> > >> eclipse:eclipse -DdownloadSources=true and got >> > >> >> > >> >> > >> [INFO] >> > >> >> > >> >> ---------------------------------------------------------------------------- >> > >> [INFO] Building AppFuse JSF Module >> > >> [INFO] task-segment: [eclipse:eclipse] >> > >> [INFO] >> > >> >> > >> >> ---------------------------------------------------------------------------- >> > >> [INFO] Preparing eclipse:eclipse >> > >> [INFO] >> > >> >> ------------------------------------------------------------------------ >> > >> [ERROR] BUILD ERROR >> > >> [INFO] >> > >> >> ------------------------------------------------------------------------ >> > >> [INFO] Error building POM (may not be this project's POM). >> > >> >> > >> >> > >> Project ID: org.codehaus.cargo:cargo-maven2-plugin >> > >> >> > >> Reason: Error getting POM for >> 'org.codehaus.cargo:cargo-maven2-plugin' >> > >> from the repository: Failed to resolve artifact, possibly due to a >> > >> repository list that is not appropriately equipped for this >> artifact's >> > >> metadata. >> > >> >> org.codehaus.cargo:cargo-maven2-plugin:pom:0.3-SNAPSHOT >> > >> >> > >> from the specified remote repositories: >> > >> appfuse (http://static.appfuse.org/repository), >> > >> maven-snapshots >> (http://snapshots.repository.codehaus.org), >> > >> central (http://repo1.maven.org/maven2) >> > >> >> > >> What am I missing? >> > >> >> > >> David M. >> > >> >> > >> >> --------------------------------------------------------------------- >> > >> To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> > >> For additional commands, e-mail: [EMAIL PROTECTED] >> > >> >> > >> >> > > >> > > >> > > -- >> > > http://raibledesigns.com >> > > >> > > >> > >> > -- >> > View this message in context: >> http://www.nabble.com/missing-cargo-maven2-plugin-tf2770801s2369.html#a8155785 >> > Sent from the AppFuse - User mailing list archive at Nabble.com. >> > >> > >> --------------------------------------------------------------------- >> > To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/missing-cargo-maven2-plugin-tf2770801s2369.html#a8175957 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]