Hi Thomas, Vicent
I signed up for jira and i am very much interested in the
xwiki-platform-rendering project. I have been trying to build it since and
it still keeps
downloading.
What i did.
- Cloned the fork of my repo
- cd into xwiki-platform-core/xwiki-platform-rendering/
- ran mvn clean install
I get the following error log
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-upper-bounds) @
xwiki-platform-rendering-async-default ---
[INFO] artifact io.sf.jclf:jclf: checking for updates from xwiki-releases
[INFO] artifact io.sf.jclf:jclf: checking for updates from central
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireUpperBoundDeps
failed with message:
Failed while enforcing RequireUpperBoundDeps. The error(s) are [
Require upper bound dependencies error for joda-time:joda-time:2.10.1 paths
to dependency are:
+-org.xwiki.platform:xwiki-platform-rendering-async-default:11.4-SNAPSHOT
+-org.xwiki.platform:xwiki-platform-oldcore:11.4-SNAPSHOT
+-joda-time:joda-time:2.10.1 (managed) <-- joda-time:joda-time:2.10.2
and
+-org.xwiki.platform:xwiki-platform-rendering-async-default:11.4-SNAPSHOT
+-org.xwiki.platform:xwiki-platform-oldcore:11.4-SNAPSHOT
+-org.xwiki.platform:xwiki-platform-office-importer:11.4-SNAPSHOT
+-org.xwiki.platform:xwiki-platform-tika-parsers:11.4-SNAPSHOT
+-org.apache.tika:tika-parsers:1.20
+-edu.ucar:cdm:4.5.5
+-joda-time:joda-time:2.10.1 (managed) <--
joda-time:joda-time:2.2
and
+-org.xwiki.platform:xwiki-platform-rendering-async-default:11.4-SNAPSHOT
+-org.xwiki.platform:xwiki-platform-oldcore:11.4-SNAPSHOT
+-org.xwiki.platform:xwiki-platform-office-importer:11.4-SNAPSHOT
+-org.xwiki.platform:xwiki-platform-tika-parsers:11.4-SNAPSHOT
+-org.apache.tika:tika-parsers:1.20
+-edu.ucar:cdm:4.5.5
+-edu.ucar:udunits:4.5.5
+-joda-time:joda-time:2.10.1 (managed) <--
joda-time:joda-time:2.2
]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary for XWiki Platform - Rendering - Parent POM
11.4-SNAPSHOT:
[INFO]
[INFO] XWiki Platform - Rendering - Parent POM ............ SUCCESS [01:31
min]
[INFO] XWiki Platform - Rendering - Async - Parent POM .... SUCCESS [
9.470 s]
[INFO] XWiki Platform - Rendering - Async - API ........... SUCCESS [01:21
min]
[INFO] XWiki Platform - Rendering - Async - Default ....... FAILURE [03:22
min]
[INFO] XWiki Platform - Rendering - Configuration - Parent POM SKIPPED
[INFO] XWiki Platform - Rendering - Configuration - API ... SKIPPED
[INFO] XWiki Platform - Rendering - Configuration - Implementation SKIPPED
[INFO] XWiki Platform - Rendering - Signature ............. SKIPPED
[INFO] XWiki Platform - Rendering - Macros - Parent POM ... SKIPPED
[INFO] XWiki Platform - Rendering - Macro - Script ........ SKIPPED
[INFO] XWiki Platform - Rendering - Macro - Groovy ........ SKIPPED
[INFO] XWiki Platform - Rendering - Transformations - Parent POM SKIPPED
[INFO] XWiki Platform - Rendering - Transformations - API . SKIPPED
[INFO] XWiki Platform - Rendering - Macro - Velocity ...... SKIPPED
[INFO] XWiki Platform - Rendering - Macro - Cache ......... SKIPPED
[INFO] XWiki Platform - Rendering - Macro - Code .......... SKIPPED
[INFO] XWiki Platform - Rendering - Macro - Container ..... SKIPPED
[INFO] XWiki Platform - Rendering - Transformations - Macro SKIPPED
[INFO] XWiki Platform - Rendering - Macro - Context ....... SKIPPED
[INFO] XWiki Platform - Rendering - Macro - Gallery ....... SKIPPED
[INFO] XWiki Platform - Rendering - Macro - Include ....... SKIPPED
[INFO] XWiki Platform - Rendering - Macro - Python ........ SKIPPED
[INFO] XWiki Platform - Rendering - Macro - RSS ........... SKIPPED
[INFO] XWiki Platform - Rendering - Macro - User Avatar ... SKIPPED
[INFO] XWiki Platform - Rendering - Parser ................ SKIPPED
[INFO] XWiki Platform - Rendering - Transformations - Icon SKIPPED
[INFO] XWiki Platform - Rendering - XWiki-specific Implementation SKIPPED
[INFO] XWiki Platform - Rendering - UI .................... SKIPPED
[INFO] XWiki Platform - Rendering - Wiki Macro Bridge ..... SKIPPED
[INFO] XWiki Platform - Rendering - Wiki Macro Bridge - API SKIPPED
[INFO] XWiki Platform - Rendering - Wiki Macro Bridge - Store SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 06:49 min
[INFO] Finished at: 2019-05-14T18:17:04+01:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce
(enforce-upper-bounds) on project xwiki-platform-rendering-async-default:
Some Enforcer rules have failed. Look above for specific messages
explaining why the rule 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]
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :xwiki-platform-rendering-async-default
MacBook-Pro-de-MACBOOK:xwiki-platform-rendering rachmann$
Any help would be appreciated thanks.
Mua
On Mon, May 6, 2019 at 2:55 PM Thomas Mortagne <thomas.mortagne(a)xwiki.com>
wrote:
Building the whole xwiki-platform is very long yes
(it's huge) but
it's not something you do often. Generally you build only the
sub-modules you are working on and let Maven take care of downloading
snapshots (built by
https://ci.xwiki.org) for other platform modules.
On Mon, May 6, 2019 at 3:51 PM Mua Rachmann <muarachmann(a)gmail.com> wrote:
Sorry, my fault. I didn't pull the latest changes.
I just did a fetch/merge from upstream master and the spanshot is 11.4.
It's downloading and building now. Its taking really long.
Is that how it is?
Thanks very much
On Sun, May 5, 2019 at 8:12 PM Vincent Massol <vincent(a)massol.net>
wrote:
>
>
> > On 5 May 2019, at 07:42, Mua Rachmann <muarachmann(a)gmail.com> wrote:
> >
> > From the error i see it kinna depends on this
> >
https://github.com/xwiki/xwiki-commons i am correct?
>
> Correct.
>
> > If so how can i edit
> > my pom.xml file
> > accordingly.
>
> Why would you want to edit some pom.xml file?
>
> Thanks
> -Vincent
>
> >
> > Regards
> >
> > On Sun, May 5, 2019 at 6:39 AM Mua Rachmann <muarachmann(a)gmail.com>
> wrote:
> >
> >> Hi there everyone,
> >>
> >> I am trying to begin my adventure with xwiki and begin
contributions. I
> >> wish to build the xwiki platform
but i ran into some errors.
> >>
> >> - I have downloaded and installed maven 3.6.1
> >> - I have java v8 and on Mac OS
> >>
> >> Following the link Vincent provided here See
> >>
https://dev.xwiki.org/xwiki/bin/view/Community/Building/ When i run
> **mvn
> >> clean install** i get the following error
> >>
> >> MBP-de-MACBOOK:xwiki-platform rachmann$ mvn clean install
> >> [INFO] Scanning for projects...
> >> [ERROR] [ERROR] Some problems were encountered while processing the
> POMs:
> >> [FATAL] Non-resolvable parent POM for
> >> org.xwiki.platform:xwiki-platform:11.2-SNAPSHOT: Could not find
artifact
> >>
org.xwiki.commons:xwiki-commons-pom:pom:11.2-SNAPSHOT and
> >> 'parent.relativePath' points at no local POM @ line 23, column 11
> >> @
> >> [ERROR] The build could not read 1 project -> [Help 1]
> >> [ERROR]
> >> [ERROR] The project
org.xwiki.platform:xwiki-platform:11.2-SNAPSHOT
> >>
(/Users/rachmann/Documents/open_source/xwiki-platform/pom.xml) has 1
> error
> >> [ERROR] Non-resolvable parent POM for
> >> org.xwiki.platform:xwiki-platform:11.2-SNAPSHOT: Could not find
artifact
> >>
org.xwiki.commons:xwiki-commons-pom:pom:11.2-SNAPSHOT and
> >> 'parent.relativePath' points at no local POM @ line 23, column 11
->
> [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/UnresolvableModelException
> >>
> >> Any help would be appreciated thanks
> >>
> >> Regards,
> >> Mua
> >>
>
>
--
Thomas Mortagne