[jira] [Commented] (SLING-6203) Create a Maven archetype for content packages

2020-05-19 Thread Robert Munteanu (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17111292#comment-17111292
 ] 

Robert Munteanu commented on SLING-6203:


Thanks a lot [~bellingard]!

> Create a Maven archetype for content packages
> -
>
> Key: SLING-6203
> URL: https://issues.apache.org/jira/browse/SLING-6203
> Project: Sling
>  Issue Type: Sub-task
>  Components: General
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (SLING-6203) Create a Maven archetype for content packages

2020-05-19 Thread Fabrice Bellingard (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17111287#comment-17111287
 ] 

Fabrice Bellingard commented on SLING-6203:
---

Done [~rombert]! => 
https://sonarcloud.io/project/configuration?id=apache_sling-content-package-archetype

> Create a Maven archetype for content packages
> -
>
> Key: SLING-6203
> URL: https://issues.apache.org/jira/browse/SLING-6203
> Project: Sling
>  Issue Type: Sub-task
>  Components: General
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (SLING-6203) Create a Maven archetype for content packages

2020-05-18 Thread Robert Munteanu (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17110159#comment-17110159
 ] 

Robert Munteanu commented on SLING-6203:


Project created at https://github.com/apache/sling-content-package-archetype, 
added a note at 
https://sling.apache.org/documentation/development/content-packages.html#maven-projects-1
 .

> Create a Maven archetype for content packages
> -
>
> Key: SLING-6203
> URL: https://issues.apache.org/jira/browse/SLING-6203
> Project: Sling
>  Issue Type: Sub-task
>  Components: General
>Reporter: Robert Munteanu
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (SLING-6203) Create a Maven archetype for content packages

2020-05-18 Thread Robert Munteanu (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17110160#comment-17110160
 ] 

Robert Munteanu commented on SLING-6203:


[~bellingard] - can you please help with onboarding 
https://github.com/apache/sling-content-package-archetype to SonarCloud? Thanks!

> Create a Maven archetype for content packages
> -
>
> Key: SLING-6203
> URL: https://issues.apache.org/jira/browse/SLING-6203
> Project: Sling
>  Issue Type: Sub-task
>  Components: General
>Reporter: Robert Munteanu
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (SLING-6203) Create a Maven archetype for content packages

2019-09-09 Thread Robert Munteanu (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16925994#comment-16925994
 ] 

Robert Munteanu commented on SLING-6203:


For the feature model I was thinking of setting up a Sling launcher similar to 
https://github.com/apache/sling-slingstart-archetype . I guess you were 
thinking about something similar to a content package, but IMO the content 
packages can stay as they are right  now. Of course, if you think converting 
them to another model brings value feel free to do that.

> Create a Maven archetype for content packages
> -
>
> Key: SLING-6203
> URL: https://issues.apache.org/jira/browse/SLING-6203
> Project: Sling
>  Issue Type: Sub-task
>  Components: General
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Commented] (SLING-6203) Create a Maven archetype for content packages

2019-09-09 Thread Andreas Schaefer (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16925886#comment-16925886
 ] 

Andreas Schaefer commented on SLING-6203:
-

Adding support for FM is not difficult but it gets difficult if you want to 
have both traditional and FM content packages supported in the same version. I 
would think that we use different version to separate the two (transitional and 
FM).

I am looking forward to see how Sling Starter looks like in FM. More important 
I am looking forward to see how FMs are deployed.

> Create a Maven archetype for content packages
> -
>
> Key: SLING-6203
> URL: https://issues.apache.org/jira/browse/SLING-6203
> Project: Sling
>  Issue Type: Sub-task
>  Components: General
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Commented] (SLING-6203) Create a Maven archetype for content packages

2019-09-09 Thread Robert Munteanu (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16925474#comment-16925474
 ] 

Robert Munteanu commented on SLING-6203:


[~schaefa] - your points make sense. I am wondering though why adding support 
for the feature model would be trickier? I think we can simply not add support 
for a provisioning model project, and look into the feature model once the 
Sling Starter itself is based on it.

> Create a Maven archetype for content packages
> -
>
> Key: SLING-6203
> URL: https://issues.apache.org/jira/browse/SLING-6203
> Project: Sling
>  Issue Type: Sub-task
>  Components: General
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Commented] (SLING-6203) Create a Maven archetype for content packages

2019-09-06 Thread Andreas Schaefer (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16924643#comment-16924643
 ] 

Andreas Schaefer commented on SLING-6203:
-

[~rombert] The current implementation of the Sling Project Archetype is 
actually providing example code and it can either be held separately, merged 
into the source or being deleted and I use the Post Script to actually do that.

With that script we should be able to create single modules (need to make sure 
we do not override an existing module. Personally I would be more interested in 
being able to create a new module inside an existing project.

These changes all seem to fit into this archetype.

That said adding support for FM might be trickier. Maybe we can use versions to 
support traditional project and FM based projects.

I will play around with it in the next few days to see how far I get.

> Create a Maven archetype for content packages
> -
>
> Key: SLING-6203
> URL: https://issues.apache.org/jira/browse/SLING-6203
> Project: Sling
>  Issue Type: Sub-task
>  Components: General
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Commented] (SLING-6203) Create a Maven archetype for content packages

2019-09-03 Thread Robert Munteanu (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16921328#comment-16921328
 ] 

Robert Munteanu commented on SLING-6203:


[~schaefa] - I looked around for information around customising generated 
archetypes and I found 
http://maven.apache.org/archetype/maven-archetype-plugin/advanced-usage.html#Post-generation_script
 . Apparently it would allow us to basically do anything before completing the 
generate operation.

I was thinking that we could have multiple modes (just a sketch):

- generate project ( reactor + modules )
- generate project with examples
- generate single module ( core/content.ui/content.apps/etc )

Do you think that would work? And do you think we can make it in way which does 
not make the current project-archetype too complicated?

> Create a Maven archetype for content packages
> -
>
> Key: SLING-6203
> URL: https://issues.apache.org/jira/browse/SLING-6203
> Project: Sling
>  Issue Type: Sub-task
>  Components: General
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Commented] (SLING-6203) Create a Maven archetype for content packages

2019-09-02 Thread Andreas Schaefer (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16921137#comment-16921137
 ] 

Andreas Schaefer commented on SLING-6203:
-

Yeah, my archetype is doing an entire project. Not sure if an archetype could 
support both (modules and projects).

> Create a Maven archetype for content packages
> -
>
> Key: SLING-6203
> URL: https://issues.apache.org/jira/browse/SLING-6203
> Project: Sling
>  Issue Type: Sub-task
>  Components: General
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Commented] (SLING-6203) Create a Maven archetype for content packages

2019-09-02 Thread Robert Munteanu (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16920718#comment-16920718
 ] 

Robert Munteanu commented on SLING-6203:


Thanks [~schaefa], I will take a look at the project-archetype. I thought that 
the project archetype is useful for kick-starting a whole application, whereas 
I was looking more for a sling module to create.

> Create a Maven archetype for content packages
> -
>
> Key: SLING-6203
> URL: https://issues.apache.org/jira/browse/SLING-6203
> Project: Sling
>  Issue Type: Sub-task
>  Components: General
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Commented] (SLING-6203) Create a Maven archetype for content packages

2019-08-30 Thread Andreas Schaefer (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16919701#comment-16919701
 ] 

Andreas Schaefer commented on SLING-6203:
-

Not sure why this comes up now but that Archetype exists and is module: 
project-archetype. It does generate either a core / ui.apps or a core / ui.apps 
/ all project that will generate either a content package under ui.apps or all.

I think this ticket can be closed.

> Create a Maven archetype for content packages
> -
>
> Key: SLING-6203
> URL: https://issues.apache.org/jira/browse/SLING-6203
> Project: Sling
>  Issue Type: Sub-task
>  Components: General
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Commented] (SLING-6203) Create a Maven archetype for content packages

2017-06-12 Thread Andreas Schaefer (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16046639#comment-16046639
 ] 

Andreas Schaefer commented on SLING-6203:
-

I create two archetypes (project / project-all) that create a project with 
content-package modules.

See ticket: https://issues.apache.org/jira/browse/SLING-6922

If you just want an archetype for a single content package then you can these 
as blueprints.

- Andy

> Create a Maven archetype for content packages
> -
>
> Key: SLING-6203
> URL: https://issues.apache.org/jira/browse/SLING-6203
> Project: Sling
>  Issue Type: Sub-task
>  Components: General
>Reporter: Robert Munteanu
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)