Changes for page Creating XWiki Components

Last modified by Simon Urli on 2023/10/10

From version 44.2
edited by Vincent Massol
on 2011/09/27
Change comment: There is no comment for this version
To version 44.3
edited by Vincent Massol
on 2011/11/28
Change comment: Fix dependencies

Summary

Details

Page properties
Content
... ... @@ -101,15 +101,15 @@
101 101  {{code language="xml"}}
102 102   <dependencies>
103 103   <dependency>
104 - <groupId>org.xwiki.platform</groupId>
105 - <artifactId>xwiki-core-component-default</artifactId>
106 - <version>${platform.core.version}</version>
104 + <groupId>org.xwiki.commons</groupId>
105 + <artifactId>xwiki-commons-component-default</artifactId>
106 + <version>${commons.version}</version>
107 107   </dependency>
108 108   <!-- Testing dependencies -->
109 109   <dependency>
110 - <groupId>org.xwiki.platform</groupId>
111 - <artifactId>xwiki-core-shared-tests</artifactId>
112 - <version>${platform.core.version}</version>
110 + <groupId>org.xwiki.commons</groupId>
111 + <artifactId>xwiki-commons-test</artifactId>
112 + <version>${commons.version}</version>
113 113   <scope>test</scope>
114 114   </dependency>
115 115   </dependencies>
... ... @@ -266,9 +266,9 @@
266 266  We also need to make the Script Service infrastructure available in our classpath. This is done by adding the following in your ##pom.xml## file:
267 267  {{code language="xml"}}
268 268  <dependency>
269 - <groupId>org.xwiki.platform</groupId>
270 - <artifactId>xwiki-core-script</artifactId>
271 - <version>${platform.core.version}</version>
269 + <groupId>org.xwiki.commons</groupId>
270 + <artifactId>xwiki-commons-script</artifactId>
271 + <version>${commons.version}</version>
272 272  </dependency>
273 273  {{/code}}
274 274  

Get Connected