Sean,
Magnolia is now built with maven2. The documentation you're referring
to is unfortunately outdated, but should be fixed soon, hopefully.
See http://jira.magnolia.info/browse/MAGNOLIA-894 .
In the meantime, well, get maven 2 from http://maven.apache.org ,
read the getting starting docs and type:
mvn clean install
Hope this helps.
Best regards,
Grégory Joseph
Magnolia International Ltd.
----------------------------------------------------------------------
[EMAIL PROTECTED] http://www.magnolia.info
Magnolia® - Simple Enterprise Content Management
----------------------------------------------------------------------
On Oct 4, 2006, at 6:23 PM, Sean McMains wrote:
Hi Folks,
I'm trying to get Magnolia to build so that I can make (and
contribute back)
fixes for a few of the lower-priority bugs we've bumped into here. My
difficulty is that I haven't worked with Maven before, and it's
proving a
bit baffling thus far.
I've been following the instructions here:
http://magnolia.sourceforge.net/30/install/build.html
They work brilliantly up to the point where I actually try to build
the
thing using "maven war". At this point, it appears that maven isn't
finding
the pom.xml file, but is instead defaulting back to some standard
war goal.
It's definitely not compiling the java code or building a useful
war. Here's
what happens:
------
00-16-cb-96-3b-b4:~/Documents/tmp/magnolia sean$ pwd
/Users/sean/Documents/tmp/magnolia
00-16-cb-96-3b-b4:~/Documents/tmp/magnolia sean$ ls
LICENSE.txt magnolia-core
magnolia-exchange-simple magnolia-module-admininterface
magnolia-module-mail magnolia-taglib-cms
maven-setproperty-plugin
checkstyle.xml magnolia-editor-fckeditor
magnolia-gui
magnolia-module-cache magnolia-module-templating
magnolia-taglib-utility pom.xml
magnolia magnolia-editor-kupu
magnolia-jaas magnolia-module-dms
magnolia-module-workflow maven-bundle-plugin src
00-16-cb-96-3b-b4:~/Documents/tmp/magnolia sean$ maven war
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
build:start:
war:init:
war:war-resources:
[mkdir] Created dir: /Users/sean/Documents/tmp/magnolia/target/
Global
Project
[mkdir] Created dir: /Users/sean/Documents/tmp/magnolia/target/
Global
Project/WEB-INF
java:prepare-filesystem:
[mkdir] Created dir: /Users/sean/Documents/tmp/magnolia/target/
classes
java:compile:
[echo] Compiling to /Users/sean/Documents/tmp/magnolia/target/
classes
[echo] No java source files to compile.
resources or todir was null
java:jar-resources:
test:prepare-filesystem:
[mkdir] Created dir:
/Users/sean/Documents/tmp/magnolia/target/test-classes
[mkdir] Created dir:
/Users/sean/Documents/tmp/magnolia/target/test-reports
test:test-resources:
test:compile:
[echo] No test source files to compile.
test:test:
[echo] No tests to run.
war:webapp:
[echo] Assembling webapp Global Project
[mkdir] Created dir: /Users/sean/Documents/tmp/magnolia/target/
Global
Project/WEB-INF/lib
[mkdir] Created dir: /Users/sean/Documents/tmp/magnolia/target/
Global
Project/WEB-INF/tld
[mkdir] Created dir: /Users/sean/Documents/tmp/magnolia/target/
Global
Project/WEB-INF/classes
war:war:
[echo] Building WAR Global Project
[jar] Building jar: /Users/sean/Documents/tmp/magnolia/target/
Global
Project.war
BUILD SUCCESSFUL
Total time: 2 seconds
Finished at: Wed Oct 04 11:18:51 CDT 2006
-----
I'm feeling a bit dopey, given that the instructions look
straightforward.
Could anybody provide any insight into where I may have gone wrong?
I'm
currently building on Mac OS X, though I also tried on Linux with
similar
(lack of) result.
Thanks in advance,
Sean
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------