The surefire plugin is a core Maven dependency. Are you behind a
firewall or proxy of some kind? If so, you may have to setup some
proxy settings for Maven.
http://maven.apache.org/guides/mini/guide-proxies.html
Matt
On 1/28/07, Fan <[EMAIL PROTECTED]> wrote:
I have changed the portion of pom.xml for :
<repositories>
<repository>
<id>central</id>
<!--
<url>http://repo1.maven.org/maven2</url>
-->
<url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
</repository>
<repository>
<id>appfuse</id>
<url>http://static.appfuse.org/repository</url>
</repository>
</repositories>
but, I am stil getting the following problem.....
[ERROR] Error #1: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table
'us
er_role' already exists
[ERROR] Error #1: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException:
Duplicate
key name 'FK143BF46AF503D155'
[ERROR] Error #1: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException:
Duplicate
key name 'FK143BF46A4FD90D75'
[INFO] [dbunit:operation {execution: default}]
Downloading:
http://snapshots.repository.codehaus.org/org/apache/maven/surefire/
surefire-api/2.0/surefire-api-2.0.jar
[WARNING] Unable to get resource from repository maven-snapshots
(http://snapsho
ts.repository.codehaus.org)
Downloading:
http://static.appfuse.org/repository/org/apache/maven/surefire/sure
fire-api/2.0/surefire-api-2.0.jar
47K downloaded
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Error transferring file
org.apache.maven.surefire:surefire-api:jar:2.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
maven-snapshots (http://snapshots.repository.codehaus.org),
apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
snapshots (http://snapshots.maven.codehaus.org/maven2),
appfuse (http://static.appfuse.org/repository)
Path to dependency:
1) org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.2
2) org.apache.maven.surefire:surefire-booter:jar:2.0
3) org.apache.maven.surefire:surefire-api:jar:2.0
Caused by I/O exception: Connection timed out: connect
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 40 seconds
[INFO] Finished at: Sun Jan 28 19:29:48 SGT 2007
[INFO] Final Memory: 9M/17M
[INFO]
------------------------------------------------------------------------
D:\source\erp\erpfuse>
Matt Raible-3 wrote:
>
> Sounds like there's a connection issue - either on your end or on
> Maven's end. You might try adding one of the central repos to your
> pom.xml.
>
> This one is currently recommended:
> http://mirrors.ibiblio.org/pub/mirrors/maven2/
>
> You can also setup mirrors in your ~/.m2/settings.xml:
>
> http://maven.apache.org/guides/mini/guide-mirror-settings.html
>
> HTH,
>
> Matt
>
> On 1/27/07, Fan <[EMAIL PROTECTED]> wrote:
>>
>> I encountered another problem :
>>
>> Downloading:
>> http://snapshots.repository.codehaus.org/org/codehaus/plexus/plexus
>> -utils/1.0.5/plexus-utils-1.0.5.pom
>> [WARNING] Unable to get resource from repository maven-snapshots
>> (http://snapsho
>> ts.repository.codehaus.org)
>> Downloading:
>> http://static.appfuse.org/repository/org/codehaus/plexus/plexus-uti
>> ls/1.0.5/plexus-utils-1.0.5.pom
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error building POM (may not be this project's POM).
>>
>>
>> Project ID: org.codehaus.plexus:plexus-utils
>>
>> Reason: Error getting POM for 'org.codehaus.plexus:plexus-utils' from the
>> reposi
>> tory: Error transferring file
>> org.codehaus.plexus:plexus-utils:pom:1.0.5
>>
>> from the specified remote repositories:
>> central (http://repo1.maven.org/maven2),
>> maven-snapshots (http://snapshots.repository.codehaus.org),
>> apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
>> snapshots (http://snapshots.maven.codehaus.org/maven2),
>> appfuse (http://static.appfuse.org/repository)
>>
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 1 minute 44 seconds
>> [INFO] Finished at: Sat Jan 27 21:52:11 SGT 2007
>> [INFO] Final Memory: 7M/12M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> D:\source\erp\erpfuse>
>>
>>
>>
>> Fan wrote:
>> >
>> > What's the cause of the following error ??
>> >
>> >
>> > Downloading:
>> > http://static.appfuse.org/repository/asm/asm-attrs/1.5.3/asm-attrs-
>> > 1.5.3.jar
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [ERROR] BUILD ERROR
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Failed to resolve artifact.
>> >
>> > Error transferring file
>> > asm:asm-attrs:jar:1.5.3
>> >
>> > from the specified remote repositories:
>> > central (http://repo1.maven.org/maven2),
>> > appfuse (http://static.appfuse.org/repository)
>> > Path to dependency:
>> > 1) com.mycompany:erpfuse-core:jar:1.0-SNAPSHOT
>> > 2) org.appfuse:appfuse-service:jar:2.0-m2
>> > 3) org.appfuse:appfuse-hibernate:jar:2.0-m2
>> > 4) org.hibernate:hibernate:jar:3.2.1.ga
>> > 5) asm:asm-attrs:jar:1.5.3
>> >
>> >
>> >
>> > Caused by I/O exception: Connection timed out: connect
>> >
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] For more information, run Maven with the -e switch
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 14 minutes 53 seconds
>> > [INFO] Finished at: Sat Jan 27 15:42:37 SGT 2007
>> > [INFO] Final Memory: 6M/12M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > D:\source\erp\erpfuse>
>> >
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/Error-running-the-%22mvn-integration-test%22-tf3127006s2369.html#a8666119
>> 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/Error-running-the-%22mvn-integration-test%22-tf3127006s2369.html#a8674710
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]