Exactly what do did you check out (svn info from the base directory)
and what from which directory are you trying to build ?
g
On Nov 23, 2007, at 10:30 , E Smith wrote:
Hi,
I am using Maven v 2.0.6, though have tested on maven 2.0.7 as well
and get the same error.
No I havent modified the pom.xml file. Have just checked out from SVN
and attempted to compile as I usually do with Maven. For some reason
the current Magnolia version doesnt build for me. I used the command
"mvn clean install" Here is the stack trace, I hope some light can be
shed on this issue.
Thanks sincerely for your help and apologies if I have missed
something,
[INFO]
----------------------------------------------------------------------
--
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:560)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLif
ecycle(DefaultLifecycleExecutor.java:480)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand
leFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment
s(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute
(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced
(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode
(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: 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:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:539)
... 16 more
[INFO]
----------------------------------------------------------------------
--
[INFO] Total time: 17 seconds
[INFO] Finished at: Fri Nov 23 16:18:16 ICT 2007
[INFO] Final Memory: 20M/63M
[INFO]
----------------------------------------------------------------------
--
On Nov 21, 2007 6:47 PM, Grégory Joseph <[email protected]>
wrote:
What version of maven do you use? Have you modified the pom.xml files
in any way, locally ? And err.. what command did you even use?
I'm asking all this because most of all, maven should complain it
didn't find the jcr dependency, long before the compiler gets a
chance to barf...
g
On Nov 21, 2007, at 11:06 , E Smith wrote:
Has anyone tried building the 3.5 rc1 release under maven?
On Nov 17, 2007 10:19 AM, E Smith <[email protected]> wrote:
Hello,
We have just checked out the recent Magnolia build from SVN and
performed a MAVEN build however getting the following errors
below. Is
this something I can fix on my end? Thanks for any pointers or
directions I need to take.
[INFO]
-------------------------------------------------------------------
--
-------
[INFO]
-------------------------------------------------------------------
--
-------
[INFO] Building magnolia-core
[INFO] task-segment: [package]
[INFO]
-------------------------------------------------------------------
--
-------
[INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking
for updates from magnolia
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
checking for updates from magnolia
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin:
checking for updates from magnolia
[INFO] enforcer:enforce
[INFO] setproperty:set-property
[INFO] property magnolia.currentDate set to value 17. November 2007
(scope: project)
[INFO] property magnolia.niceVersion set to value 3.5 (Snapshot:
17.11.2007 09:50:13) (scope: project)
[INFO] property magnolia.releaseDate set to value 17. November 2007
(scope: project)
[INFO] resources:resources
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] compiler:compile
[INFO] Compiling 436 source files to C:\MyDrive~My
Documents\workspace\magnolia\magnolia-core\target\classes
[ERROR] mojo-execute : compiler:compile
Diagnosis: Compilation failure
FATAL ERROR: Error executing Maven for a project
[ERROR] project-execute : info.magnolia:magnolia-core:jar:3.5-
SNAPSHOT
( task-segment: [package] )
Diagnosis: Compilation failure
[INFO]
-------------------------------------------------------------------
--
---
[ERROR] BUILD ERROR
[INFO]
-------------------------------------------------------------------
--
---
[INFO] Compilation failure
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\security\AccessDeniedException.java:[40,52]
package javax.jcr does not exist
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\core\Content.java:[41,16]
package javax.jcr does not exist
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\core\Content.java:[42,16]
package javax.jcr does not exist
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\core\Content.java:[43,16]
package javax.jcr does not exist
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\core\Content.java:[44,16]
package javax.jcr does not exist
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\core\Content.java:[45,16]
package javax.jcr does not exist
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\core\Content.java:[46,16]
package javax.jcr does not exist
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\core\Content.java:[47,21]
package javax.jcr.lock does not exist
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\core\Content.java:[48,21]
package javax.jcr.lock does not exist
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\core\Content.java:[49,25]
package javax.jcr.nodetype does not exist
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\core\Content.java:[50,24]
package javax.jcr.version does not exist
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\core\Content.java:[51,24]
package javax.jcr.version does not exist
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\core\Content.java:[52,24]
package javax.jcr.version does not exist
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\core\Content.java:[53,24]
package javax.jcr.version does not exist
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\link\UUIDLink.java:[49,16]
package javax.jcr does not exist
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\link\UUIDLink.java:[50,16]
package javax.jcr does not exist
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\core\Content.java:[74,47]
cannot find symbol
symbol : class PathNotFoundException
location: interface info.magnolia.cms.core.Content
C:\MyDrive~My Documents\workspace\magnolia\magnolia-core\src\main
\java\info\magnolia\cms\core\Content.java:[74,70]
cannot find symbol
symbol : class RepositoryException
location: interface info.magnolia.cms.core.Content
........
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------