Main Content

Magnolia Community Forums: Get help with Magnolia: Creating empty project - Maven help!


  • pedro-neptunus
    pedro-neptunus
    Full name: Pedro Santos
    Posts: 4
    Last post: Feb 14, 2017 6:34:21 PM
    Registered on: Feb 14, 2017
    Creating empty project - Maven help!
    #1 by pedro-neptunus on Feb 14, 2017 1:49:28 AM

    Hi there , im new on magnolia and im trying to install it with maven.


    And i cannot find magnolia-project-archetype i try everyone but they don t find it . can anyone help me ?

    Thks

  • cmeier
    cmeier
    Full name: Christoph Meier
    Posts: 203
    Last post: Jun 27, 2017 4:08:00 PM
    Re: Creating empty project - Maven help!
    #2 by cmeier on Feb 14, 2017 6:35:16 AM

    Hi Pedro
    Afaik Magnolie doesn't provide a Maven archetype to *install* Magnolia.
    However, there is an artifact to create Magnolia Maven modules.
    mvn archetype:generate -DarchetypeCatalog=https://nexus.magnolia-cms.com/content/groups/public/

    For a quick and easy installation you could use Magnolia CLI jumpstart command.
    See https://documentation.magnolia-cms.com/display/DOCS/Magnolia+CLI

    I hope this helps,
    kind regards,
    Christoph

  • pedro-neptunus
    pedro-neptunus
    Full name: Pedro Santos
    Posts: 4
    Last post: Feb 14, 2017 6:34:21 PM
    Registered on: Feb 14, 2017
    Re: Creating empty project - Maven help!
    #3 by pedro-neptunus on Feb 14, 2017 12:42:05 PM

    Hi Cristoph ,


    I was following this tutorial https://documentation.magnolia-cms.com/display/DOCS/Creating+a+custom+bundle,
    i need to start a project using netbeans + glassfish. im missing something and i dont know what :(

    the easy installation its nice , but i need to create a bundle

    thks a lot
    Kind Regards
    Pedro Santos

  • pedro-neptunus
    pedro-neptunus
    Full name: Pedro Santos
    Posts: 4
    Last post: Feb 14, 2017 6:34:21 PM
    Registered on: Feb 14, 2017
    Re: Creating empty project - Maven help!
    #4 by pedro-neptunus on Feb 14, 2017 1:24:52 PM

    Hi,

    I follow the video too https://academy.magnolia-cms.com/display/MA/Hello+World+-+IDE.

    Can anyone help me ?

  • pedro-neptunus
    pedro-neptunus
    Full name: Pedro Santos
    Posts: 4
    Last post: Feb 14, 2017 6:34:21 PM
    Registered on: Feb 14, 2017
    Re: Creating empty project - Maven help!
    #5 by pedro-neptunus on Feb 14, 2017 6:34:21 PM

    After some trys i resolve the problem, now im having another problem deploying into glassfish 4.1 .

    Severe: Exception while loading the app
    Severe: Undeployment failed for context
    Severe: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: java.lang.IllegalArgumentException: The class info.magnolia.init.MagnoliaServletContextListener is annotated with an invalid scope

  • breun
    breun
    Full name: Nils Breunese
    Posts: 418
    Last post: Mar 6, 2017 10:16:19 AM
    Registered on: Sep 16, 2010
    Re: Creating empty project - Maven help!
    #6 by breun on Feb 16, 2017 10:48:23 AM

    I don't see Glassfish listed at https://documentation.magnolia-cms.com/display/DOCS/Certified+stack#Certifiedstack-Applicationservers , so maybe there is indeed an incompatibility with that.

You don't have the permission to post on this thread

Sign in

To login on this forum, you can use your Magnolia Forge, Support or Partner account, or, below, your Google, Yahoo! or OpenID account. If you have trouble logging in, or any other sort of issue, please let us know in the Meta forum, on the user-list, or simply by email at forum-admin at magnolia-cms dot com.

* Required

... or sign in with:

  • icon http://{your-openid-url}
  • icon
  • icon https://me.yahoo.com/