If mvn eclipse:eclipse doesn't work for you, you might want to try the
m2eclipse plugin.

http://m2eclipse.sonatype.org/

I recommend the "stable development builds" from
http://m2eclipse.sonatype.org/update-dev/.

Note: You should use eclipse:eclipse or m2eclipse, but not both.

Matt

On Tue, Dec 22, 2009 at 3:49 PM, veena pandit <v.kri...@gmail.com> wrote:
> Thanks,  that helped.  But I still have a problem because when I try to import
> it in eclipse it does not show up and I still have the problem from before,
> where the build in eclipse does not work.  Can you help?
>
> Thanks,
>
> Sonia
>
> On Tue, Dec 22, 2009 at 5:31 PM, Matt Raible <m...@raibledesigns.com> wrote:
>> Changing the maven-eclipse-plugin version from 2.7 to 2.5.1 should
>> solve this problem.
>>
>> On Tue, Dec 22, 2009 at 3:18 PM, veena pandit <v.kri...@gmail.com> wrote:
>>> Matt,
>>>
>>> When I try the same thing over again with a new project of the same 
>>> archetype
>>> appfuse-modular-jsf, now I am getting the following error:
>>>
>>> Request to merge when filtering is not identical.
>>>
>>> Do you know what this is?  I want to be able to do the same thing over and 
>>> over
>>> again without any errors.  I was able to build once, but not able to
>>> import the project
>>> into eclipse.  I forgot to check the copy into workspace box.  so the
>>> project did not
>>> get copied over.  Now I dont know how to show the project in eclipse.
>>>
>>> Thanks,
>>>
>>> Sonia
>>>
>>> On Tue, Dec 22, 2009 at 1:49 PM, Matt Raible <m...@raibledesigns.com> wrote:
>>>> Yes, the error is caused by what you sent earlier when the e-mail
>>>> fails to send b/c you don't have an SMTP server installed.
>>>>
>>>> On Tue, Dec 22, 2009 at 11:13 AM, veena pandit <v.kri...@gmail.com> wrote:
>>>>> Do you know what this error is?
>>>>>
>>>>> C:\eclipse\workspace\LogicModelModular\web\src\test\resources\web-tests.xml
>>>>> line 165
>>>>> Wrong document title found!  Expected value ".*Main Menu.*" but got
>>>>> "Sign Up | AppFuse"
>>>>>
>>>>> This is line 165 from the web-tests.xml:
>>>>>
>>>>>  <verifytitle description="view main menu"
>>>>> text=".*${mainMenu.title}.*" regex="true"/>
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Sonia
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Dec 22, 2009 at 12:48 PM, Matt Raible <m...@raibledesigns.com> 
>>>>> wrote:
>>>>>> Try increasing the size of memory available to Maven/Java.
>>>>>>
>>>>>> http://appfuse.org/display/APF/Maven+2#Maven2-TroubleshootingandotherTips
>>>>>>
>>>>>> On Tue, Dec 22, 2009 at 10:41 AM, veena pandit <v.kri...@gmail.com> 
>>>>>> wrote:
>>>>>>> I installed an SMTP server.  Now I get the following error:
>>>>>>>
>>>>>>> An Ant Build Exception has occured: The following error occured while
>>>>>>> executing this line:
>>>>>>>
>>>>>>> C:\eclipse\workspace\LogicModelModular\web\src\test\resources\web-tests.xml
>>>>>>> :105:
>>>>>>> Unexpected exception caught:
>>>>>>>
>>>>>>> On Tue, Dec 22, 2009 at 11:55 AM, Matt Raible <m...@raibledesigns.com> 
>>>>>>> wrote:
>>>>>>>> You need to install an SMTP server. org.apache.tools.ant.BuildException
>>>>>>>
>>>>>>> java heap space
>>>>>>>
>>>>>>> THis is what is in web-tests.xml:
>>>>>>>
>>>>>>>  <!-- Add a new user after logging in -->
>>>>>>>    <target name="AddUser" description="Adds a new user profile">
>>>>>>>        <webtest name="addUser">
>>>>>>>            &config;
>>>>>>> line 105        <steps>
>>>>>>>                &login;
>>>>>>>                <invoke description="View User List" 
>>>>>>> url="/admin/users.html"/>
>>>>>>>                <clickbutton description="Click 'Add' button'"
>>>>>>> label="${button.add}"/>
>>>>>>>
>>>>>>>                <verifytitle description="view user profile title"
>>>>>>> text=".*${userProfile.title}.*" regex="true"/>
>>>>>>>                <setinputfield description="set username"
>>>>>>> name="userForm:username" value="newuser"/>
>>>>>>>                <setinputfield description="set password"
>>>>>>> name="userForm:password" value="test"/>
>>>>>>>                <setinputfield description="set confirmPassword"
>>>>>>> name="userForm:confirmPassword" value="test"/>
>>>>>>>                <setinputfield description="set firstName"
>>>>>>> name="userForm:firstName" value="Test"/>
>>>>>>>                <setinputfield description="set lastName"
>>>>>>> name="userForm:lastName" value="Name"/>
>>>>>>>                <setinputfield description="set city"
>>>>>>> name="userForm:city" value="Denver"/>
>>>>>>>                <setinputfield description="select province"
>>>>>>> name="userForm:province" value="CO"/>
>>>>>>>                <setselectfield description="select country"
>>>>>>> name="userForm:country" value="US"/>
>>>>>>>                <setinputfield description="set postalCode"
>>>>>>> name="userForm:postalCode" value="80210"/>
>>>>>>>                <setinputfield description="set email"
>>>>>>> name="userForm:email" value="newu...@raibledesigns.com"/>
>>>>>>>                <setinputfield description="set website"
>>>>>>> name="userForm:website" value="http://raibledesigns.com"/>
>>>>>>>                <setinputfield description="set passwordHint"
>>>>>>> name="userForm:passwordHint" value="test"/>
>>>>>>>                <setcheckbox description="select roles"
>>>>>>> name="userForm:userRoles" checked="ROLE_USER"/>
>>>>>>>                <clickbutton label="${button.save}" description="Click
>>>>>>> button 'Save'"/>
>>>>>>>
>>>>>>>                <verifytitle description="view user list screen"
>>>>>>> text=".*${userList.title}.*" regex="true"/>
>>>>>>>                <verifytext description="verify success message" 
>>>>>>> regex="true"
>>>>>>>                    text='&lt;div class="message.*&gt;.*Test
>>>>>>> Name.*&lt;/div&gt;'/>
>>>>>>>
>>>>>>>
>>>>>>> It complains of a parse exception but it tells me line 105 is where
>>>>>>> the error occured.
>>>>>>>
>>>>>>> Thanks for your help.
>>>>>>>
>>>>>>> Sonia
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> http://appfuse.org/display/APF/Installing+an+SMTP+Server
>>>>>>>>
>>>>>>>> On Tue, Dec 22, 2009 at 9:53 AM, veena pandit <v.kri...@gmail.com> 
>>>>>>>> wrote:
>>>>>>>>> I changed the Tomcat version to 6.0.18 and it got past that point.
>>>>>>>>> Now I am getting an error as so:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Logout:
>>>>>>>>>
>>>>>>>>> PasswordHint:
>>>>>>>>> [INFO] [talledLocalContainer] DEBUG [http-8081-3] 
>>>>>>>>> PasswordHint.execute(39) | Pro
>>>>>>>>> cessing Password Hint...
>>>>>>>>> [INFO] [talledLocalContainer] ERROR [http-8081-3] MailEngine.send(80) 
>>>>>>>>> | Mail ser
>>>>>>>>> ver connection failed; nested exception is 
>>>>>>>>> javax.mail.MessagingException: Could
>>>>>>>>> not connect to SMTP host: localhost, port: 25 
>>>>>>>>> (java.net.SocketException: Permiss
>>>>>>>>> ion denied: connect)
>>>>>>>>>
>>>>>>>>> Signup:
>>>>>>>>> [INFO] [talledLocalContainer] DEBUG [http-8081-4] 
>>>>>>>>> SignupForm.sendUserMessage(210
>>>>>>>>> ) | sending e-mail to user [signup-u...@raibledesigns.com]...
>>>>>>>>> [INFO] [talledLocalContainer] ERROR [http-8081-4] MailEngine.send(80) 
>>>>>>>>> | Mail ser
>>>>>>>>> ver connection failed; nested exception is 
>>>>>>>>> javax.mail.MessagingException: Could
>>>>>>>>> not connect to SMTP host: localhost, port: 25 
>>>>>>>>> (java.net.SocketException: Permiss
>>>>>>>>> ion denied: connect)
>>>>>>>>> [INFO] 
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [ERROR] BUILD ERROR
>>>>>>>>> [INFO] 
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [INFO] An Ant BuildException has occured: The following error 
>>>>>>>>> occurred while exe
>>>>>>>>> cuting this line:
>>>>>>>>> C:\eclipse\workspace\LogicModelModular\web\src\test\resources\web-tests.xml:165:
>>>>>>>>>  Wrong document title found!. Expected value ".*Main Menu.*" but got 
>>>>>>>>> "Sign Up |
>>>>>>>>> AppFuse"
>>>>>>>>>
>>>>>>>>> [INFO] 
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [INFO] For more information, run Maven with the -e switch
>>>>>>>>> [INFO] 
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [INFO] Total time: 9 minutes 14 seconds
>>>>>>>>> [INFO] Finished at: Tue Dec 22 11:48:07 EST 2009
>>>>>>>>> [INFO] Final Memory: 54M/63M
>>>>>>>>> [INFO] 
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> C:\eclipse\workspace\LogicModelModular>
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>>
>>>>>>>>> Sonia
>>>>>>>>>
>>>>>>>>> On Tue, Dec 22, 2009 at 11:19 AM, Matt Raible 
>>>>>>>>> <m...@raibledesigns.com> wrote:
>>>>>>>>>> The reason this is happening is because Tomcat fails to download from
>>>>>>>>>> Cargo. There is an issue in 2.1.0-M1 with the 2.7 version of the
>>>>>>>>>> Eclipse plugin. Changing your pom.xml to use the 2.5.1 version seems
>>>>>>>>>> to fix this issue. You might try that.
>>>>>>>>>>
>>>>>>>>>> Matt
>>>>>>>>>>
>>>>>>>>>> On Tue, Dec 22, 2009 at 7:45 AM, veena pandit <v.kri...@gmail.com> 
>>>>>>>>>> wrote:
>>>>>>>>>>> There is no such directory maybe that is the problem.  I tried
>>>>>>>>>>> reinstalling tomcat manually and configured a CATALINA_HOME in my
>>>>>>>>>>> environment variables.  I keep getting the same error in eclipse 
>>>>>>>>>>> maven build.
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>>
>>>>>>>>>>> Sonia
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Dec 21, 2009 at 9:22 PM, Matt Raible 
>>>>>>>>>>> <m...@raibledesigns.com> wrote:
>>>>>>>>>>>> Delete C:\documents and settings\name\locals\Temp\cargo\installs 
>>>>>>>>>>>> and
>>>>>>>>>>>> try again or install Tomcat manually and configure a CATALINA_HOME 
>>>>>>>>>>>> in
>>>>>>>>>>>> your environment variables.
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Dec 21, 2009 at 6:34 PM, veena pandit <v.kri...@gmail.com> 
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>> ---------- Forwarded message ----------
>>>>>>>>>>>>> From: veena pandit <v.kri...@gmail.com>
>>>>>>>>>>>>> Date: Mon, Dec 21, 2009 at 8:32 PM
>>>>>>>>>>>>> Subject: error in mvn install:eclipse eclipse
>>>>>>>>>>>>> To: us...@appfuse.dev.java.ne
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> I get an error message for the archetype:
>>>>>>>>>>>>>
>>>>>>>>>>>>> appfuse-modular-jsf
>>>>>>>>>>>>>
>>>>>>>>>>>>> Error while expanding C:\documents and
>>>>>>>>>>>>> settings\name\locals\Temp\cargo\installs\apache-tomcat-6.0.20.zip
>>>>>>>>>>>>>
>>>>>>>>>>>>> java.io.IOException negative seek offset
>>>>>>>>>>>>>
>>>>>>>>>>>>> Help!
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Sonia
>>>>>>>>>>>>>
>>>>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>>>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>>>>>>>>>>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>>>>>>>>>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>>>>>>>>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>>>>>>>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>>>>>>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>>>>>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>>>>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>>>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to