OK I was able to get it working now and I know what caused the problem.
When I had built the xwiki\xwiki-platform-core it had only updated the jar
under xwiki\xwiki-platform-core\xwiki-core.
Then I had to go and build all the sub dir under xwiki-platform-core and all
their jars got updated.
Thus the problem got solved.
However I then faced with a new problem when trying to build
xwiki-patchservice
It gave me the following error:
[INFO] compiler:compile
[INFO] Compiling 36 source files to
E:\xwiki\xwiki-platform-core\xwiki-patchservice\target\classes
org.apache.maven.plugin.CompilationFailureException: Compilation failure
at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:578)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:508)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:328)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:151)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:220)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:813)
at
org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java:85)
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD FAILURE
org.xwiki.platform:xwiki-core-patchservice:jar:1.0-SNAPSHOT ( task-segment:
[install] )
[INFO]
----------------------------------------------------------------------------
[INFO] Build for project:
org.xwiki.platform:xwiki-core-patchservice:jar:1.0-SNAPSHOT failed during
execution of mojo:
org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
[INFO]
----------------------------------------------------------------------------
I don't know why this error as I see all my files compiled under the eclipse
project of xwiki-patchservice.
Also I have created an account at TeamCity.
Thanks
Sachin
vmassol wrote:
Hi Sachin,
The answer is here:
http://teamcity.xwiki.org/overview.html
This our CI so whenever you have a build not working you can check it
to see whether it's a local issue or not.
Maybe you could tell us how to reproduce your problem. Also please do
a svn up and build again to ensure you have the latest sources.
Let us know also what you're checking out.
-Vincent
-----
http://www.assembla.com/wiki/show/sachin_mittal about me:
--
View this message in context:
http://www.nabble.com/latest-deployment-from-source-failing-tp15399312p1540…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.