Thanks Chris for bringing this back up. I'd meant to implement such an
archetype earlier and unfortunately I got distracted. More or less, the
sling-bundle-archetype or the sling-initial-content-archetype would be good
starting points, but neither are quite tailored to use with Sling CMS.

I'll put something together, I've been planning on doing a release with the
most recent updates for awhile now. I've created a ticket to make sure it's
tracked:
https://issues.apache.org/jira/browse/SLING-8762

Thanks!
-Dan

On Thu, Oct 3, 2019 at 3:56 PM Cris Rockwell <[email protected]> wrote:

> Hello all
>
> Stumbled upon this email chain in my own search for a maven archetype for
> apache sling cms. Mr. Klco has posted about such a thing…
> https://blogs.perficientdigital.com/2018/12/11/building-a-zero-cost-website-with-apache-sling-cms/
> <
> https://blogs.perficientdigital.com/2018/12/11/building-a-zero-cost-website-with-apache-sling-cms/
> >
>
> mvn archetype:generate \
>     -DarchetypeGroupId=org.apache.sling \
>     -DarchetypeArtifactId=sling-bundle-archetype \
>     -DarchetypeVersion=1.0.6
>
> I’m not sure though, because it post says there would also be starters for
> JSP and frontend code. The docs for sling-bundle-archetype <
> https://sling.apache.org/documentation/development/maven-archetypes.html#sling-bundle-archetype>
> describe it as simple start for a bundle and only has one Java file,
> SimpleDSComponent (so not a must-module maven project).
>
> I think sling-multi-module-maven-project is probably what would users like
> Mahsum and me.
>
> https://robferguson.org/blog/2017/04/16/how-to-build-apache-sling-projects-using-maven/
> <
> https://robferguson.org/blog/2017/04/16/how-to-build-apache-sling-projects-using-maven/
> >
>
> If there is better maven archetype for apache sling cms, please let us
> know.
>
> Thank you
> Cris Rockwell
>
>
>
>
>
>
>
>
>
> > On Feb 20, 2019, at 7:46 AM, Robert Munteanu <[email protected]> wrote:
> >
> > Hi Mahsum,
> >
> > On Thu, 2019-02-07 at 12:19 +0000, Mahsum Demir wrote:
> >> Hi,
> >>
> >> I think having a Maven archetype which generates a simple sling cms
> >> app will be useful. The generated project will include a simple page
> >> and a component. The archetype will lessen the time needed to get up
> >> and working with the cms and increase the popularity of the cms.
> >>
> >> So, what do you think about that?
> >> If you think that is beneficial for the cms too than I would like to
> >> implement it.
> >
> > Do you propose that we:
> >
> > - create an archetype for Sling that results in a basic application OR
> > - create an archetype for the Sling CMS [1]
> >
> > ?
> >
> >> Also, what is the process of having that project under the Apache
> >> name?
> >
> > Are you asking about contributing this back to Sling? If yes, we are
> > more than happy to accept your contributions. If this will be a new
> > module you can send a pull request against the sling whiteboard [2] or
> > build it in a separate GitHub repository.
> >
> > Thanks,
> >
> > Robert
> >
> >
> > [1]: https://github.com/apache/sling-org-apache-sling-app-cms
> > [2]: https://github.com/apache/sling-whiteboard/
> >
>
>

Reply via email to