On 1/20/07, jarmstrong <[EMAIL PROTECTED]> wrote:

There we go 1.0-m3-SNAPSHOT works. Is m2 broken, or just broken for me? :) I
was trying to hold off on M3 until     it was released.

FYI, i am running XP SP2; IE6 SP2;  JDK 1.6.0; .NET 1.0; .NET 2.0
Intel P4 3.0ghz , 4 gigs ram

The problem might be related to JDK 6.  I found the following bug with
Maven and JDK 6.

http://jira.codehaus.org/browse/MNG-2709

FWIW, I'm hoping to work on and release M3 at the end of next week. My
company closed down[1]
last week, so I have lots of free time. ;-)

Major things to do for M3: Plugin (AppGen), XFire and documentation.

Matt

1. http://raibledesigns.com/page/rd?entry=the_adventure_is_over




Let me know if you are interested in any of the other configuration details
of my system.



Matt Raible-3 wrote:
>
> You could try using the 1.0-m3-SNAPSHOT version of the archetype - it
> already has this fix in it.
>
> What OS are you using?  I can't seem to reproduce this on OS X or XP.
>
> Matt
>
> On 1/20/07, jarmstrong <[EMAIL PROTECTED]> wrote:
>>
>> Ok, sorry for needed this explained, but what pom.xml file should this go
>> in?
>> I added it to web/pom.xml where the plugin was specified (as i could not
>> find a dependancy reference anywhere), but it did not correct the
>> problem.
>>
>> So if this dependancy was present before i cleaned out my local mvn Repo,
>> why is it not downloading the dependancy now?
>>
>>
>> Matt Raible-3 wrote:
>> >
>> > Adding <version>0.2</version> to the Cargo Maven Plugin configuration
>> > should help.  Also, Mike logged the following issue last week - this
>> > might help.
>> >
>> > http://issues.appfuse.org/browse/APF-580
>> >
>> > Matt
>> >
>> > On 1/20/07, jarmstrong <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Ok, well if i go back and run install -N again everything else is
>> still
>> >> the
>> >> same. Does anyone have an idea why it can't find the
>> carg-maven2-plugin
>> >> snapshots now?
>> >>
>> >>
>> >>
>> >> Michael Horwitz wrote:
>> >> >
>> >> > On 1/20/07, jarmstrong <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >>
>> >> >> Alright, here is what i did, and the results.
>> >> >>
>> >> >> 1) deleted everything from my ~/.m2/repository
>> >> >> 2) ran the command exactly like you
>> >> >> 3) Receive many "warnings" regarding
>> archetype-resources/core/pom.xml
>> >> >> 4) cd modular-struts
>> >> >> 5) mvn install -N
>> >> >> 6) "BUILD SUCCESSFUL"
>> >> >> 7) edit pom.xml > change MySQL Root password to XXXXXXX
>> >> >
>> >> >
>> >> > You would need to do (7) before running mvn install -N  if you have
>> a
>> >> root
>> >> > password set on MySql.
>> >> >
>> >> > 8) cd core
>> >> >> 7) mvn install
>> >> >> 9) "Error executing database operation: CLEAN_INSTALL"
>> >> >> 9) "error creating user_role"
>> >> >> 10) mvn hibernate3:hbm2ddl
>> >> >> 11) "BUILD SUCCESSFUL"
>> >> >> 12) mvn install
>> >> >> 13) "BUILD SUCCESSFUL"
>> >> >> 14) cd ../web/
>> >> >> 15) mvn jetty:run-war
>> >> >> 16) "BUILD ERROR"
>> >> >> 16) "Error building POM"
>> >> >> 16) "Project ID: org.codehaus.cargo:cargo-maven2-plugin"
>> >> >> 16) "Reason: Error getting POM for
>> >> >> 'org.codehaus.cargo:cargo-maven2-plugin
>> >> >> '"
>> >> >>
>> >> >> Config: (Windows XP)
>> >> >> c:\tools\maven (version 2.0.4)
>> >> >> c:\tools\junit4.1
>> >> >> c:\SDKs\jdk1.6.0\
>> >> >> c:\program files\mysql\ (version)
>> >> >>
>> >> >>
>> >> >> On 1/20/07, jarmstrong <[EMAIL PROTECTED]> wrote:
>> >> >> >
>> >> >> > Matt,
>> >> >> >
>> >> >> > Yes, I am using the modular archetype. I i did 'cd core' then
>> 'mvn
>> >> >> > hibernate3:hbm2ddl' and it errored with the following: 'The
>> dialect
>> >> was
>> >> >> > not
>> >> >> > set. Set the property hibernate.dialect' In the
>> >> /project/core/pom.xml
>> >> >> > there
>> >> >> > is not a hibernate.dialect but it is defined in /project/pom.xml
>> >> file.
>> >> >> Is
>> >> >> > it
>> >> >> > not inheriting this declaration/do I have to move it?
>> >> >>
>> >> >> You may have to run "mvn install -N" from the top-level directory
>> >> >> first? You should be able to 1) create the archetype and 2) run
>> "mvn"
>> >> >> from the top-level directory.  It'll run all the unit tests (and
>> >> >> integration tests in Tomcat).
>> >> >>
>> >> >> I just tried it with the following command from the QuickStart
>> Guide
>> >> >> and it seems to work.
>> >> >>
>> >> >> mvn archetype:create -DarchetypeGroupId=org.appfuse
>> >> >> -DarchetypeArtifactId=appfuse-modular-struts
>> >> >> -DremoteRepositories=http://static.appfuse.org/repository
>> >> >> -DarchetypeVersion=1.0-m2 -DgroupId=com.mycompany
>> >> >> -DartifactId=modular-struts
>> >> >>
>> >> >> [INFO]
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> [INFO] Reactor Summary:
>> >> >> [INFO]
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> [INFO] AppFuse Modular Application ...........................
>> SUCCESS
>> >> >> [11.962s][INFO] AppFuse Modular Application - Core
>> >> >> .................... SUCCESS [13.936s][INFO] AppFuse Modular
>> >> >> Application - Web (Struts 2) .......... SUCCESS [1:21.857s]
>> >> >> [INFO]
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> [INFO]
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> [INFO] BUILD SUCCESSFUL
>> >> >> [INFO]
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> [INFO] Total time: 1 minute 48 seconds
>> >> >> [INFO] Finished at: Sat Jan 20 13:27:36 MST 2007
>> >> >> [INFO] Final Memory: 47M/508M
>> >> >> [INFO]
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> alotta:~/modular-struts mraible$
>> >> >>
>> >> >> Matt
>> >> >>
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> 
http://www.nabble.com/Problem-creating-Basic-struts2-tf3038417s2369.html#a8469175
>> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> 
http://www.nabble.com/Problem-creating-Basic-struts2-tf3038417s2369.html#a8469600
>> >> 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/Problem-creating-Basic-struts2-tf3038417s2369.html#a8469966
>> 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/Problem-creating-Basic-struts2-tf3038417s2369.html#a8470201
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]

Reply via email to