Re: [xwiki-commits] r2972 - xwiki/trunk
Hi Sergiu, Just to let you know it's dangerous to depend on a snapshot version as it means anytime they update their snapshot we'll get the update so our build can start to fail at any time. Also, we cannot release XWiki if we have snapshot versions (at least that's the maven strategy and maven will even prevent you from doing a release) so we'll need to fix before we release 1.1 B1. I see Hibernate has used some timestamped versions, maybe we could do the same or use their versions: http://repo1.maven.org/maven2/org/hibernate/jtidy/ Thanks -Vincent On Apr 24, 2007, at 4:25 AM, Sergiu Dumitriu wrote:
Author: sdumitriu Date: 2007-04-24 04:25:11 +0200 (Tue, 24 Apr 2007) New Revision: 2972
Modified: xwiki/trunk/pom.xml Log: Adding the JTidy maven repository to the list of known repos.
Modified: xwiki/trunk/pom.xml =================================================================== --- xwiki/trunk/pom.xml 2007-04-24 01:57:38 UTC (rev 2971) +++ xwiki/trunk/pom.xml 2007-04-24 02:25:11 UTC (rev 2972) @@ -55,6 +55,14 @@ <enabled>true</enabled> </releases> </repository> + <repository> + <id>jtidy</id> + <name>JTidy Maven2 Remote Repository</name> + <url>http://jtidy.sourceforge.net/snapshots/</url> + <releases> + <enabled>true</enabled> + </releases> + </repository> </repositories> </project>
\ No newline at end of file
oh, just seen you've merged this to 1.0. It's not an issue for our Ant build as we're committing the snapshot jar in lib/ but it is for our m2 build. We're not using it for doing releases so it's not an urgent issue but we'll need to fix this nonetheless. Thanks -Vincent On Apr 24, 2007, at 9:07 AM, Vincent Massol wrote:
Hi Sergiu,
Just to let you know it's dangerous to depend on a snapshot version as it means anytime they update their snapshot we'll get the update so our build can start to fail at any time. Also, we cannot release XWiki if we have snapshot versions (at least that's the maven strategy and maven will even prevent you from doing a release) so we'll need to fix before we release 1.1 B1.
I see Hibernate has used some timestamped versions, maybe we could do the same or use their versions: http://repo1.maven.org/maven2/org/hibernate/jtidy/
Thanks -Vincent
On Apr 24, 2007, at 4:25 AM, Sergiu Dumitriu wrote:
Author: sdumitriu Date: 2007-04-24 04:25:11 +0200 (Tue, 24 Apr 2007) New Revision: 2972
Modified: xwiki/trunk/pom.xml Log: Adding the JTidy maven repository to the list of known repos.
Modified: xwiki/trunk/pom.xml =================================================================== --- xwiki/trunk/pom.xml 2007-04-24 01:57:38 UTC (rev 2971) +++ xwiki/trunk/pom.xml 2007-04-24 02:25:11 UTC (rev 2972) @@ -55,6 +55,14 @@ <enabled>true</enabled> </releases> </repository> + <repository> + <id>jtidy</id> + <name>JTidy Maven2 Remote Repository</name> + <url>http://jtidy.sourceforge.net/snapshots/</url> + <releases> + <enabled>true</enabled> + </releases> + </repository> </repositories> </project>
\ No newline at end of file
Another issue: the m2 build is failing now: [INFO] ------------------------------------------------------------------------ [INFO] Error for project: XWiki Core (during org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile) [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) xerces:dom3-xml-apis:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=xerces -DartifactId=dom3- xml-apis \ -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) com.xpn.xwiki:xwiki-core:jar:1.1-SNAPSHOT 2) jtidy:jtidy:jar:8.0-SNAPSHOT 3) xerces:dom3-xml-apis:jar:1.0 This means that JTidy depends on xerces:dom3-xml-apis which cannot be found in the remote repos. Thanks -Vincent PS: Re fixed dependency for JTidy we could use a timestamp to one of these: http://jtidy.sourceforge.net/snapshots/jtidy/jtidy/8.0-SNAPSHOT/ On Apr 24, 2007, at 9:09 AM, Vincent Massol wrote:
oh, just seen you've merged this to 1.0. It's not an issue for our Ant build as we're committing the snapshot jar in lib/ but it is for our m2 build. We're not using it for doing releases so it's not an urgent issue but we'll need to fix this nonetheless.
Thanks -Vincent
On Apr 24, 2007, at 9:07 AM, Vincent Massol wrote:
Hi Sergiu,
Just to let you know it's dangerous to depend on a snapshot version as it means anytime they update their snapshot we'll get the update so our build can start to fail at any time. Also, we cannot release XWiki if we have snapshot versions (at least that's the maven strategy and maven will even prevent you from doing a release) so we'll need to fix before we release 1.1 B1.
I see Hibernate has used some timestamped versions, maybe we could do the same or use their versions: http://repo1.maven.org/maven2/org/hibernate/jtidy/
Thanks -Vincent
On Apr 24, 2007, at 4:25 AM, Sergiu Dumitriu wrote:
Author: sdumitriu Date: 2007-04-24 04:25:11 +0200 (Tue, 24 Apr 2007) New Revision: 2972
Modified: xwiki/trunk/pom.xml Log: Adding the JTidy maven repository to the list of known repos.
Modified: xwiki/trunk/pom.xml =================================================================== --- xwiki/trunk/pom.xml 2007-04-24 01:57:38 UTC (rev 2971) +++ xwiki/trunk/pom.xml 2007-04-24 02:25:11 UTC (rev 2972) @@ -55,6 +55,14 @@ <enabled>true</enabled> </releases> </repository> + <repository> + <id>jtidy</id> + <name>JTidy Maven2 Remote Repository</name> + <url>http://jtidy.sourceforge.net/snapshots/</url> + <releases> + <enabled>true</enabled> + </releases> + </repository> </repositories> </project>
\ No newline at end of file
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
ok I've fixed these issues. I've excluded the dom3-xml-apis jar as you didn't use it for the Ant build so I assumed it wasn't used. Hope this is correct. Thanks -Vincent On Apr 24, 2007, at 9:16 AM, Vincent Massol wrote:
Another issue: the m2 build is failing now:
[INFO] ---------------------------------------------------------------------- -- [INFO] Error for project: XWiki Core (during org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile) [INFO] ---------------------------------------------------------------------- -- [INFO] Failed to resolve artifact.
Missing: ---------- 1) xerces:dom3-xml-apis:jar:1.0
Try downloading the file manually from the project website.
Then, install it using the command: mvn install:install-file -DgroupId=xerces -DartifactId=dom3- xml-apis \ -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency: 1) com.xpn.xwiki:xwiki-core:jar:1.1-SNAPSHOT 2) jtidy:jtidy:jar:8.0-SNAPSHOT 3) xerces:dom3-xml-apis:jar:1.0
This means that JTidy depends on xerces:dom3-xml-apis which cannot be found in the remote repos.
Thanks -Vincent
PS: Re fixed dependency for JTidy we could use a timestamp to one of these: http://jtidy.sourceforge.net/snapshots/jtidy/jtidy/8.0- SNAPSHOT/
On Apr 24, 2007, at 9:09 AM, Vincent Massol wrote:
oh, just seen you've merged this to 1.0. It's not an issue for our Ant build as we're committing the snapshot jar in lib/ but it is for our m2 build. We're not using it for doing releases so it's not an urgent issue but we'll need to fix this nonetheless.
Thanks -Vincent
On Apr 24, 2007, at 9:07 AM, Vincent Massol wrote:
Hi Sergiu,
Just to let you know it's dangerous to depend on a snapshot version as it means anytime they update their snapshot we'll get the update so our build can start to fail at any time. Also, we cannot release XWiki if we have snapshot versions (at least that's the maven strategy and maven will even prevent you from doing a release) so we'll need to fix before we release 1.1 B1.
I see Hibernate has used some timestamped versions, maybe we could do the same or use their versions: http://repo1.maven.org/maven2/org/hibernate/jtidy/
Thanks -Vincent
On Apr 24, 2007, at 4:25 AM, Sergiu Dumitriu wrote:
Author: sdumitriu Date: 2007-04-24 04:25:11 +0200 (Tue, 24 Apr 2007) New Revision: 2972
Modified: xwiki/trunk/pom.xml Log: Adding the JTidy maven repository to the list of known repos.
Modified: xwiki/trunk/pom.xml =================================================================== --- xwiki/trunk/pom.xml 2007-04-24 01:57:38 UTC (rev 2971) +++ xwiki/trunk/pom.xml 2007-04-24 02:25:11 UTC (rev 2972) @@ -55,6 +55,14 @@ <enabled>true</enabled> </releases> </repository> + <repository> + <id>jtidy</id> + <name>JTidy Maven2 Remote Repository</name> + <url>http://jtidy.sourceforge.net/snapshots/</url> + <releases> + <enabled>true</enabled> + </releases> + </repository> </repositories> </project>
\ No newline at end of file
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http:// www.objectweb.org/wws
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
participants (1)
-
Vincent Massol