Just installed the IBM Blockchain extension but running into an issue starting "1 Org Local Fabric" - ibm-blockchain

Localhost info:
OS: Windows 7
IBM Blockchain Platform: 1.0.31
Just installed the IBM Blockchain extension but running into an issue starting "1 Org Local Fabric". I'm following the tutorial on 'A3'. When I right click -> 'Start' on "1 Org Local Fabric", I got the log messages below. I'm new to all this and hoping someone could help me overcome this issue.
------------------------------- [START LOG] -------------------------------
[6/2/2020 5:00:05 PM] [INFO] startFabricRuntime
[6/2/2020 5:00:33 PM] [INFO] C:\Users\test\\.fabric-vscode\environments\1 Org Local Fabric>rem
[6/2/2020 5:00:33 PM] [INFO] C:\Users\test\\.fabric-vscode\environments\1 Org Local Fabric>rem Copyright IBM Corp All Rights Reserved
[6/2/2020 5:00:33 PM] [INFO] C:\Users\test\\.fabric-vscode\environments\1 Org Local Fabric>rem
[6/2/2020 5:00:33 PM] [INFO] C:\Users\test\\.fabric-vscode\environments\1 Org Local Fabric>rem SPDX-License-Identifier: Apache-2.0
[6/2/2020 5:00:33 PM] [INFO] C:\Users\test\\.fabric-vscode\environments\1 Org Local Fabric>rem
[6/2/2020 5:00:33 PM] [INFO] C:\Users\test\\.fabric-vscode\environments\1 Org Local Fabric>docker
[6/2/2020 5:00:33 PM] [INFO] run --rm -v "C:\Users\test\\.fabric-vscode\environments\1 Org Local Fabric":/network -v /var/run/docker.sock:/var/run/docker.sock --network host ibmblockchain/vscode-prereqs:0.0.16 ansible-playbook /network/playbook.yml
[6/2/2020 5:00:33 PM] [INFO] docker: Error response from daemon: invalid mode: /network.
[6/2/2020 5:00:33 PM] [INFO] See 'docker run --help'.
[6/2/2020 5:00:33 PM] [INFO] C:\Users\test\\.fabric-vscode\environments\1 Org Local Fabric>if 125 NEQ 0
[6/2/2020 5:00:33 PM] [INFO] (exit /b 125 )
[6/2/2020 5:00:33 PM] [ERROR] Failed to start 1 Org Local Fabric: Error: Failed to execute command "cmd" with arguments "/c, generate.cmd" return code 125
------------------------------- [END LOG] -------------------------------

Windows 7 isn't supported - only Windows 10 Pro & Enterprise.
Please see here for information on required dependencies.

Related

Why Gluon Mobile app for android platform fail to compile on wsl Ubuntu 20.04 LTS?

I am trying to develop android apk file by using wsl Ubuntu 20.04 LTS with maven plugins. I followed all requirements from https://docs.gluonhq.com/ and I have managed to perform some tasks correctly. The problem arise when running command
mvn -Pandroid gluonfx:build , compiling task failed and throws outputs as:
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< com.gluonmaven.linux:gluonmavenlinux >----------------
[INFO] Building GluonMavenLinux 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- gluonfx-maven-plugin:1.0.16:build (default-cli) # gluonmavenlinux ---
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< com.gluonmaven.linux:gluonmavenlinux >----------------
[INFO] Building GluonMavenLinux 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] >>> gluonfx-maven-plugin:1.0.16:compile (default-cli) > process-classes # gluonmavenlinux >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # gluonmavenlinux ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) # gluonmavenlinux ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to /mnt/d/Epicstats/GluonMavenLinux/target/classes
[INFO]
[INFO] <<< gluonfx-maven-plugin:1.0.16:compile (default-cli) < process-classes # gluonmavenlinux <<<
[INFO]
[INFO]
[INFO] --- gluonfx-maven-plugin:1.0.16:compile (default-cli) # gluonmavenlinux ---
[Tue Dec 06 15:05:28 EAT 2022][INFO] ==================== COMPILE TASK ====================
_______ ___ __ __ _______ __ _
| || | | | | || || | | |
| ___|| | | | | || _ || |_| |
| | __ | | | |_| || | | || |
| || || |___ | || |_| || _ |
| |_| || || || || | | |
|_______||_______||_______||_______||_| |__|
Access to the latest docs, tips and tricks and more info on
[Tue Dec 06 15:05:30 EAT 2022][INFO] We will now compile your code for aarch64-linux-android. This may take some time.
how to get support? Register your usage of Gluon Substrate now at
https://gluonhq.com/activate
[Tue Dec 06 15:05:30 EAT 2022][SEVERE] Process compile-additional-sources failed with result: 2
Check the log files under /mnt/d/Epicstats/GluonMavenLinux/target/gluonfx/aarch64-android/gvm/log
And please check https://docs.gluonhq.com/ for more information.
[Tue Dec 06 15:05:30 EAT 2022][INFO] Logging process [compile-additional-sources] to file: /mnt/d/Epicstats/GluonMavenLinux/target/gluonfx/log/process-compile-additional-sources-1670328330610.log
[Tue Dec 06 15:05:30 EAT 2022][SEVERE] Compiling failed.
Check the log files under /mnt/d/Epicstats/GluonMavenLinux/target/gluonfx/aarch64-android/gvm/log
And please check https://docs.gluonhq.com/ for more information.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.542 s
[INFO] Finished at: 2022-12-06T15:05:30+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.16:compile (default-cli) on project gluonmavenlinux: Compiling failed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.094 s
[INFO] Finished at: 2022-12-06T15:05:30+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.16:build (default-cli) on project gluonmavenlinux: Error, gluonfx:build failed -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.16:build (default-cli) on project gluonmavenlinux: Error, gluonfx:build failed
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error, gluonfx:build failed
at com.gluonhq.NativeBuildMojo.execute (NativeBuildMojo.java:82)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR]
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
I have tried to resolve the problem by not running mvn -Pandroid gluonfx:build
and running mvn -Pandroid gluonfx:compile but the problem still exit. Later on I discovered that gluonfx:build is a combination of gluonfx:compile and gluonfx:link
Where might I be making mistakes, anyone who has an Idea.
I am using:
JDK 11
apache-maven-3.8.1
android-ndk-r25b
graalvm-svm-java11-linux-gluon-22.1.0.1-Final

Jenkins Selenium Maven project | Build Success but Test doesn't executed

I have written a simple selenium program in maven project. It will just search wrist watches form amazon with filters and get the fifth result.
From Local Machine, through eclipse it is running completely fine. After that I have pushed it to git repository (https://github.com/nasirpk3/AmazonSearching-Selenium-Java.git) and Integrated with jenkins. When I run using the jenkins. The console shows the following. What I am doing wrong?
Started by user Nasir Sultan
Running as SYSTEM
Building in workspace C:\Users\nasir.n\.jenkins\workspace\amazonsearchjob
The recommended git tool is: NONE
No credentials specified
> git.exe rev-parse --resolve-git-dir C:\Users\nasir.n\.jenkins\workspace\amazonsearchjob\.git # timeout=10
Fetching changes from the remote Git repository
> git.exe config remote.origin.url https://github.com/nasirpk3/AmazonSearching-Selenium-Java.git # timeout=10
Fetching upstream changes from https://github.com/nasirpk3/AmazonSearching-Selenium-Java.git
> git.exe --version # timeout=10
> git --version # 'git version 2.34.1.windows.1'
> git.exe fetch --tags --force --progress -- https://github.com/nasirpk3/AmazonSearching-Selenium-Java.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git.exe rev-parse "refs/remotes/origin/master^{commit}" # timeout=10
Checking out Revision 97dd70600038d84555f6867f545a28ec00f24b5e (refs/remotes/origin/master)
> git.exe config core.sparsecheckout # timeout=10
> git.exe checkout -f 97dd70600038d84555f6867f545a28ec00f24b5e # timeout=10
Commit message: "pom file edit"
> git.exe rev-list --no-walk 4f4aaf415fa286aebe7d24b2358a134fe287fef7 # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 56233
[amazonsearchjob] $ "C:\Program Files\Java\jdk-17.0.3.1/bin/java" -cp C:\Users\nasir.n\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven35-agent-1.13.jar;C:\Users\nasir.n\.jenkins\tools\hudson.tasks.Maven_MavenInstallation\testmaven\boot\plexus-classworlds-2.6.0.jar;C:\Users\nasir.n\.jenkins\tools\hudson.tasks.Maven_MavenInstallation\testmaven/conf/logging jenkins.maven3.agent.Maven35Main C:\Users\nasir.n\.jenkins\tools\hudson.tasks.Maven_MavenInstallation\testmaven C:\Users\nasir.n\.jenkins\war\WEB-INF\lib\remoting-3025.vf64a_a_3da_6b_55.jar C:\Users\nasir.n\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven35-interceptor-1.13.jar C:\Users\nasir.n\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.13.jar 56233
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven: -B -f C:\Users\nasir.n\.jenkins\workspace\amazonsearchjob\pom.xml install
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------------< in:amazon >------------------------------
[INFO] Building amazon 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # amazon ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\nasir.n\.jenkins\workspace\amazonsearchjob\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # amazon ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) # amazon ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\nasir.n\.jenkins\workspace\amazonsearchjob\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) # amazon ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to C:\Users\nasir.n\.jenkins\workspace\amazonsearchjob\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) # amazon ---
[INFO] Surefire report directory: C:\Users\nasir.n\.jenkins\workspace\amazonsearchjob\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running tests.BaseTest
Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator#22a71081
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.641 sec
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[JENKINS] Recording test results
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) # amazon ---
[INFO] Building jar: C:\Users\nasir.n\.jenkins\workspace\amazonsearchjob\target\amazon-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) # amazon ---
[INFO] Installing C:\Users\nasir.n\.jenkins\workspace\amazonsearchjob\target\amazon-0.0.1-SNAPSHOT.jar to C:\Users\nasir.n\.m2\repository\in\amazon\0.0.1-SNAPSHOT\amazon-0.0.1-SNAPSHOT.jar
[INFO] Installing C:\Users\nasir.n\.jenkins\workspace\amazonsearchjob\pom.xml to C:\Users\nasir.n\.m2\repository\in\amazon\0.0.1-SNAPSHOT\amazon-0.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.269 s
[INFO] Finished at: 2022-06-22T14:09:04+05:00
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving C:\Users\nasir.n\.jenkins\workspace\amazonsearchjob\pom.xml to in/amazon/0.0.1-SNAPSHOT/amazon-0.0.1-SNAPSHOT.pom
[JENKINS] Archiving C:\Users\nasir.n\.jenkins\workspace\amazonsearchjob\target\amazon-0.0.1-SNAPSHOT.jar to in/amazon/0.0.1-SNAPSHOT/amazon-0.0.1-SNAPSHOT.jar
channel stopped
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at PROJECT level C:\Users\nasir.n\.jenkins\workspace\amazonsearchjob to C:\Users\nasir.n\.jenkins\jobs\amazonsearchjob\htmlreports\HTML_20Report
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng-results.xml
Saving reports...
Processing 'C:\Users\nasir.n\.jenkins\jobs\amazonsearchjob\builds\2\testng\testng-results-1.xml'
Processing 'C:\Users\nasir.n\.jenkins\jobs\amazonsearchjob\builds\2\testng\testng-results.xml'
TestNG Reports Processing: FINISH
Finished: SUCCESS

Not a valid command: idea-shell (similar: shell, oldshell)

I have trouble refreshing my SBT project in Intellij. And I am not the only one.
This is the sbt-console:
/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=localhost:51917,suspend=n,server=y -Xdebug -server -Xmx1028M -Dfile.encoding=UTF-8 -Didea.runid=2017.2 -Didea.managed=true -jar "/Users/pascal.mengelt/Library/Application Support/IntelliJIdea2018.1/Scala/launcher/sbt-launch.jar" idea-shell
Listening for transport dt_socket at address: 51917
[info] Loading settings from idea.sbt ...
[info] Loading global plugins from /Users/user/.sbt/1.0/plugins
[info] Loading settings from plugins.sbt ...
[info] Loading project definition from /Users/pascal.mengelt/GitHub/scala/scala-adapters-wizard/project
[info] Loading settings from build.sbt ...
[info] Set current project to wizardDemo (in build file:/Users/pascal.mengelt/GitHub/scala/scala-adapters-wizard/)
[error] Not a valid command: idea-shell (similar: shell, oldshell)
[error] Not a valid project ID: idea-shell
[error] Expected ':'
[error] Not a valid key: idea-shell (similar: daemonShell)
[error] idea-shell
[error] ^
[INFO] [04/13/2018 13:13:19.377] [Thread-2] [CoordinatedShutdown(akka://sbt-web)] Starting coordinated shutdown from JVM shutdown hook
I found the Intellij issue for that (with workaround):
SCL-12430 Not a valid key: idea-shell
Yes ,delete the ~/.sbt/{0.13|1.0}/plugins/target
Here the command provided by Mateusz Kubuszok:
rm -rf ~/.sbt/{0.13,1.0}/plugins/target

Error while executing atlas-create-jira-plugin

I am getting this error while executing atlas-create-jira-plugin command, I am starting Jira plugin development:
A new plugin structure is required for JIRA 5 plugins due to significant changes in the APIs.
Create a plugin for?
1) JIRA 5
2) JIRA 4 (or earlier)
#?1
Executing: "C:\atlassian-plugin-sdk\apache-maven\bin\mvn.bat" com.atlassian.maven.plugins:maven-jira-plugin:4.1.6:create
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [com.atlassian.maven.plugins:maven-jira-plugin:4.1.6:create] (aggregator-style)
[INFO] ------------------------------------------------------------------------
Downloading: http://www.laughingpanda.org/maven2/org/twdata/maven/maven-cli-plugin-parent/0.7/maven-cli-plugin-parent-0.
7.pom
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '21a121ae3afd67024dd862f90189be2fb4931146'; remote
= '<!DOCTYPE' - RETRYING
Downloading: http://www.laughingpanda.org/maven2/org/twdata/maven/maven-cli-plugin-parent/0.7/maven-cli-plugin-parent-0.
7.pom
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '21a121ae3afd67024dd862f90189be2fb4931146'; remote
= '<!DOCTYPE' - IGNORING
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: null:maven-cli-plugin:maven-plugin:0.7
Reason: Cannot find parent: org.twdata.maven:maven-cli-plugin-parent for project: null:maven-cli-plugin:maven-plugin:0.7
for project null:maven-cli-plugin:maven-plugin:0.7
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16 seconds
[INFO] Finished at: Tue Apr 30 15:43:10 IST 2013
[INFO] Final Memory: 18M/43M
Please let me know how can I proceed.
Thanks,
Rhishi

Maven2 problem to access plugins repository !

i just come to install maven2, after configuring the settings.xml in ${user.home}/.m2 and fixing a proxy error. Now by executing the command :
mvn -U archetype:create -DgroupId=maven-test -DartifactId=maven-test
-DpackageName=net.ensode.maventest
i get this error :
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri
eved from repository: central due to an error: Authorization failed: Access deni
ed to: http://repo2.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml
[INFO] Repository 'central' will be blacklisted
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi
st or no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Apr 29 16:05:40 CEST 2010
[INFO] Final Memory: 2M/247M
[INFO] ------------------------------------------------------------------------
any idea of what could cause it ?
thanks !
I think that the most likely cause is that your proxy requires you to authenticate, and you haven't configured the authentication details into your settings.xml file.