geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Foster <jfos...@tmtsaz.com>
Subject Re: Geronimo v2.1 Plan Creator => Deploy Liferay 4.1.1
Date Fri, 07 Mar 2008 23:03:20 GMT



djencks wrote:
> 
> Works OK for me.... is there some chance your copy of one of the  
> genesis poms got corrupted?  You might try rm -rf ~/.m2/repository/ 
> org/apache/geronimo/genesis
> 
> thanks
> david jencks
> 
> On Mar 7, 2008, at 2:41 PM, Jim Foster wrote:
> 
>>
>>
>> djencks wrote:
>>>
>>> Sorry for the delay, trying to get a release out is amazingly time-
>>> consuming.
>>>
>>
>> No problem, I figured as much.
>>
>>
>>
>> djencks wrote:
>>>
>>> On Mar 6, 2008, at 7:42 AM, Jim Foster wrote
>>>
>>>> djencks wrote:
>>>>>
>>>>> I'll see if I can write up an example later today, but meanwhile
>>>>> you might
>>>>> look at the mysql plugin for roller under plugins/roller/trunk.
>>>>>
>>>>
>>>>
>>>> I did take a look at roller, which is where I got the "basics" of
>>>> what I
>>>> know.
>>>>
>>>> However, building it presented problems, so I could only go so far.
>>>>
>>>> Here are my review notes for roller:
>>>>
>>>>
>>>> [1] Doing an mvn from the roller plugin root directory to do a top
>>>> level
>>>> build of the plugin yields the following:
>>>>
>>>>
>>>> -------------------------------------------------------------------- 
>>>> --
>>>> ---------------------------------
>>>>       [INFO] Scanning for projects...
>>>>       Downloading:
>>>> http://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/
>>>> project-config/1.4/project-config-1.4.pom
>>>>       [INFO]
>>>> -------------------------------------------------------------------- 
>>>> --
>>>> --
>>>>       [ERROR] FATAL ERROR
>>>>       [INFO]
>>>> -------------------------------------------------------------------- 
>>>> --
>>>> --
>>>>       [INFO] Failed to resolve artifact.
>>>>
>>>>       GroupId: org.apache.geronimo.genesis.config
>>>>       ArtifactId: project-config
>>>>       Version: 1.4
>>>>
>>>
>>> Yup, this is part of trying to get ready for the roller plugin
>>> release.  If you change it to 1.3 it should work.
>>> <snip>
>>>
>>>
>>>> [2] Missing artifacts
>>>>
>>>>       [INFO]
>>>> -------------------------------------------------------------------- 
>>>> --
>>>> --
>>>>       [ERROR] BUILD ERROR
>>>>       [INFO]
>>>> -------------------------------------------------------------------- 
>>>> --
>>>> --
>>>>       [INFO] Failed to resolve artifact.
>>>>
>>>>
>>>
>>> I've fixed these two to artifacts I'm pretty sure are available :-)
>>>
>>>>
>>>>
>>>> Did I miss something obvious, or does this also need some  
>>>> tweaking, as
>>>> indicated above?
>>>
>>> Should be better now :-)  Please let me know if there are more  
>>> problems.
>>>
>>> david jencks
>>>
>>>>
>>>> Jim
>>>> -- 
>>>> View this message in context: http://www.nabble.com/Geronimo-v2.1-
>>>> Plan-Creator-%3D%3E-Deploy-Liferay-4.1.1- 
>>>> tp15437773s134p15875526.html
>>>> Sent from the Apache Geronimo - Users mailing list archive at
>>>> Nabble.com.
>>>>
>>>
>>>
>>
>>
>>
>> I think we need to revisit this.
>>
>> Having this in roller/pom.xml:
>>
>>     <parent>
>>         <groupId>org.apache.geronimo.genesis.config</groupId>
>>         <artifactId>project-config</artifactId>
>>         <version>1.3</version>
>>     </parent>
>>
>>
>> yields the following:
>>
>>
>> [INFO] Scanning for projects...
>> [INFO]
>> ---------------------------------------------------------------------- 
>> --
>> [ERROR] FATAL ERROR
>> [INFO]
>> ---------------------------------------------------------------------- 
>> --
>> [INFO] Error building POM (may not be this project's POM).
>>
>>
>> Project ID: org.apache.geronimo.plugins:roller-parent:pom:1.0-SNAPSHOT
>>
>> Reason: Cannot find parent:
>> org.apache.geronimo.genesis.config:project-config for project:
>> org.apache.geronimo.plugins:roller-parent:pom:1.0-SNAPSHOT for project
>> org.apache.geronimo.plugins:roller-par
>> ent:pom:1.0-SNAPSHOT
>>
>>
>> [INFO]
>> ---------------------------------------------------------------------- 
>> --
>> [INFO] Trace
>> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
>> org.apache.geronimo.genesis.config:project-config for project:
>> org.apache.geronimo.plugins:roller-parent:pom:1.0-SNAPSHOT for proj
>> ect org.apache.geronimo.plugins:roller-parent:pom:1.0-SNAPSHOT
>>         at org.apache.maven.DefaultMaven.getProjects 
>> (DefaultMaven.java:378)
>>         at org.apache.maven.DefaultMaven.doExecute 
>> (DefaultMaven.java:290)
>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: 
>> 125)
>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>>         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:585)
>>         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: org.apache.geronimo.genesis.config:project-config for project:
>> org.apache.geronimo.plugins:roller-parent:pom:1.0-SNAPS
>> HOT for project org.apache.geronimo.plugins:roller-parent:pom:1.0- 
>> SNAPSHOT
>>         at
>> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage 
>> (DefaultMavenProjectBuilder.java:1261)
>>         at
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal 
>> (DefaultMavenProjectBuilder.java:747)
>>         at
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFil 
>> eInternal(DefaultMavenProjectBuilder.java:479)
>>         at
>> org.apache.maven.project.DefaultMavenProjectBuilder.build 
>> (DefaultMavenProjectBuilder.java:200)
>>         at org.apache.maven.DefaultMaven.getProject 
>> (DefaultMaven.java:553)
>>         at
>> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:467)
>>         at org.apache.maven.DefaultMaven.getProjects 
>> (DefaultMaven.java:364)
>>         ... 11 more
>> Caused by: org.apache.maven.project.InvalidProjectModelException:  
>> Parse
>> error reading POM. Reason: only whitespace content allowed before  
>> start tag
>> and not \uef (position: START_DOCUMENT seen \uef...
>> @1:1)  for project org.apache.geronimo.genesis.config:project- 
>> config at
>> R:\.m2\org\apache\geronimo\genesis\config\project-config\1.3 
>> \project-config-1.3.pom
>>         at
>> org.apache.maven.project.DefaultMavenProjectBuilder.readModel 
>> (DefaultMavenProjectBuilder.java:1422)
>>         at
>> org.apache.maven.project.DefaultMavenProjectBuilder.readModel 
>> (DefaultMavenProjectBuilder.java:1379)
>>         at
>> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepos 
>> itory(DefaultMavenProjectBuilder.java:530)
>>         at
>> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage 
>> (DefaultMavenProjectBuilder.java:1257)
>>         ... 17 more
>> Caused by:  
>> org.codehaus.plexus.util.xml.pull.XmlPullParserException: only
>> whitespace content allowed before start tag and not \uef (position:
>> START_DOCUMENT seen \uef... @1:1)
>>         at
>> org.codehaus.plexus.util.xml.pull.MXParser.parseProlog 
>> (MXParser.java:1516)
>>         at
>> org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java: 
>> 1392)
>>         at
>> org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1090)
>>         at
>> org.apache.maven.model.io.xpp3.MavenXpp3Reader.read 
>> (MavenXpp3Reader.java:4419)
>>         at
>> org.apache.maven.project.DefaultMavenProjectBuilder.readModel 
>> (DefaultMavenProjectBuilder.java:1418)
>>         ... 20 more
>> [INFO]
>> ---------------------------------------------------------------------- 
>> --
>> [INFO] Total time: < 1 second
>> [INFO] Finished at: Fri Mar 07 15:22:52 MST 2008
>> [INFO] Final Memory: 1M/2M
>> [INFO]
>> ---------------------------------------------------------------------- 
>> --
>>
>>
>>
>> For the record, I am using the latest and greatest from both Roller  
>> and
>> Geronimo, namely:
>>
>> https://svn.apache.org/repos/asf/roller/tags/roller_4.0/
>> Revision 634853
>>
>> https://svn.apache.org/repos/asf/geronimo/plugins/roller/trunk/
>> Revision 634853
>>
>> and am following your instructions at
>> https://svn.apache.org/repos/asf/geronimo/plugins/roller/trunk/README
>>
>>
>> Jim
>> -- 
>> View this message in context: http://www.nabble.com/Geronimo-v2.1- 
>> Plan-Creator-%3D%3E-Deploy-Liferay-4.1.1-tp15437773s134p15908001.html
>> Sent from the Apache Geronimo - Users mailing list archive at  
>> Nabble.com.
>>
> 
> 
> 


Hi David,

Good catch!

I deleted that entire genesis directory and rebuilt fresh, and it worked!

I have a self-imposed "hands-off" policy with my local repository, so I have
no clue as to why it got corrupted.


Jim
-- 
View this message in context: http://www.nabble.com/Geronimo-v2.1-Plan-Creator-%3D%3E-Deploy-Liferay-4.1.1-tp15437773s134p15908361.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message