>absolute path in my ~/.m2/settings.xml. Did you set the <localRepository> in your settings.xml? If you did and your repository is in the default location, ~/.m2/repository, I've found that it cause issues with the variables not being read correctly.
Mick Timony -----Original Message----- From: Oliver Konz [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 10:55 AM To: [email protected] Subject: Problems deploying Jetspeed 2.1 to Tomcat 5.5 Hi! I'm trying to deploy Jetspeed 2.1 to Tomcat 5.5.23 with MySQL on Fedora Core 6 (Sun Java 1.5.0_11). Using the installer jar this works like a charm. But since I want to build my own custom portal I'll have to use the maven build. When I just type "mvn" all builds well, but when I try "mvn -P tomcat,min" the fun starts... The problem seems to be that variables do not get resolved. At first it complained that it did not find my mysql driver. I fixed this by supplying an absolute path in my ~/.m2/settings.xml. But the next error is a bit trickier: deploy-shared-components: [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error executing ant tasks Embedded error: The following error occurred while executing this line: /home/oli/jetspeed-2/app-servers/build.xml:93: The following error occurred while executing this line: /home/oli/jetspeed-2/app-servers/build.xml:149: The following error occurred while executing this line: /home/oli/jetspeed-2/app-servers/tomcat-build.xml:92: The following error occurred while executing this line: /home/oli/jetspeed-2/app-servers/tomcat-build.xml:299: /home/oli/jetspeed-2/app-servers/${org.apache.jetspeed.server.home}/shar ed/lib not found. As you can see the ${org.apache.jetspeed.server.home} variable does not get resolved. Any idea how I can fix this without changing the ant build files? Thanks for your time! Regards, Oliver --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
