<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"HelveticaNeueLT Pro 45 Lt";
        panose-1:2 11 4 3 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.E-MailFormatvorlage18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=DE link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Graeme, sorry for the late answer,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>looks like you are trying to run the goal directly on the webapp
project, which is not the usual way to do it. Try to call the goals clean and
package from the parent project.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Anyhow, the error is about an inexistent project ‘_setupProject’
which I don’t know about. If you send me the POMs, I could see what
happens.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Greetings<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </span><span lang=ES style='font-size:10.0pt;font-family:
"Arial","sans-serif";color:#FF7F00'>_________________________________________ <o:p></o:p></span></p>

<p class=MsoNormal><span lang=ES style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray'>   </span><span lang=ES style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:#FF7F00'><o:p></o:p></span></p>

<p class=MsoNormal><b><span lang=ES style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:gray'>Adrián Rodríguez</span></b><span lang=ES style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:#FF7F00'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=ES style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray'>IT-Berater</span><span lang=ES style='font-size:10.0pt;font-family:
"Arial","sans-serif";color:#FF7F00'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=ES style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray'>    </span><span lang=ES style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:#FF7F00'><o:p></o:p></span></p>

<p class=MsoNormal><b><span lang=ES style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray'>comundus GmbH</span></b><span lang=ES style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:#FF7F00'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray'>Schüttelgrabenring 3, D-71332 Waiblingen</span><span
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#FF7F00'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray'>Telefon +49 7151-50028-20</span><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:#FF7F00'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray'>E-Mail a.rodriguez@comundus.com</span><span style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:#FF7F00'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray'>Internet www.comundus.com</span><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:#FF7F00'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#FF7F00'> <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray'>Geschäftsführer Klaus Hillemeier  </span><span
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#FF7F00'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray'>Amtsgericht Stuttgart, HRB 264290</span><span style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:#FF7F00'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray'>         </span><span
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#FF7F00'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray'>comundus ist ein Unternehmen der IT EXCELLENCE Group</span><span
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#FF7F00'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#FF7F00'>_________________________________________<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#FF7F00'><o:p> </o:p></span></p>

</div>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0
 style='border-collapse:collapse'>
 <tr>
  <td width=85 valign=top style='width:63.4pt;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"HelveticaNeueLT Pro 45 Lt","sans-serif";
  color:#1F497D'><img width=64 height=67 id="Bild_x0020_11"
  src="cid:image001.jpg@01CB016E.E7EAB4A0" alt=Kundenzufriedenheit-bei-com></span></b><b><span
  style='font-size:9.0pt;font-family:"HelveticaNeueLT Pro 45 Lt","sans-serif";
  color:#1F497D'><o:p></o:p></span></b></p>
  </td>
  <td width=552 valign=top style='width:413.9pt;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
  color:#1F497D'><o:p> </o:p></span></p>
  <p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
  color:#1F497D'><o:p> </o:p></span></p>
  <p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
  color:#1F497D'>Die Kundenzufriedenheit bei comundus wieder verbessert -<br>
  Durchschnittsnote jetzt 1,7.<o:p></o:p></span></p>
  <p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"HelveticaNeueLT Pro 45 Lt","sans-serif";
  color:#1F497D'><o:p> </o:p></span></b></p>
  </td>
 </tr>
</table>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b>On
Behalf Of </b>Graeme Kidd<br>
<b>Sent:</b> Saturday, May 22, 2010 3:44 AM<br>
<b>To:</b> opencms-dev@opencms.org<br>
<b>Subject:</b> [opencms-dev] Maven Build Error<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'><br>
Hi,<br>
<br>
Its my first time useing maven and I seem to have run into trouble getting the
'mvn package' goal working. This is what happens when I try and run it:<br>
<br>
NetBeans: Executing '"C:\Program Files\Apache Software Foundation\Apache
Maven 2.2.1\bin\mvn.bat" -Dnetbeans.deploy=true -Dnetbeans.execution=true
package -e'<br>
NetBeans:      JAVA_HOME=C:\Program
Files\Java\jdk1.6.0_14<br>
+ Error stacktraces are turned on.<br>
Scanning for projects...<br>
------------------------------------------------------------------------<br>
Building OpenCms Webapp<br>
   task-segment: [package]<br>
------------------------------------------------------------------------<br>
[resources:resources]<br>
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e.
build is platform dependent!<br>
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
i.e. build is platform dependent!<br>
Copying 2 resources to ../webapp/WEB-INF/classes<br>
Copying 8 resources to ../webapp/WEB-INF/config<br>
[compiler:compile]<br>
No sources to compile<br>
[resources:testResources]<br>
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
i.e. build is platform dependent!<br>
skip non existing resourceDirectory
C:\Users\Graeme\Documents\NetBeansProjects\opencms-basic\webapp\src\test\resources<br>
[compiler:testCompile]<br>
No sources to compile<br>
[surefire:test]<br>
No tests to run.<br>
[war:war]<br>
Exploding webapp...<br>
Assembling webapp webapp in
C:\Users\Graeme\Documents\NetBeansProjects\opencms-basic\webapp\target\webapp<br>
Copy webapp webResources to C:\Users\Graeme\Documents\NetBeansProjects\opencms-basic\webapp\target\webapp<br>
Generating war
C:\Users\Graeme\Documents\NetBeansProjects\opencms-basic\webapp\target\webapp.war<br>
Building war:
C:\Users\Graeme\Documents\NetBeansProjects\opencms-basic\webapp\target\webapp.war<br>
[sql:execute]<br>
Executing file:
C:\Users\Graeme\Documents\NetBeansProjects\opencms-basic\webapp\src\main\scripts\create_tables.sql<br>
31 of 31 SQL statements executed successfully<br>
[vfs:setup]<br>
log4j:WARN No appenders could be found for logger (org.opencms.init).<br>
log4j:WARN Please initialize the log4j system properly.<br>
OpenCms: initial setup<br>
------------------------------------------------------------------------<br>
[ERROR]BUILD ERROR<br>
------------------------------------------------------------------------<br>
Failed to instantiate (abstract!)com.comundus.opencms.VfsSetup<br>
<br>
Embedded error: Error reading the project with the name
"_setupProject".<br>
Project with name "_setupProject" not found.<br>
------------------------------------------------------------------------<br>
Trace<br>
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to instantiate
(abstract!)com.comundus.opencms.VfsSetup<br>
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)<br>
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)<br>
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)<br>
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)<br>
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)<br>
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)<br>
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)<br>
        at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)<br>
        at
org.apache.maven.cli.MavenCli.main(MavenCli.java:362)<br>
        at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)<br>
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
        at
java.lang.reflect.Method.invoke(Method.java:597)<br>
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)<br>
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)<br>
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)<br>
        at
org.codehaus.classworlds.Launcher.main(Launcher.java:375)<br>
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to instantiate
(abstract!)com.comundus.opencms.VfsSetup<br>
        at
com.comundus.opencms.vfs.SetupMojo.execute(SetupMojo.java:98)<br>
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)<br>
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)<br>
        ... 17 more<br>
Caused by: org.opencms.db.CmsDbEntryNotFoundException: Error reading the
project with the name "_setupProject".<br>
        at
org.opencms.db.CmsDbEntryNotFoundException.createException(CmsDbEntryNotFoundException.java:75)<br>
        at
org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:238)<br>
        at
org.opencms.db.CmsDbContext.report(CmsDbContext.java:212)<br>
        at
org.opencms.db.CmsSecurityManager.readProject(CmsSecurityManager.java:3723)<br>
        at
org.opencms.file.CmsObject.readProject(CmsObject.java:3059)<br>
        at
com.comundus.opencms.VfsSetup.executeSetupTxt(VfsSetup.java:97)<br>
        at
com.comundus.opencms.VfsSetup.execute(VfsSetup.java:66)<br>
        at com.comundus.opencms.vfs.SetupMojo.execute(SetupMojo.java:73)<br>
        ... 19 more<br>
Caused by: org.opencms.db.CmsDbEntryNotFoundException: Project with name
"_setupProject" not found.<br>
        at
org.opencms.db.generic.CmsProjectDriver.readProject(CmsProjectDriver.java:1667)<br>
        at
org.opencms.db.CmsDriverManager.readProject(CmsDriverManager.java:6178)<br>
        at
org.opencms.db.CmsSecurityManager.readProject(CmsSecurityManager.java:3721)<br>
        ... 23 more<br>
------------------------------------------------------------------------<br>
Total time: 4 seconds<br>
Finished at: Sat May 22 02:42:10 BST 2010<br>
Final Memory: 39M/374M<br>
<br>
Any idea what I am doing wrong?<br>
<br>
Thanks,<br>
Graeme<o:p></o:p></span></p>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Get
a free e-mail account with Hotmail. <a
href="http://clk.atdmt.com/UKM/go/197222280/direct/01/" target="_new">Sign-up
now.</a><o:p></o:p></span></p>

</div>

</body>

</html>