Hello franz, Thanks for your warm heart. > IIRC, the eclipse' content assist on XML is plugin specific. So as to > where it downloads > it (assuming it does) depends on the plugin. I have search any directory the file potentially located. But nothing is interesting.
> I don't think it can tell you what tags you can use under plugin > configuration tags since > these changes from pluign to plugin. In fact, it is. > [1] http://maven.apache.org/plugins/index.html > [2] http://maven.apache.org/ref/current/maven-model/maven.html Really, I must read the two docs when I write pom.xml. And I have to cumulate some experience for building pom file. Some general format used for writing pom.xml aren't clearly shown by the docs. a cup of Java, cheers! Sha Jiang franz see wrote: > > Good day to you, jiangshachina, > > IIRC, the eclipse' content assist on XML is plugin specific. So as to > where it downloads it (assuming it does) depends on the plugin. But im not > sure about this since I am not an eclipse plugin developer. > > Anyway, specifying the schema location does allow you to use content > assist on eclipse for most part. I don't think it can tell you what tags > you can use under plugin configuration tags since these changes from > pluign to plugin. When that happens, you may want to refer to [1] for more > information about the plugins. Usually, these apche maven plugin > documentations will have a "goals" section. In these goals section you > would be able to see the available goals, and the configurations available > to those goals. > > Furthermore, you can refer to [2] for more information about the pom... > Maven-model refers to the pom (aka. Project Object Model) :-) > > Cheers, > Franz > > [1] http://maven.apache.org/plugins/index.html > [2] http://maven.apache.org/ref/current/maven-model/maven.html > > jiangshachina wrote: >> >> Yes, thinks very much! >> Eclipse would download the xsd file? >> Where the file would be located? >> >> a cup of Java, cheers! >> Sha Jiang >> >> >> hermod.opstvedt wrote: >>> >>> Hi >>> >>> Replace the top of you pom with this: >>> >>> <?xml version="1.0" encoding="UTF-8"?> >>> <project xmlns="http://maven.apache.org/POM/4.0.0" >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 >>> http://maven.apache.org/maven-v4_0_0.xsd"> >>> >>> Then you will get it >>> >>> >>> Hermod >>> >>> -----Original Message----- >>> From: jiangshachina [mailto:[EMAIL PROTECTED] >>> Sent: Friday, November 03, 2006 4:13 AM >>> To: users@maven.apache.org >>> Subject: Add pom tags into Eclipse? >>> >>> >>> >>> Hello guys, >>> Can I add Maven pom tags into Eclipse? >>> Then I would get "content assist" when I'm writing pom.xml in Eclipse. >>> The same as that about Ant build.xml. >>> >>> a cup of Java, cheers! >>> Sha Jiang >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Add-pom-tags-into-Eclipse--tf2565506s177.html#a7150908 >>> Sent from the Maven - Users mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >>> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >>> * * >>> >>> This email with attachments is solely for the use of the individual or >>> entity to whom it is addressed. Please also be aware that the DnB NOR >>> Group >>> cannot accept any payment orders or other legally binding correspondence >>> with >>> customers as a part of an email. >>> >>> This email message has been virus checked by the anti virus programs >>> used >>> in the DnB NOR Group. >>> >>> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >>> * * >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Add-pom-tags-into-Eclipse--tf2565506s177.html#a7192509 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]