Hello.
I am studying XWiki for my personal project.
I have a problem with example of “Creating New XClass Property Types”. It doesn’t work.
here’s log
“C:\Program Files\Java\jdk1.8.0_144\bin\java” -Dmaven.multiModuleProjectDirectory=C:\Development\clipper\code\ExternalImage “-Dmaven.home=C:\Development\tool\IntelliJ IDEA 2017.3\plugins\maven\lib\maven3” “-Dclassworlds.conf=C:\Development\tool\IntelliJ IDEA 2017.3\plugins\maven\lib\maven3\bin\m2.conf” “-javaagent:C:\Development\tool\IntelliJ IDEA 2017.3\lib\idea_rt.jar=6817:C:\Development\tool\IntelliJ IDEA 2017.3\bin” -Dfile.encoding=UTF-8 -classpath “C:\Development\tool\IntelliJ IDEA 2017.3\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar” org.codehaus.classworlds.Launcher -Didea.version=2017.3.1 install
[INFO] Scanning for projects…
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building xwiki-property-test test
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for io.sf.carte:css4j:jar:0.38 is missing, no dependency information available
[WARNING] The POM for io.sf.carte:css4j-dom4j:jar:0.38 is missing, no dependency information available
[WARNING] The POM for com.octo.captcha:jcaptcha-api:jar:2.0-alpha-1-SNAPSHOT-500 is missing, no dependency information available
[WARNING] The POM for com.octo.captcha:jcaptcha:jar:2.0-alpha-1-SNAPSHOT-500 is missing, no dependency information available
[WARNING] The POM for com.octo.captcha:jcaptcha-extension-sound-freetts:jar:2.0-alpha-1-SNAPSHOT-500 is missing, no dependency information available
[WARNING] The POM for uk.ac.ed.ph.snuggletex:snuggletex-core:jar:1.1.0 is missing, no dependency information available
[WARNING] The POM for uk.ac.ed.ph.snuggletex:snuggletex-jeuclid:jar:1.1.0 is missing, no dependency information available
[WARNING] The POM for org.artofsolving.jodconverter:jodconverter-core:jar:3.1-xwiki is missing, no dependency information available
[WARNING] The POM for de.l3s.boilerpipe:boilerpipe:jar:1.2.0-xwiki is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.348 s
[INFO] Finished at: 2017-12-22T12:14:25+09:00
[INFO] Final Memory: 19M/225M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ExternalImage: Could not resolve dependencies for project com.travelagit:ExternalImage:jar:test: The following artifacts could not be resolved: io.sf.carte:css4j:jar:0.38, io.sf.carte:css4j-dom4j:jar:0.38, com.octo.captcha:jcaptcha-api:jar:2.0-alpha-1-SNAPSHOT-500, com.octo.captcha:jcaptcha:jar:2.0-alpha-1-SNAPSHOT-500, com.octo.captcha:jcaptcha-extension-sound-freetts:jar:2.0-alpha-1-SNAPSHOT-500, uk.ac.ed.ph.snuggletex:snuggletex-core:jar:1.1.0, uk.ac.ed.ph.snuggletex:snuggletex-jeuclid:jar:1.1.0, org.artofsolving.jodconverter:jodconverter-core:jar:3.1-xwiki, de.l3s.boilerpipe:boilerpipe:jar:1.2.0-xwiki: Failure to find io.sf.carte:css4j:jar:0.38 in Index of /releases was cached in the local repository, resolution will not be reattempted until the update interval of XWiki Releases Repository has elapsed or updates are forced → [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] DependencyResolutionException - Apache Maven - Apache Software Foundation
Process finished with exit code 1
And My pom.xml file is
<?xml version="1.0" encoding="UTF-8"?>
<!--
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.travelagit</groupId>
<artifactId>ExternalImage</artifactId>
<version>test</version>
<name>xwiki-property-test</name>
<description>xwiki-property-test</description>
<properties>
<commons.version>5.4.4</commons.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>XWiki Releases Repository</id>
<name>XWiki Releases Repository for Maven</name>
<url>http://maven.xwiki.org/releases/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-component-api</artifactId>
<version>${commons.version}</version>
</dependency>
<!-- Only needed if some of the component's APIs must be made visible to scripting in wiki pages -->
<dependency>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-script</artifactId>
<version>${commons.version}</version>
</dependency>
<!-- Testing dependencies -->
<dependency>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-test-component</artifactId>
<version>${commons.version}</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.xwiki.platform/xwiki-platform-oldcore -->
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-oldcore</artifactId>
<version>9.11</version>
</dependency>
</dependencies>
</project>
Please help me solve this problem.