[ERROR]BUILD ERROR with maven
bonjour tout le monde j'ai un projet maven.lorsque j'essaye de le builder avec netbeans j'obtient l'erreur suivant:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
NetBeans: Executing 'mvn.bat install'
NetBeans: JAVA_HOME =C:\Program Files\Java\jdk1.6.0_02
Scanning for projects...
Reactor build order:
CMS - Conference Management System
CMS commons
CMS Webservice Client API
CMS ejb
CMS web
CMS ear
CMS webservice
------------------------------------------------------------------------
Building CMS - Conference Management System
task-segment: [install]
------------------------------------------------------------------------
[site:attach-descriptor]
------------------------------------------------------------------------
[ERROR]BUILD ERROR
------------------------------------------------------------------------
Error parsing site descriptor
Embedded error: Unrecognised tag: 'site' (position: START_TAG seen <?xml version="1.0" encoding="utf-8"?>\r\n<site>... @2:7)
------------------------------------------------------------------------
For more information, run Maven with the -e switch
------------------------------------------------------------------------
Total time: 3 seconds
Finished at: Mon Jan 26 14:14:58 GMT 2009
Final Memory: 7M/15M
------------------------------------------------------------------------ |
je comprend rien on maven .
pour le fichier site:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
<?xml version="1.0" encoding="utf-8"?>
<site>
<bannerLeft>
<name>CMS - Conference Management System</name>
</bannerLeft>
<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-stylus-skin</artifactId>
<version>1.0.1</version>
</skin>
<body>
<head>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2234632-1";
urchinTracker();
</script>
</head>
<menu name="CMS">
<item name="Introduction" href="intro.html" />
<item name="Design" href="design.html" />
<item name="Install" href="install.html" />
<item name="HDIV Integration (NEW!)" href="hdiv.html" />
<item name="Screenshots" href="screenshots.html" />
<item name="Web service" href="service.html" />
<item name="FAQ" href="faq.html" />
</menu>
<menu name="Modules" ref="modules"/>
<menu ref="reports"/>
<menu name="Links">
<item name="Source Codes" href="http://sourceforge.net/projects/conf-management" />
</menu>
</body>
</site> |