[xwiki-devs] [Proposal] Standardize on Maven 2.0.9 for our build
Hi, Since Maven 2.0.9 is now released and it works with our build we should standardize on it rather than using a"non-official" 2.1 snapshot version. I'm thus proposing to move the maven version we use for Continuum on Maven 2.0.9 and to change the Building page to remove our snapshot version and change the text to say that to build XWiki you need Maven 2.0.9 or greater. WDYT? Thanks -Vincent
+1 On Thu, Apr 17, 2008 at 2:46 PM, Vincent Massol <[email protected]> wrote:
Hi,
Since Maven 2.0.9 is now released and it works with our build we should standardize on it rather than using a"non-official" 2.1 snapshot version.
I'm thus proposing to move the maven version we use for Continuum on Maven 2.0.9 and to change the Building page to remove our snapshot version and change the text to say that to build XWiki you need Maven 2.0.9 or greater.
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Jean-Vincent Drean
+1 On Thu, Apr 17, 2008 at 2:46 PM, Vincent Massol <[email protected]> wrote:
Hi,
Since Maven 2.0.9 is now released and it works with our build we should standardize on it rather than using a"non-official" 2.1 snapshot version.
I'm thus proposing to move the maven version we use for Continuum on Maven 2.0.9 and to change the Building page to remove our snapshot version and change the text to say that to build XWiki you need Maven 2.0.9 or greater.
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
+1 indeed. On Thu, Apr 17, 2008 at 6:16 PM, Vincent Massol <[email protected]> wrote:
Hi,
Since Maven 2.0.9 is now released and it works with our build we should standardize on it rather than using a"non-official" 2.1 snapshot version.
I'm thus proposing to move the maven version we use for Continuum on Maven 2.0.9 and to change the Building page to remove our snapshot version and change the text to say that to build XWiki you need Maven 2.0.9 or greater.
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
+1 Vincent Massol wrote:
Hi,
Since Maven 2.0.9 is now released and it works with our build we should standardize on it rather than using a"non-official" 2.1 snapshot version.
I'm thus proposing to move the maven version we use for Continuum on Maven 2.0.9 and to change the Building page to remove our snapshot version and change the text to say that to build XWiki you need Maven 2.0.9 or greater.
WDYT?
-- Artem Melentyev
-1 I tried it first to see if it works. On a clean trunks, the first build was wrong, meaning that the final distribution zip didn't have any skins and the database directory wasn't found, although it was there. Tried again with the 2.1 snapshot a clean + install, and it worked fine. Tried again with 2.0.9 a clean + install and it worked fine. Then I cleaned the local repo (only the xwiki packages) and built again, using 2.0.9, and I got a broken build. Can somebody else reproduce this? Vincent Massol wrote:
Hi,
Since Maven 2.0.9 is now released and it works with our build we should standardize on it rather than using a"non-official" 2.1 snapshot version.
I'm thus proposing to move the maven version we use for Continuum on Maven 2.0.9 and to change the Building page to remove our snapshot version and change the text to say that to build XWiki you need Maven 2.0.9 or greater.
WDYT?
Thanks -Vincent
-- Sergiu Dumitriu http://purl.org/net/sergiu/
I've reproduced it: $ cd xwiki-product-enterprise/database/ $ mvn clean install produce empty hsql db. while $ cd xwiki-product-enterprise/database/hsql $ mvn clean install works fine. looks like http://markmail.org/message/cmqtvc2neuux5spn It skip these goals: [INFO] [xwiki-xar:unxar] [INFO] [xwiki-packager-plugin:import] So I change my vote to -1. Sergiu Dumitriu wrote:
-1
I tried it first to see if it works. On a clean trunks, the first build was wrong, meaning that the final distribution zip didn't have any skins and the database directory wasn't found, although it was there. Tried again with the 2.1 snapshot a clean + install, and it worked fine. Tried again with 2.0.9 a clean + install and it worked fine. Then I cleaned the local repo (only the xwiki packages) and built again, using 2.0.9, and I got a broken build.
Can somebody else reproduce this?
-- Artem Melentyev
Ok i voted without testing it ( i thought it works as advertised ). Anyway this is my experience, `mvn clean install` just after upgrading - No build errors but missing skins. `mvn clean install` after clearing com.xpn & org.xwiki packages from local repo - No build errors but still missing skins. Is there a way we can fix this skin issue ? if we can somehow fix it, it would be nice to standardize on maven 2.0.9. I hope this proposal is not dropped yet. Thanks. - Asiri On Thu, Apr 17, 2008 at 9:06 PM, Sergiu Dumitriu <[email protected]> wrote:
-1
I tried it first to see if it works. On a clean trunks, the first build was wrong, meaning that the final distribution zip didn't have any skins and the database directory wasn't found, although it was there. Tried again with the 2.1 snapshot a clean + install, and it worked fine. Tried again with 2.0.9 a clean + install and it worked fine. Then I cleaned the local repo (only the xwiki packages) and built again, using 2.0.9, and I got a broken build.
Can somebody else reproduce this?
Vincent Massol wrote:
Hi,
Since Maven 2.0.9 is now released and it works with our build we should standardize on it rather than using a"non-official" 2.1 snapshot version.
I'm thus proposing to move the maven version we use for Continuum on Maven 2.0.9 and to change the Building page to remove our snapshot version and change the text to say that to build XWiki you need Maven 2.0.9 or greater.
WDYT?
Thanks -Vincent
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
No the proposal is not dropped. We just need to make it work with 2.0.9. I haven't had the time to look into this but don't wait for me to find the solution :) Thanks -Vincent On Apr 19, 2008, at 6:48 PM, Asiri Rathnayake wrote:
Ok i voted without testing it ( i thought it works as advertised ).
Anyway this is my experience,
`mvn clean install` just after upgrading - No build errors but missing skins.
`mvn clean install` after clearing com.xpn & org.xwiki packages from local repo - No build errors but still missing skins.
Is there a way we can fix this skin issue ? if we can somehow fix it, it would be nice to standardize on maven 2.0.9. I hope this proposal is not dropped yet.
Thanks.
- Asiri
On Thu, Apr 17, 2008 at 9:06 PM, Sergiu Dumitriu <[email protected]> wrote:
-1
I tried it first to see if it works. On a clean trunks, the first build was wrong, meaning that the final distribution zip didn't have any skins and the database directory wasn't found, although it was there. Tried again with the 2.1 snapshot a clean + install, and it worked fine. Tried again with 2.0.9 a clean + install and it worked fine. Then I cleaned the local repo (only the xwiki packages) and built again, using 2.0.9, and I got a broken build.
Can somebody else reproduce this?
Vincent Massol wrote:
Hi,
Since Maven 2.0.9 is now released and it works with our build we should standardize on it rather than using a"non-official" 2.1 snapshot version.
I'm thus proposing to move the maven version we use for Continuum on Maven 2.0.9 and to change the Building page to remove our snapshot version and change the text to say that to build XWiki you need Maven 2.0.9 or greater.
WDYT?
Thanks -Vincent
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On Sat, Apr 19, 2008 at 10:27 PM, Vincent Massol <[email protected]> wrote:
No the proposal is not dropped. We just need to make it work with 2.0.9. I haven't had the time to look into this but don't wait for me to find the solution :)
May the solution is mentioned here; http://maven.apache.org/release-notes.html under the topic "*Changes that may affect existing builds*". But I'm not a maven expert. I only know how to use it :) Thanks. - Asiri
Thanks -Vincent
On Apr 19, 2008, at 6:48 PM, Asiri Rathnayake wrote:
Ok i voted without testing it ( i thought it works as advertised ).
Anyway this is my experience,
`mvn clean install` just after upgrading - No build errors but missing skins.
`mvn clean install` after clearing com.xpn & org.xwiki packages from local repo - No build errors but still missing skins.
Is there a way we can fix this skin issue ? if we can somehow fix it, it would be nice to standardize on maven 2.0.9. I hope this proposal is not dropped yet.
Thanks.
- Asiri
On Thu, Apr 17, 2008 at 9:06 PM, Sergiu Dumitriu <[email protected]> wrote:
-1
I tried it first to see if it works. On a clean trunks, the first build was wrong, meaning that the final distribution zip didn't have any skins and the database directory wasn't found, although it was there. Tried again with the 2.1 snapshot a clean + install, and it worked fine. Tried again with 2.0.9 a clean + install and it worked fine. Then I cleaned the local repo (only the xwiki packages) and built again, using 2.0.9, and I got a broken build.
Can somebody else reproduce this?
Vincent Massol wrote:
Hi,
Since Maven 2.0.9 is now released and it works with our build we should standardize on it rather than using a"non-official" 2.1 snapshot version.
I'm thus proposing to move the maven version we use for Continuum on Maven 2.0.9 and to change the Building page to remove our snapshot version and change the text to say that to build XWiki you need Maven 2.0.9 or greater.
WDYT?
Thanks -Vincent
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hi, devs. I found the cause: "prepare-package" phase is supported only in maven 2.1 (look at http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.ht...) I changed all "prepare-package" phases to "package" in xe/database and to "test" in web/standard ("package" works incorrectly here): http://rafb.net/p/SLjVW226.html maven-2.0.9 produce correct XE distribution now. Vincent Massol wrote:
No the proposal is not dropped. We just need to make it work with 2.0.9. I haven't had the time to look into this but don't wait for me to find the solution :)
-- Artem Melentyev
Hi, devs. The build (at trunk) is working on maven-2.0.9 and our 2.1-SNAPSHOT now. http://jira.xwiki.org/jira/browse/XWIKI-2346 Please install maven-2.0.9 and test the build. Artem Melentyev wrote:
I found the cause:
"prepare-package" phase is supported only in maven 2.1 (look at http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.ht...)
I changed all "prepare-package" phases to "package" in xe/database and to "test" in web/standard ("package" works incorrectly here): http://rafb.net/p/SLjVW226.html
maven-2.0.9 produce correct XE distribution now.
Vincent Massol wrote:
No the proposal is not dropped. We just need to make it work with 2.0.9. I haven't had the time to look into this but don't wait for me to find the solution :)
-- Artem Melentyev
On Mon, Apr 28, 2008 at 11:02 PM, Artem Melentyev <[email protected]> wrote:
Hi, devs.
The build (at trunk) is working on maven-2.0.9 and our 2.1-SNAPSHOT now. http://jira.xwiki.org/jira/browse/XWIKI-2346
Please install maven-2.0.9 and test the build.
So far nothing wrong. How can i be certain whether switching to maven-2.0.9 has caused no defects ? I mean, is there a compatibility test or something like that ? *doubtful* Thanks. - Asiri
Artem Melentyev wrote:
I found the cause:
"prepare-package" phase is supported only in maven 2.1 (look at
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.ht... )
I changed all "prepare-package" phases to "package" in xe/database and to "test" in web/standard ("package" works incorrectly here): http://rafb.net/p/SLjVW226.html
maven-2.0.9 produce correct XE distribution now.
Vincent Massol wrote:
No the proposal is not dropped. We just need to make it work with 2.0.9. I haven't had the time to look into this but don't wait for me to find the solution :)
-- Artem Melentyev _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On Apr 28, 2008, at 9:10 PM, Asiri Rathnayake wrote:
On Mon, Apr 28, 2008 at 11:02 PM, Artem Melentyev <[email protected]> wrote:
Hi, devs.
The build (at trunk) is working on maven-2.0.9 and our 2.1-SNAPSHOT now. http://jira.xwiki.org/jira/browse/XWIKI-2346
Please install maven-2.0.9 and test the build.
So far nothing wrong. How can i be certain whether switching to maven-2.0.9 has caused no defects ? I mean, is there a compatibility test or something like that ? *doubtful*
Just run the build. If it says successful, it works (tests are executed during the build). This is the best test we have :) -Vincent
Artem Melentyev wrote:
I found the cause:
"prepare-package" phase is supported only in maven 2.1 (look at
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.ht... )
I changed all "prepare-package" phases to "package" in xe/database and to "test" in web/standard ("package" works incorrectly here): http://rafb.net/p/SLjVW226.html
maven-2.0.9 produce correct XE distribution now.
Vincent Massol wrote:
No the proposal is not dropped. We just need to make it work with 2.0.9. I haven't had the time to look into this but don't wait for me to find the solution :)
-- Artem Melentyev _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On Tue, Apr 29, 2008 at 12:44 AM, Vincent Massol <[email protected]> wrote:
On Apr 28, 2008, at 9:10 PM, Asiri Rathnayake wrote:
On Mon, Apr 28, 2008 at 11:02 PM, Artem Melentyev <[email protected]> wrote:
Hi, devs.
The build (at trunk) is working on maven-2.0.9 and our 2.1-SNAPSHOT now. http://jira.xwiki.org/jira/browse/XWIKI-2346
Please install maven-2.0.9 and test the build.
So far nothing wrong. How can i be certain whether switching to maven-2.0.9 has caused no defects ? I mean, is there a compatibility test or something like that ? *doubtful*
Just run the build. If it says successful, it works (tests are executed during the build). This is the best test we have :)
In that case, i have a clean build .... :) Thanks. - Asiri
-Vincent
Artem Melentyev wrote:
I found the cause:
"prepare-package" phase is supported only in maven 2.1 (look at
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.ht...
)
I changed all "prepare-package" phases to "package" in xe/database and to "test" in web/standard ("package" works incorrectly here): http://rafb.net/p/SLjVW226.html
maven-2.0.9 produce correct XE distribution now.
Vincent Massol wrote:
No the proposal is not dropped. We just need to make it work with 2.0.9. I haven't had the time to look into this but don't wait for me to find the solution :)
-- Artem Melentyev _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Building fine with maven-2.0.9 on windows XP. JV. On Mon, Apr 28, 2008 at 7:32 PM, Artem Melentyev <[email protected]> wrote:
Hi, devs.
The build (at trunk) is working on maven-2.0.9 and our 2.1-SNAPSHOT now. http://jira.xwiki.org/jira/browse/XWIKI-2346
Please install maven-2.0.9 and test the build.
Artem Melentyev wrote:
I found the cause:
"prepare-package" phase is supported only in maven 2.1 (look at http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.ht...)
I changed all "prepare-package" phases to "package" in xe/database and to "test" in web/standard ("package" works incorrectly here): http://rafb.net/p/SLjVW226.html
maven-2.0.9 produce correct XE distribution now.
Vincent Massol wrote:
No the proposal is not dropped. We just need to make it work with 2.0.9. I haven't had the time to look into this but don't wait for me to find the solution :)
-- Artem Melentyev _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Jean-Vincent Drean
Artem Melentyev wrote:
Hi, devs.
The build (at trunk) is working on maven-2.0.9 and our 2.1-SNAPSHOT now. http://jira.xwiki.org/jira/browse/XWIKI-2346
Please install maven-2.0.9 and test the build.
Tested XE, works fine. The build should also be updated for the other products, as XEM contains an empty database, and Watch contains only the default XE pages. The Curriki build failed for me, but not due to maven errors (somebody should clean-up this product so that it can be easily deployed). Still, older branches/tags will not be build-able; isn't that an issue?
Artem Melentyev wrote:
I found the cause:
"prepare-package" phase is supported only in maven 2.1 (look at http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.ht...)
I changed all "prepare-package" phases to "package" in xe/database and to "test" in web/standard ("package" works incorrectly here): http://rafb.net/p/SLjVW226.html
maven-2.0.9 produce correct XE distribution now.
Vincent Massol wrote:
No the proposal is not dropped. We just need to make it work with 2.0.9. I haven't had the time to look into this but don't wait for me to find the solution :)
-- Sergiu Dumitriu http://purl.org/net/sergiu/
Sergiu Dumitriu wrote:
Artem Melentyev wrote:
The build (at trunk) is working on maven-2.0.9 and our 2.1-SNAPSHOT now. http://jira.xwiki.org/jira/browse/XWIKI-2346
Please install maven-2.0.9 and test the build.
Tested XE, works fine. The build should also be updated for the other products, as XEM contains an empty database, and Watch contains only the default XE pages. The Curriki build failed for me, but not due to maven errors (somebody should clean-up this product so that it can be easily deployed).
Still, older branches/tags will not be build-able; isn't that an issue?
Fixed for 1.4 branch and products. I think old tags don't need to fix. -- Artem Melentyev
participants (6)
-
Artem Melentyev -
Asiri Rathnayake -
Jean-Vincent Drean -
Sergiu Dumitriu -
Thomas Mortagne -
Vincent Massol