Changes for page Working with IntelliJ IDEA
Last modified by Pierre Jeanjean on 2023/10/31 13:55
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -23,14 +23,8 @@ 23 23 24 24 == Plenty of errors in imports == 25 25 26 -This mean IDEA wasn't able to resolve the dependencies of the module you're in. One typical cause is because IDEA failed to read the XWiki Maven POMs. And one reason for that is that XWiki requires a very recent version of Maven(3.5.4 asof this writing), while IDEA embedsan oldish version(3.3.9as of this writing).This is causing problems such as the one in the following screenshot, preventing IDEA from resolving dependencies:26 +This mean IDEA wasn't able to resolve the dependencies of the module you're in. One typical cause is because IDEA failed to read the XWiki Maven POMs. And one reason for that is that XWiki requires a [[recent version of Maven>>Community.Building.WebHome]], while IDEA may embed an oldish version. This is causing problems such as the one in the following screenshot, preventing IDEA from resolving dependencies: 27 27 28 28 {{image reference="maven-idea-bug.png" width="650px"/}} 29 29 30 -== **org.suigeneris.jrcs.rcs package problems** == 31 - 32 -IDEA will highlight and compilation may fail too depending on the version of IDEA you're using. The reason is because this package is called rcs which is a special name that is ignored by default by IntelliJ. Fix: 33 - 34 -* 35 -** On old versions: ##File > Settings... > General > ignore files and folders## : remove the ##rcs## and ##RCS## entries (you can safely remove this as xwiki does not use the rcs versioning system). 36 -** On more recent versions: ##File Types##, then ##Ignore Files and Folders## at the bottom. Remove ##rcs## from the list. 30 +You also need to make sure that you've [[configured Maven properly with a good ##settings.xml## file>>Community.Building.WebHome]].
- maven-idea-bug.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.VincentMassol - Size
-
... ... @@ -1,0 +1,1 @@ 1 +161.9 KB - Content