Maven build stalling mid build.

124 views
Skip to first unread message

Bubalicio

unread,
Nov 2, 2011, 2:32:33 AM11/2/11
to Selenium Users
Hello Everyone,

I am new to Selenium and wanted to start getting familiar with it.

My issue is, when performing the maven clean install my project stops
mid build.

I installed maven and the version was appearing correctly.
I created the pom.xml file based on the getting started page. Which
mine looks like:


<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>MySel20Proj</groupId>
<artifactId>MySel20Proj</artifactId>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>2.11.0</version>
</dependency>
</dependencies>
</project>


so when performing the install this is what appears in my command
prompt

[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building MySel20Proj 1.0
[INFO]
------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefi
re-plugin/2.7.2/maven-surefire-plugin-2.7.2.jar
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefir
e-plugin/2.7.2/maven-surefire-plugin-2.7.2.jar (29 KB at 46.9 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-pl
ugin/2.3.1/maven-jar-plugin-2.3.1.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plu
gin/2.3.1/maven-jar-plugin-2.3.1.pom (6 KB at 11.6 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-pl
ugin/2.3.1/maven-jar-plugin-2.3.1.jar
30 KB


and this is were it stops. I have left it idle on this page for over
an hour and no change. and nothing is created in the folder. So I am
wondering have I do something wrong or missed a part of the setup?(I
did check a few time) I currently have JDK 7 installed and plan on
using this through eclipse.

Thank you for your time.

Krishnan Mahadevan

unread,
Nov 2, 2011, 9:05:56 AM11/2/11
to seleniu...@googlegroups.com
From the command prompt try running mvn install --debug and you might get some more information as to what is causing maven to get stuck midway!


Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"



--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.


Mark Collin

unread,
Nov 2, 2011, 9:55:23 AM11/2/11
to seleniu...@googlegroups.com

Usual resolution with maven seems to be to delete your .m2 directory and let it download everything from scratch.  Seems to get its knickers in a twist now and again.


-- This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error please notify postm...@ardescosolutions.com

Bubalicio

unread,
Nov 3, 2011, 4:07:16 AM11/3/11
to Selenium Users
Hello Krishnan,

I ran the debug and this the last few lines I get before the debug
stalls:

[DEBUG] Skipping disabled repository apache.snapshots
[DEBUG] Trying repository central
[DEBUG] Using Wagon implementation lightweight from default mapping
for protocol
http
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] Connecting to repository: 'central' with url: 'http://
repo1.maven.org/ma
ven2'.
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.
6/plexus-utils-1.5.6.jar
[DEBUG] attempting to create parent directories for destination:
plexus-utils-1.
5.6.jar.tmp
148586/?

I will admit I do not understand most of it but hopefuly you or
someone is able to :). Thank you, if you need more info please let me
know.


On Nov 2, 6:05 am, Krishnan Mahadevan

Bubalicio

unread,
Nov 3, 2011, 4:09:12 AM11/3/11
to Selenium Users
Hello Mark,

I tried deleting my .m2 folder and was still getting the stall at the
same spot.

On Nov 2, 6:55 am, "Mark Collin" <m...@ardescosolutions.com> wrote:
> Usual resolution with maven seems to be to delete your .m2 directory and let
> it download everything from scratch.  Seems to get its knickers in a twist
> now and again.
>
> From: seleniu...@googlegroups.com
> [mailto:seleniu...@googlegroups.com] On Behalf Of Krishnan Mahadevan
> Sent: 02 November 2011 13:06
> To: seleniu...@googlegroups.com
> Subject: Re: [selenium-users] Maven build stalling mid build.
>
> From the command prompt try running mvn install --debug and you might get
> some more information as to what is causing maven to get stuck midway!
>
> Thanks & Regards
> Krishnan Mahadevan
>
> "All the desirable things in life are either illegal, expensive, fattening
> or in love with someone else!"
>
> On Wed, Nov 2, 2011 at 12:02 PM, Bubalicio <bubali...@gmail.com> wrote:
>
> Hello Everyone,
>
> I am new to Selenium and wanted to start getting familiar with it.
>
> My issue is, when performing the maven clean install my project stops
> mid build.
>
> I installed maven and the version was appearing correctly.
> I created the pom.xml file based on the getting started page. Which
> mine looks like:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0"
>                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>                 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0http://maven.apache.org/xsd/maven-4.0.0.xsd">
>        <modelVersion>4.0.0</modelVersion>
>        <groupId>MySel20Proj</groupId>
>        <artifactId>MySel20Proj</artifactId>
>        <version>1.0</version>
>        <dependencies>
>            <dependency>
>                <groupId>org.seleniumhq.selenium</groupId>
>                <artifactId>selenium-java</artifactId>
>                <version>2.11.0</version>
>            </dependency>
>        </dependencies>
> </project>
>
> so when performing the install this is what appears in my command
> prompt
>
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building MySel20Proj 1.0
> [INFO]
> ------------------------------------------------------------------------
> Downloading:http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefi
> <http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefi%0...
> -plugin/2.7.2/maven-surefire-plugin-2.7.2.jar>
> re-plugin/2.7.2/maven-surefire-plugin-2.7.2.jar
> Downloaded:http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefir
> <http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefir%...
> -plugin/2.7.2/maven-surefire-plugin-2.7.2.jar>
> e-plugin/2.7.2/maven-surefire-plugin-2.7.2.jar (29 KB at 46.9 KB/sec)
> Downloading:http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-pl
> <http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-pl%0...
> in/2.3.1/maven-jar-plugin-2.3.1.pom>
> ugin/2.3.1/maven-jar-plugin-2.3.1.pom
> Downloaded:http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plu
> <http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plu%...
> in/2.3.1/maven-jar-plugin-2.3.1.pom>
> gin/2.3.1/maven-jar-plugin-2.3.1.pom (6 KB at 11.6 KB/sec)
> Downloading:http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-pl
> <http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-pl%0...
> in/2.3.1/maven-jar-plugin-2.3.1.jar>
> ugin/2.3.1/maven-jar-plugin-2.3.1.jar
> 30 KB
>
> and this is were it stops. I have left it idle on this page for over
> an hour and no change. and nothing is created in the folder. So I am
> wondering have I do something wrong or missed a part of the setup?(I
> did check a few time) I currently have JDK 7 installed and plan on
> using this through eclipse.
>
> Thank you for your time.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Selenium Users" group.
> To post to this group, send email to seleniu...@googlegroups.com.
> To unsubscribe from this group, send email to
> selenium-user...@googlegroups.com
> <mailto:selenium-users%2Bunsu...@googlegroups.com> .
> For more options, visit this group athttp://groups.google.com/group/selenium-users?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Selenium Users" group.
> To post to this group, send email to seleniu...@googlegroups.com.
> To unsubscribe from this group, send email to
> selenium-user...@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/selenium-users?hl=en.
>
> --
> This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
>
> If you have received this email in error please notify postmas...@ardescosolutions.com

Mark Collin

unread,
Nov 3, 2011, 5:32:52 AM11/3/11
to seleniu...@googlegroups.com
Looks like it's crapping out whilst copying what you have downloaded into
your .m2 directory.

To be perfectly honest I don't know why, permissions issue maybe?

Hello Krishnan,

--
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

If you have received this email in error please notify postm...@ardescosolutions.com

Krishnan Mahadevan

unread,
Nov 3, 2011, 9:55:37 PM11/3/11
to seleniu...@googlegroups.com
Or an issue with the version of maven installed.
If not already, can you try using maven 2.2.1 and see if that helps ?



Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"


Reply all
Reply to author
Forward
0 new messages