Can you try running "mvn install" from the top level, and then running
"mvn eclipse:eclipse" after that?

Matt

On 1/11/07, Jaymin Shah <[EMAIL PROTECTED]> wrote:

Matt,

Thanks for all your help and information.

My internet issue is resolved and it seems that connection is much stable. I
have created the project using the Archetype "Struts 2 Modular" with
following command.

mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=ap
pfuse-modular-struts
-DremoteRepositories=http://static.appfuse.org/repository -
DarchetypeVersion=1.0-SNAPSHOT -DgroupId=com.realsoftinc
-DartifactId=RealTrade

It has crated the Project folder with required files. I then executed "mvn
eclipse:eclipse" to create Eclipse Project. The build process has failed
with following error.

F:\RealTrade>mvn eclipse:eclipse
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   AppFuse Modular Application
[INFO]   AppFuse Modular Application - Core
[INFO]   AppFuse Modular Application - Web (Struts 2)
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building AppFuse Modular Application
[INFO]    task-segment: [eclipse:eclipse]
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse]
[INFO] Not running eclipse plugin goal for pom project
[INFO]
----------------------------------------------------------------------------
[INFO] Building AppFuse Modular Application - Core
[INFO]    task-segment: [eclipse:eclipse]
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse]
[INFO] Using source status cache:
F:\RealTrade\target\mvn-eclipse-cache.properties
[INFO] Wrote settings to
F:\RealTrade\core\.settings\org.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for "RealTrade-core" to F:\RealTrade\core.
[INFO]
       Sources for some artifacts are not available.
       Please run the same goal with the -DdownloadSources=true parameter in
order to check remote repositories for sources.
       List of artifacts without a source archive:
         o dom4j:dom4j:1.6.1
         o asm:asm-attrs:1.5.3
         o org.acegisecurity:acegi-security:1.0.3
         o org.appfuse:appfuse-data-common:2.0-20070108.214949-25
         o javax.activation:activation:1.1
         o org.hibernate:hibernate:3.2.1.ga
         o mysql:mysql-connector-java:5.0.3
         o org.subethamail:subethasmtp-smtp:1.0.3
         o velocity:velocity-dep:1.4
         o jmock:jmock:1.1.0
         o commons-codec:commons-codec:1.3
         o log4j:log4j:1.2.13
         o junit:junit:3.8.2
         o commons-beanutils:commons-beanutils:1.7.0
         o commons-collections:commons-collections:3.1
         o velocity:velocity:1.4
         o javax.mail:mail:1.4
         o org.appfuse:appfuse-service:2.0-20070108.214949-23
         o antlr:antlr:2.7.6
         o org.subethamail:subethasmtp-wiser:1.0.3
         o asm:asm:1.5.3
         o javax.transaction:jta:1.0.1B
         o oro:oro:2.0.8
         o net.sf.ehcache:ehcache:1.2.4
         o commons-lang:commons-lang:2.1
         o org.hibernate:hibernate-annotations:3.2.1.ga
         o javax.persistence:persistence-api:1.0
         o org.springframework:spring:2.0.1
         o aspectj:aspectjweaver:1.5.3
         o org.appfuse:appfuse-hibernate:2.0-20070108.214949-25
         o cglib:cglib:2.1_3
         o commons-logging:commons-logging:1.1
         o org.springframework:spring-mock:2.0.1
         o org.acegisecurity:acegi-security-tiger:1.0.3

[INFO]
----------------------------------------------------------------------------
[INFO] Building AppFuse Modular Application - Web (Struts 2)
[INFO]    task-segment: [eclipse:eclipse]
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
Downloading:
http://repo1.maven.org/maven2/com/realsoftinc/RealTrade-core/1.0-SNAPSHOT/RealTrade-core-1.0-SNAPSHOT.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading:
http://static.appfuse.org/repository/com/realsoftinc/RealTrade-core/1.0-SNAPSHOT/RealTrade-core-1.0-SNAPSHOT.jar
[WARNING] Unable to get resource from repository appfuse
(http://static.appfuse.org/repository)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.realsoftinc:RealTrade-core:jar:1.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.realsoftinc
-DartifactId=RealTrade-core \
          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) com.realsoftinc:RealTrade-webapp:war:1.0-SNAPSHOT
        2) com.realsoftinc:RealTrade-core:jar:1.0-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
  com.realsoftinc:RealTrade-webapp:war:1.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  appfuse (http://static.appfuse.org/repository)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Thu Jan 11 14:42:17 GMT+05:30 2007
[INFO] Final Memory: 8M/15M
[INFO]
------------------------------------------------------------------------

F:\RealTrade>

Jaymin

Matt Raible-3 wrote:
>
> If you run "mvn integration-test", the Maven Cargo plugin will
> download and install Tomcat 5.5.17 and run the integration tests
> against it.  If you want to see your project running in a server, you
> have two options:
>
> 1. Run "mvn jetty:run-war" - this will fire up a Jetty instance and it
> will be available at http://localhost:8080.
> 2. Run "mvn cargo.start -Dcargo.wait=true" and your application will
> be deployed to Tomcat and available at
> http://localhost:8081/applicationname-version#
>
> If you want to change Cargo to point to an existing instance of
> Tomcat, you should be able to change the bottom of pom.xml from:
>
>                             <container>
>                                 <containerId>tomcat5x</containerId>
>                                 <zipUrlInstaller>
>                                     <url>
>
> http://apache.org/dist/tomcat/tomcat-5/v5.5.17/bin/apache-tomcat-5.5.17.zip
>                                     </url>
>                                     <installDir>${installDir}</installDir>
>                                 </zipUrlInstaller>
>                             </container>
>
> To:
>
>                             <container>
>                                 <containerId>tomcat5x</containerId>
>                                 <home>${env.CATALINA_HOME}</home>
>                             </container>
>
> You can also deploy to a running instance of Tomcat if you prefer that:
>
> http://cargo.codehaus.org/Deploying+to+a+running+container
>
> Matt
>
> On 1/11/07, Jaymin Shah <[EMAIL PROTECTED]> wrote:
>>
>> Matt,
>>
>> Thanks for all your help.
>>
>> Could you please let me know what command I should be using for Tomcat
>> deployment?
>>
>> regards,
>> Jaymin
>>
>> Matt Raible-3 wrote:
>> >
>> > On second thought, I'd recommend you download 1.9.4 and work with
>> > that.  It'll be much more suitable for slow or unstable internet
>> > connection.
>> >
>> > In case you still want snapshots that use 2.0, I've attached the
>> > generated projects.
>> >
>> > All I did was run the command from the QuickStart Guide for 2.0, and
>> > then ran "mvn eclipse:eclipse" to generate the Eclipse project files.
>> > You should be able to change the groupId by modifying the pom.xml
>> > files and renaming packages in src/**/java/**.  You should be able to
>> > change the artifactId by merely changing the root pom.xml for each
>> > project.
>> >
>> > Matt
>> >
>> > On 1/11/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>> >> What groupId and artifactId would you like me to use?  Or do you know
>> >> enough about Maven 2 to change these after the project has been
>> >> created?
>> >>
>> >> Matt
>> >>
>> >> On 1/11/07, Jaymin Shah <[EMAIL PROTECTED]> wrote:
>> >> >
>> >> > I keep on getting "Connection timed out" errors. I would appreciate
>> >> your
>> >> > providing the zip file with build/test and war created using Appfuse
>> >> 2.0 for
>> >> > Archetype "Struts 2 Basic" and "Struts 2 Modular" for
>> Eclipse+Tomcat.
>> >> >
>> >> >
>> >> >
>> >> > Jaymin Shah wrote:
>> >> > >
>> >> > > I would be downloading it from one of the internet café in town
>> >> having
>> >> > > high connectivity to USB Pen drive - so downloading would not be a
>> >> > > problem.
>> >> > >
>> >> > > I would need zip of project folder after executing build and test
>> at
>> >> your
>> >> > > end. So I will be getting required source, lib/api, WAR etc.
>> >> > >
>> >> > > Regards,
>> >> > > Jaymin
>> >> > >
>> >> > >
>> >> > > Matt Raible-3 wrote:
>> >> > >>
>> >> > >> I can send you the projects, but if you have a poor internet
>> >> > >> connections, that won't help.  We download the dependencies
>> >> on-the-fly
>> >> > >> in 2.0.  This means that projects are very small, but all the
>> >> > >> artifacts are downloaded when you build and test.
>> >> > >>
>> >> > >> Matt
>> >> > >>
>> >> > >> On 1/11/07, Jaymin Shah <[EMAIL PROTECTED]> wrote:
>> >> > >>>
>> >> > >>> Hi,
>> >> > >>>
>> >> > >>> Thanks for your prompt response.
>> >> > >>>
>> >> > >>> There is no problem as such with Appfuse. It just that my
>> internet
>> >> > >>> connection drops in between and causes builds failures.
>> >> > >>>
>> >> > >>> I have an urgent requirement for an project that needs to start
>> >> > >>> design/development ASAP and for that reason I need a project
>> >> created for
>> >> > >>> Archetype "Struts 2 Basic" and "Struts 2 Modular" configured for
>> >> > >>> Eclipse+Tomcat. Would it be possible for you to send me these
>> >> projects?
>> >> > >>>
>> >> > >>> Regards,
>> >> > >>> Jaymin
>> >> > >>>
>> >> > >>>
>> >> > >>> wayland.chan wrote:
>> >> > >>> >
>> >> > >>> > Jaymin,
>> >> > >>> >
>> >> > >>> > What problem are you having? Many people before you have used
>> >> AppFuse
>> >> > >>> and
>> >> > >>> > don't have any problems getting started.
>> >> > >>> >
>> >> > >>> > If you don't show Matt the problem, it's hard to fix for
>> others.
>> >> > >>> >
>> >> > >>> >
>> >> > >>> > On 1/11/07, Jaymin Shah <[EMAIL PROTECTED]> wrote:
>> >> > >>> >>
>> >> > >>> >>
>> >> > >>> >> Hi Matt,
>> >> > >>> >>
>> >> > >>> >> For some reason, I am not able to create project using
>> >> instruction
>> >> > >>> >> provided
>> >> > >>> >> on http://dev.appfuse.org/display/APF/AppFuse+QuickStart -
>> may
>> >> be too
>> >> > >>> >> slow
>> >> > >>> >> net connection.
>> >> > >>> >>
>> >> > >>> >> Would it be possible for you to send me the working war and
>> zip
>> >> file
>> >> > >>> >> created
>> >> > >>> >> for project Archetype "Struts 2 Basic" and "Struts 2 Modular"
>> >> for
>> >> > >>> >> Eclipse+Tomcat. I believe that these projects will have
>> initial
>> >> > >>> framework
>> >> > >>> >> ready to start development as shows in demo videos.
>> >> > >>> >>
>> >> > >>> >> Thanks in advance for your help.
>> >> > >>> >>
>> >> > >>> >> Regards,
>> >> > >>> >> Jaymin
>> >> > >>> >> --
>> >> > >>> >> View this message in context:
>> >> > >>> >>
>> >> > >>>
>> >>
>> 
http://www.nabble.com/Matt-Raible--Need-your-help-tf2957260s2369.html#a8272749
>> >> > >>> >> 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/Matt-Raible--Need-your-help-tf2957260s2369.html#a8272867
>> >> > >>> 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/Matt-Raible--Need-your-help-tf2957260s2369.html#a8273360
>> >> > 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
>> >>
>> >
>> >
>> > --
>> > http://raibledesigns.com
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> 
http://www.nabble.com/Matt-Raible--Need-your-help-tf2957260s2369.html#a8273652
>> 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
>
>

--
View this message in context: 
http://www.nabble.com/Matt-Raible--Need-your-help-tf2957260s2369.html#a8274002
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

Reply via email to