From: "Adrian Butnaru" Received: from mo-p02-ob.rzone.de ([81.169.146.169] verified) by mail.obinary.com (CommuniGate Pro SMTP 5.1.10) with ESMTP id 14526666 for user-list@magnolia.info; Wed, 16 Jul 2008 21:20:41 +0200 X-RZG-CLASS-ID: mo02 X-RZG-AUTH: :LW4RYU6paeqETuoKsDDKvysunDzAORejsnFa37EB+OTesDjIfQQgLs3WM1+dQA== Received: from [192.168.1.10] (s5593244e.adsl.wanadoo.nl [85.147.36.78]) by post.webmailer.de (fruni mo27) (RZmta 16.47) with DHE-RSA-AES128-SHA encrypted ESMTP id k02308k6GJDu3i for ; Wed, 16 Jul 2008 21:20:40 +0200 (MEST) (envelope-from: ) Message-ID: <487E4A07.3040901@twools.nl> Date: Wed, 16 Jul 2008 21:20:39 +0200 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: user-list@magnolia.info Subject: Re: [magnolia-user] Problem with magnolia-module-forum References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Thanks Jan, I quit not the installation of the shell module. Wiki and Forum are very nice to have modules, but when I copy the resulted jars into my magnolia instances I cannot go further than thr update page. Where is the problem? Regards, Adrian Jan Haderka schreef: > Hi Adrian, > the reason svn update solved problem before was because Gregory fixed > the dependencies in pom.xml which were not correct. This is not so in > this case. pom.xml for shell module is perfectly valid. > If you look at http://documentation.magnolia.info/modules.html you will > find out that shell module depends on Magnolia 3.6+ and its pom.xml > points to Magnolia 3.6-SNAPSHOT as its parent, while you are trying to > compile it with having Magnolia 3.5.8 as a parent. Thus the compilation > failure. To build the module, you need to build current trunk of > Magnolia since version 3.6 was not released yet. > > And it tells you exactly what is wrong if you read the error properly: > >> :magnolia-project' not found in repository: Unable to download the >> artifact from >> any repository >> >> info.magnolia:magnolia-project:pom:3.6-SNAPSHOT >> >> > > Regards, > Jan > > On Wed, 2008-07-16 at 19:44 +0200, Adrian Butnaru wrote: > >> Thnaks Gregory, >> Worked! >> But now I have the same problem with magnolia-module-shell. I tried the >> same solution but it failed. >> I paste here the result. >> >> D:\magnolia-3.5.8\magnolia-module-shell>mvn -e install >> + Error stacktraces are turned on. >> [INFO] Scanning for projects... >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] FATAL ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Error building POM (may not be this project's POM). >> >> >> Project ID: null:magnolia-module-shell:jar:1.0-SNAPSHOT >> >> Reason: Cannot find parent: info.magnolia:magnolia-project for project: >> null:mag >> nolia-module-shell:jar:1.0-SNAPSHOT for project >> null:magnolia-module-shell:jar:1 >> .0-SNAPSHOT >> >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Trace >> org.apache.maven.reactor.MavenExecutionException: Cannot find parent: >> info.magno >> lia:magnolia-project for project: >> null:magnolia-module-shell:jar:1.0-SNAPSHOT fo >> r project null:magnolia-module-shell:jar:1.0-SNAPSHOT >> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:376) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:289) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >> java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces >> sorImpl.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.project.ProjectBuildingException: Cannot >> find parent >> : info.magnolia:magnolia-project for project: >> null:magnolia-module-shell:jar:1.0 >> -SNAPSHOT for project null:magnolia-module-shell:jar:1.0-SNAPSHOT >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D >> efaultMavenProjectBuilder.java:1259) >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Def >> aultMavenProjectBuilder.java:745) >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi >> leInternal(DefaultMavenProjectBuilder.java:476) >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave >> nProjectBuilder.java:197) >> at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:548) >> at >> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:458) >> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:362) >> ... 11 more >> Caused by: org.apache.maven.project.ProjectBuildingException: POM >> 'info.magnolia >> :magnolia-project' not found in repository: Unable to download the >> artifact from >> any repository >> >> info.magnolia:magnolia-project:pom:3.6-SNAPSHOT >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2) >> for project info.magnolia:magnolia-project >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo >> sitory(DefaultMavenProjectBuilder.java:571) >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D >> efaultMavenProjectBuilder.java:1255) >> ... 17 more >> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: >> Unable >> to download the artifact from any repository >> >> info.magnolia:magnolia-project:pom:3.6-SNAPSHOT >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2) >> >> at >> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De >> faultArtifactResolver.java:206) >> at >> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De >> faultArtifactResolver.java:73) >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo >> sitory(DefaultMavenProjectBuilder.java:524) >> ... 18 more >> Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable >> to downl >> oad the artifact from any repository >> at >> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def >> aultWagonManager.java:324) >> at >> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De >> faultArtifactResolver.java:194) >> ... 20 more >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: < 1 second >> [INFO] Finished at: Wed Jul 16 19:42:31 CEST 2008 >> [INFO] Final Memory: 1M/4M >> [INFO] >> ------------------------------------------------------------------------ >> Grégory Joseph schreef: >> >>> svn update >>> >>> On Jul 16, 2008, at 7:26 PM, Adrian Butnaru wrote: >>> >>> >>>> Hi, >>>> I checked out the forum module (also poll, pur, wiki module). When I >>>> try to build with maven I receive the following result. What am I do >>>> wrong? >>>> Can anybody help? >>>> >>>> Thanks, >>>> Adrian >>>> >>>> D:\magnolia-3.5.8\magnolia-module-forum>mvn -e install >>>> + Error stacktraces are turned on. >>>> [INFO] Scanning for projects... >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Building magnolia-module-forum >>>> [INFO] task-segment: [install] >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] [enforcer:enforce {execution: enforce}] >>>> [INFO] [setproperty:set-property {execution: currentDate}] >>>> [INFO] property magnoliaCurrentDate set to value 16. juli 2008 >>>> (scope: project) >>>> [INFO] property magnoliaNiceVersion set to value 1.0 (Snapshot: >>>> 16.07.2008 19:23 >>>> :14) (scope: project) >>>> [INFO] property magnoliaReleaseDate set to value 16. juli 2008 >>>> (scope: project) >>>> [INFO] Setting property: classpath.resource.loader.class => >>>> 'org.codehaus.plexus >>>> .velocity.ContextClassLoaderResourceLoader'. >>>> [INFO] Setting property: velocimacro.messages.on => 'false'. >>>> [INFO] Setting property: resource.loader => 'classpath'. >>>> [INFO] Setting property: resource.manager.logwhenfound => 'false'. >>>> [INFO] [remote-resources:process {execution: default}] >>>> [INFO] [resources:resources] >>>> [INFO] Using encoding: 'UTF-8' to copy filtered resources. >>>> [INFO] [compiler:compile] >>>> [INFO] Nothing to compile - all classes are up to date >>>> [INFO] [compiler:testCompile {execution: compile-tests}] >>>> [INFO] Compiling 4 source files to >>>> D:\magnolia-3.5.8\magnolia-module-forum\targe >>>> t\test-classes >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] BUILD FAILURE >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Compilation failure >>>> >>>> D:\magnolia-3.5.8\magnolia-module-forum\src\test\java\info\magnolia\module\forum >>>> >>>> \DefaultForumManagerTest.java:[52,28] cannot find symbol >>>> symbol : class SingleJCRSessionSystemContext >>>> location: package info.magnolia.context >>>> >>>> D:\magnolia-3.5.8\magnolia-module-forum\src\test\java\info\magnolia\module\forum >>>> >>>> \DefaultForumManagerTest.java:[130,66] cannot find symbol >>>> symbol : class SingleJCRSessionSystemContext >>>> location: class info.magnolia.module.forum.DefaultForumManagerTest >>>> >>>> >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Trace >>>> org.apache.maven.BuildFailureException: Compilation failure >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa >>>> ultLifecycleExecutor.java:560) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi >>>> fecycle(DefaultLifecycleExecutor.java:480) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau >>>> ltLifecycleExecutor.java:459) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan >>>> dleFailures(DefaultLifecycleExecutor.java:311) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen >>>> ts(DefaultLifecycleExecutor.java:278) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi >>>> fecycleExecutor.java:143) >>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) >>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) >>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>> at >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >>>> java:39) >>>> at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces >>>> sorImpl.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 fail >>>> ure >>>> at >>>> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler >>>> Mojo.java:516) >>>> at >>>> org.apache.maven.plugin.TestCompilerMojo.execute(TestCompilerMojo.jav >>>> a:102) >>>> at >>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi >>>> nManager.java:447) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa >>>> ultLifecycleExecutor.java:539) >>>> ... 16 more >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Total time: 5 seconds >>>> [INFO] Finished at: Wed Jul 16 19:23:17 CEST 2008 >>>> [INFO] Final Memory: 18M/32M >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> >>>> ---------------------------------------------------------------- >>>> for list details see >>>> http://documentation.magnolia.info/ >>>> ---------------------------------------------------------------- >>>> >>> ---------------------------------------------------------------- >>> for list details see >>> http://documentation.magnolia.info/ >>> ---------------------------------------------------------------- >>> >>> >>> >> ---------------------------------------------------------------- >> for list details see >> http://documentation.magnolia.info/ >> ---------------------------------------------------------------- >> > > > ---------------------------------------------------------------- > for list details see > http://documentation.magnolia.info/ > ---------------------------------------------------------------- > > >