Letractively / aost

Automatically exported from code.google.com/p/aost
Other
1 stars 0 forks source link

configure a cargo-maven project for tellurium integration-test #371

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Could you write a "how to configure a cargo-maven project for tellurium
integration-test"? That would be very helpful. 

http://cargo.codehaus.org/Maven2+plugin

Original issue reported on code.google.com by John.Jian.Fang@gmail.com on 2 Feb 2010 at 2:29

GoogleCodeExporter commented 9 years ago
http://dpillay.wordpress.com/2009/04/12/maven-cargo-tomcat-auto-deployment/

Original comment by John.Jian.Fang@gmail.com on 16 Feb 2010 at 8:15

GoogleCodeExporter commented 9 years ago
http://java.dzone.com/articles/automated-deployment-cargo-and

Original comment by John.Jian.Fang@gmail.com on 3 Mar 2010 at 8:25

GoogleCodeExporter commented 9 years ago
            <plugin>
                <groupId>org.codehaus.cargo</groupId>
                <artifactId>cargo-maven2-plugin</artifactId>
                <configuration>
                    <wait>false</wait>
                   <!--container>
                        <containerId>tomcat6x</containerId>
                        <home>/usr/local/apache-tomcat-6.0.20</home>                

                    </container>
                    <configuration>
                        <type>standalone</type>
                        <home>target/tomcat6x</home>
                        <properties>
                            <cargo.servlet.port>8088</cargo.servlet.port>
                            <cargo.logging>high</cargo.logging>
                        </properties>
                    </configuration>                  
                    <deployer>
                        <deployables>
                            <deployable>
                                <groupId>net.stsmedia.financemanager</groupId>
                                <artifactId>FinanceManager</artifactId>
                                <type>war</type>
                            </deployable>
                        </deployables>
                    </deployer>
                </configuration-->
                <container>
                        <containerId>tomcat6x</containerId>

                        <zipUrlInstaller>

<url>http://www.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24
.zip</url>

<installDir>${project.build.directory}/cargoinstalls</installDir>
                        </zipUrlInstaller>
                        <log>${project.build.directory}/tomcat6x/cargo.log</log>
                    </container>

                    <configuration>
                        <home>${project.build.directory}/tomcat6x/config</home>
                         <properties>
                            <cargo.servlet.port>8088</cargo.servlet.port>
                            <cargo.logging>high</cargo.logging>
                        </properties>
                        <deployables>
                            <deployable>
                                <groupId>net.stsmedia.financemanager</groupId>
                                <artifactId>FinanceManager</artifactId>
                                <type>war</type>
                            </deployable>
                        </deployables>                       
                    </configuration>

                </configuration>

Original comment by John.Jian.Fang@gmail.com on 3 Mar 2010 at 8:26

GoogleCodeExporter commented 9 years ago
mvn archetype:create -DarchetypeGroupId=org.codehaus.cargo
-DarchetypeArtifactId=cargo-archetype-webapp-single-module -DgroupId=com.wakaleo
-DartifactId=ezbank

Original comment by John.Jian.Fang@gmail.com on 3 Mar 2010 at 8:28

GoogleCodeExporter commented 9 years ago
https://issuetracker.springsource.com/browse/EBR-220

Original comment by John.Jian.Fang@gmail.com on 3 Mar 2010 at 10:11

GoogleCodeExporter commented 9 years ago
mvn clean integration-test -Dtest=AccountTestCase

Original comment by John.Jian.Fang@gmail.com on 3 Mar 2010 at 10:22

GoogleCodeExporter commented 9 years ago
 mvn clean war:war integration-test -Dtest=AccountTestCase

Original comment by John.Jian.Fang@gmail.com on 3 Mar 2010 at 10:28

GoogleCodeExporter commented 9 years ago
mvn tomcat:run
mvn tomcat:deploy
mvn tomcat:undeploy

Original comment by John.Jian.Fang@gmail.com on 4 Mar 2010 at 4:20

GoogleCodeExporter commented 9 years ago
http://furiouspurpose.blogspot.com/2008/10/configuring-cargotomcat-with-maven2.h
tml

Original comment by John.Jian.Fang@gmail.com on 4 Mar 2010 at 4:23

GoogleCodeExporter commented 9 years ago
http://www.waltercedric.com/java-j2ee-mainmenu-53/361-maven-build-system/1555-de
ploy-to-tomcat-6-using-maven.html

Original comment by John.Jian.Fang@gmail.com on 4 Mar 2010 at 4:28

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/aost/wiki/TelluriumIntegrationTestsWithMavenCargoPlugin

Original comment by John.Jian.Fang@gmail.com on 4 Mar 2010 at 9:58