tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Albert Kam <moonblade.w...@gmail.com>
Subject Re: tomcat7:run with multi maven modules changes
Date Wed, 09 May 2012 07:22:39 GMT
Aha, now the warning is gone. The cause was the old snapshot
repository and pluginRepository i was still using.
Thank you !

On Wed, May 9, 2012 at 1:33 PM, Olivier Lamy <olamy@apache.org> wrote:
> 2012/5/9 Albert Kam <moonblade.wolf@gmail.com>:
>> After the advices, i took a peek on the the eclipse maven run
>> configuration that i use to launch tomcat7:run, and i notice the
>> checkbox : "Resolve Workspace Artifacts".
>> Ticking that checkbox, and re-run the tomcat7:run works great now,
>> which can see the other modules' changes without rebuilding !
>>
>> Thanks a lot, i feel i can begin my fire dance now !
>>
>> Anyway, i just want to report something that may not be related with
>> this topic in case that'd be useful.
>> I have these warnings when starting up tomcat7:run :
>>
>> [INFO] Scanning for projects...
>> [WARNING] The metadata
>> C:\Users\albert\.m2\repository\org\apache\tomcat\maven\tomcat7-maven-plugin\2.0-SNAPSHOT\maven-metadata-apa
>> che.snapshots.xml is invalid: end tag name </head> must be the same as
>> start tag <link> from line 56 (position: TEXT seen ...arset
>> ="utf-8">\n    Ext.onReady(Sonatype.init);\n  </script>\n</head>...
@65:8)
>> [WARNING] The metadata
>> C:\Users\albert\.m2\repository\org\apache\tomcat\maven\tomcat7-maven-plugin\2.0-SNAPSHOT\maven-metadata-apa
>> che.snapshots.xml is invalid: end tag name </head> must be the same as
>> start tag <link> from line 56 (position: TEXT seen ...arset
>> ="utf-8">\n    Ext.onReady(Sonatype.init);\n  </script>\n</head>...
@65:8)
>> [WARNING] The metadata
>> C:\Users\albert\.m2\repository\org\apache\tomcat\maven\tomcat-maven-plugin\2.0-SNAPSHOT\maven-metadata-apac
>> he.snapshots.xml is invalid: end tag name </head> must be the same as
>> start tag <link> from line 56 (position: TEXT seen ...arset=
>> "utf-8">\n    Ext.onReady(Sonatype.init);\n  </script>\n</head>...
@65:8)
>>
>
> It looks you have bad metadata locally.
> Maybe a misconfigured repo manager. Delete files from
> C:\Users\albert\.m2\repository\org\apache\tomcat\maven\ to download
> all again.



-- 
Do not pursue the past. Do not lose yourself in the future.
The past no longer is. The future has not yet come.
Looking deeply at life as it is in the very here and now,
the practitioner dwells in stability and freedom.
(Thich Nhat Hanh)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message