You don't need to build Magnolia for that. It is enough to have it included in your Maven dependencies. If you want to look into the sources and use Eclipse with Maven Plugin you can simply right click on a lib and select "download sources".
On Tue, Jun 8, 2010 at 1:27 AM, Suraj <[email protected]> wrote: > Hi there, I am trying to create a custom command that I can stick in a > module (an existing one, or a new one I create). Therefore I need the > Magnolia source so I can compile my java class no? > ________________________________ > From: Nils Breunese <[email protected]> > To: Magnolia User-List <[email protected]> > Sent: Mon, 7 June, 2010 23:33:44 > Subject: RE: [magnolia-user] Magnolia installation - missing snapshot? > > > Are you sure you directly want to dive into building Magnolia from source if > you consider yourself a newbie? Why not just start with the pre-built > artifacts? Magnolia 4.3.2 was just built last friday. I'd stay off the > snapshot builds as long as I can if I were you, or are you trying to solve a > particular problem? > > Nils. > ________________________________________ > Van: [email protected] [[email protected]] > namens Suraj [[email protected]] > Verzonden: maandag 7 juni 2010 16:44 > Aan: [email protected] > Onderwerp: [magnolia-user] Magnolia installation - missing snapshot? > > Sorry for the overload of newbie questions, you won't get any more of these > when I'm on my feet, promise! > > I was following the instructions exactly as they are in > http://wiki.magnolia-cms.com/display/WIKI/Introduction+to+building+Magnolia > > but when running % mvn -P webapp eclipse:eclipse -Dwtpversion=1.5 I'm > getting the following error? I've tried to look everywhere but haven't got > any info so far. Am I missing something obvious? > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building magnolia-jaas > [INFO] task-segment: [eclipse:eclipse] > [INFO] > ------------------------------------------------------------------------ > [INFO] Preparing eclipse:eclipse > Downloading: > http://repo.magnolia-cms.com/snapshots/info/magnolia/magnolia-core/ > 4.3.3-SNAPSHOT/magnolia-core-4.3.3-SNAPSHOT.jar > [INFO] Unable to find resource > 'info.magnolia:magnolia-core:jar:4.3.3-SNAPSHOT' > in repository magnolia.snapshots (http://repo.magnolia-cms.com/snapshots) > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) info.magnolia:magnolia-core:jar:4.3.3-SNAPSHOT > > Try downloading the file manually from: > http://prdownloads.sourceforge.net/magnolia > > Then, install it using the command: > mvn install:install-file -DgroupId=info.magnolia > -DartifactId=magnolia-cor > e -Dversion=4.3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > > mvn deploy:deploy-file -DgroupId=info.magnolia > -DartifactId=magnolia-core > -Dversion=4.3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -Drepo > sitoryId=[id] > > Path to dependency: > 1) info.magnolia:magnolia-jaas:jar:4.3.3-SNAPSHOT > 2) info.magnolia:magnolia-core:jar:4.3.3-SNAPSHOT > > ---------- > 1 required artifact is missing. > > for artifact: > info.magnolia:magnolia-jaas:jar:4.3.3-SNAPSHOT > > from the specified remote repositories: > magnolia.snapshots (http://repo.magnolia-cms.com/snapshots), > central (http://repo1.maven.org/maven2), > magnolia (http://repo.magnolia-cms.com/m2) > > > > ________________________________ > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > De informatie vervat in deze e-mail en meegezonden bijlagen is uitsluitend > bedoeld voor gebruik door de geadresseerde en kan vertrouwelijke informatie > bevatten. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking > van deze informatie aan derden is voorbehouden aan geadresseerde. De VPRO > staat niet in voor de juiste en volledige overbrenging van de inhoud van een > verzonden e-mail, noch voor tijdige ontvangst daarvan. > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > > > ________________________________ > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
