You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Amy <o6...@yahoo.com> on 2011/02/03 16:28:34 UTC

Brand new to Maven, first build, didn't go well.

Hi all,

I'm a QA tester who is researching functional testing tools for an upcoming Agile project.

One of the projects I want to build requires Maven. I have some intermittent experience building from source. 

I will add that I'm at work and behind a firewall. I believe there is also a proxy through which all of my HTTP requests go. 

I downloaded Maven 3.0.2 and tried to do a build. Here are the errors I got:

Any help, advice, will be appreciated. Thanks. 

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.concordion:concordion-extensions-demo-selenium2:jar:1.0.1.1
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-comp
iler-plugin is missing. @ line 130, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-sure
fire-plugin is missing. @ line 138, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building concordion-extensions-demo-selenium2 1.0.1.1
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/codehaus/gmaven/gmaven-plugin/1.3
/gmaven-plugin-1.3.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.488s
[INFO] Finished at: Thu Feb 03 09:56:56 EST 2011
[INFO] Final Memory: 1M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.codehaus.gmaven:gmaven-plugin:1.3 or one of its dependencies
could not be resolved: Failed to read artifact descriptor for org.codehaus.gmave
n:gmaven-plugin:jar:1.3: Could not transfer artifact org.codehaus.gmaven:gmaven-
plugin:pom:1.3 from/to central (http://repo1.maven.org/maven2): Error transferri
ng file: repo1.maven.org: Unknown host repo1.maven.org -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
onException

AW: Brand new to Maven, first build, didn't go well.

Posted by Stadelmann Josef <jo...@axa-winterthur.ch>.
And you need 

"-Dhttp.auth.preference=Basic" in case your firewall is from MS and knows NTLM and Basic authentication schemas; It would be so nice from maven if maven's settings.xml could express this as well ! all in one place
:-)

Got old unless I got that far and from OpenVMS through the firewall. Not required from a PC wich does NTLM by default.

Josef



-----Ursprüngliche Nachricht-----
Von: Wendy Smoak [mailto:wsmoak@gmail.com] 
Gesendet: Donnerstag, 3. Februar 2011 16:34
An: Maven Users List; Amy
Betreff: Re: Brand new to Maven, first build, didn't go well.

On Thu, Feb 3, 2011 at 10:28 AM, Amy <o6...@yahoo.com> wrote:

> I will add that I'm at work and behind a firewall. I believe there is also a proxy through which all of my HTTP requests go.

Here is some information about configuring Maven to go through your
http proxy:  http://maven.apache.org/guides/mini/guide-proxies.html

Are the developers in your organization already using Maven?  If so,
they should have an internal Maven repository that you can build
against -- ask them for advice on what to put in your settings.xml
file.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Brand new to Maven, first build, didn't go well.

Posted by Wendy Smoak <ws...@gmail.com>.
On Thu, Feb 3, 2011 at 10:28 AM, Amy <o6...@yahoo.com> wrote:

> I will add that I'm at work and behind a firewall. I believe there is also a proxy through which all of my HTTP requests go.

Here is some information about configuring Maven to go through your
http proxy:  http://maven.apache.org/guides/mini/guide-proxies.html

Are the developers in your organization already using Maven?  If so,
they should have an internal Maven repository that you can build
against -- ask them for advice on what to put in your settings.xml
file.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org