Hi Suraj,

The maven dependency you need for a quickstart is this. Please note the type.

    <dependency>
      <groupId>info.magnolia</groupId>
      <artifactId>magnolia-empty-webapp</artifactId>
      <type>pom</type>
    </dependency>

Regards, Bert
________________________________________
Van: [email protected] [[email protected]] namens 
Jan Haderka [[email protected]]
Verzonden: maandag 28 juni 2010 8:43
Aan: Magnolia User-List
Onderwerp: Re: [magnolia-user]  Custom modules

On Jun 27, 2010, at 8:52 PM, Suraj wrote:

>
>
>
> Hi, I'm re-posting this as I got no reply the last time round. Could someone 
> please help me?

Well, you posted just before the weekend, it's not like everybody is glued to 
their computer waiting to answer 24/7
>
> I have been following the instructions here - 
> http://wiki.magnolia-cms.com/display/WIKI/ModuleAndEclipse to start on 
> building a custom module for Magnolia. However, I'm failing at the "Building 
> Magnolia" part as it keeps returning an error message (something about a 
> missing 4.3.3 snapshot)

The reason is probably the fact that there is no snapshot in public repo yet as 
you can find by looking at http://repo.magnolia-cms.com/snapshots/
Anyway when developing, it is always better to develop against the released 
version rather then against the snapshot. Check your pom files and change 
4.3.3-SNAPSHOT version to 4.3.2

>
> Is there any way I can start on building a custom module without having to 
> build Magnolia?

Yes, you don't need to build Magnolia at all. All you need to do is to declare 
dependency on whatever Magnolia module you want to use and make sure you have 
Magnolia repo http://repo.magnolia-cms.com/m2 in your maven configuration or 
directly in the pom.
Alternatively, if you don't want to use maven at all, you can just download 
binaries and build your project whichever way you like (ant/ivy).
To build valid Magnolia module, all you need to do is to make sure that 
packaged jar follows the structure Magnolia expects (module descriptor in 
META-INF/magnolia/<module-name>.xml, resoources in mgnl-resources folder and 
bootstrap files in mgnl-bootstrap folder)

HTH,
Jan

>
> Thanks!
>
>
>
> ----------------------------------------------------------------
> 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]>
----------------------------------------------------------------

Reply via email to