I remember I usually get that problem, too after flushing my maven repo
Can you please retry to run just the "mvn clean install" a second time.
Usually when it fails the first time it works the second time
this time another problem.
Here are all the steps I did:
//***********************************************
wafid@pc-eqi06128:~$ cd .m2
wafid@pc-eqi06128:~/.m2$ ls -a
. .. repository settings.xml
wafid@pc-eqi06128:~/.m2$ rm ~/.m2/repository -Rf
wafid@pc-eqi06128:~/.m2$ ls -a
. .. settings.xml
wafid@pc-eqi06128:~/.m2$ cd
wafid@pc-eqi06128:~$ mkdir xwikibuild
wafid@pc-eqi06128:~$ cd xwikibuild
wafid@pc-eqi06128:~/xwikibuild$ git clone
https://github.com/xwiki/xwiki-platform.git
Cloning into 'xwiki-platform'...
remote: Reusing existing pack: 544936, done.
remote: Counting objects: 491, done.
remote: Compressing objects: 100% (350/350), done.
remote: Total 545427 (delta 142), reused 85 (delta 19)
Receiving objects: 100% (545427/545427), 246.10 MiB | 4.03 MiB/s, done.
Resolving deltas: 100% (250275/250275), done.
wafid@pc-eqi06128:~/xwikibuild$ cd xwiki-platform
wafid@pc-eqi06128:~/xwikibuild/xwiki-platform$ git checkout xwiki-platform-5.4.5
Note: checking out 'xwiki-platform-5.4.5'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 7624af4... [maven-release-plugin] prepare release xwiki-platform-5.4.5
wafid@pc-eqi06128:~/xwikibuild/xwiki-platform$ mvn clean install -Pdev
[INFO] Scanning for projects...
Downloading:
http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/commons/xwiki-…
Downloaded:
http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/commons/xwiki-…
(8 KB at 41.4 KB/sec)
Downloading:
http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/commons/xwiki-…
Downloaded:
http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/commons/xwiki-…
(49 KB at 429.9 KB/sec)
Downloading:
http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/commons/xwiki-…
Downloaded:
http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/commons/xwiki-…
(3 KB at 49.9 KB/sec)
Downloading:
http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/commons/xwiki-…
Downloaded:
http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/commons/xwiki-…
(3 KB at 41.5 KB/sec)
Downloading:
http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/commons/xwiki-…
Downloaded:
http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/commons/xwiki-…
(3 KB at 39.6 KB/sec)
Downloading:
http://repo.maven.apache.org/maven2/org/xwiki/commons/xwiki-commons/5.4.5/x…
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.xwiki.platformwiki-platform-core:5.4.5
(/home/wafid/xwikibuild/xwiki-platform/xwiki-platform-core/pom.xml) has 1 error
[ERROR] Unresolveable build extension: Plugin
org.xwiki.commonswiki-commons-tool-xar-handlers:5.4.5 or one of its dependencies could not
be resolved: Failed to collect dependencies for
org.xwiki.commonswiki-commons-tool-xar-handlers:jar:5.4.5 (): Failed to read artifact
descriptor for org.xwiki.commonswiki-commons-tool-xar-handlers:jar:5.4.5: Could not find
artifact org.xwiki.commonswiki-commonsom:5.4.5 in central
(
http://repo.maven.apache.org/maven2) -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
wafid@pc-eqi06128:~/xwikibuild/xwiki-platform$ ls -a