Skip to content

Instantly share code, notes, and snippets.

@gjoseph
Created September 11, 2014 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gjoseph/41971df6235c0d785845 to your computer and use it in GitHub Desktop.
Save gjoseph/41971df6235c0d785845 to your computer and use it in GitHub Desktop.
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): 439: 1120
Define value for property 'groupId': : com.lol
Define value for property 'artifactId': : loltheme
Define value for property 'version': 1.0-SNAPSHOT: :
Define value for property 'package': com.lol: :
Define value for property 'magnolia-stk-version': : 1.2.3
Define value for property 'magnolia-version': : 4.5.6
Define value for property 'theme-name': : my-lol-theme
Confirm properties configuration:
groupId: com.lol
artifactId: loltheme
version: 1.0-SNAPSHOT
package: com.lol
magnolia-stk-version: 1.2.3
magnolia-version: 4.5.6
theme-name: my-lol-theme
Y: :
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: magnolia-theme-archetype:1.2.0
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.lol
[INFO] Parameter: artifactId, Value: loltheme
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: com.lol
[INFO] Parameter: packageInPathFormat, Value: com/lol
[INFO] Parameter: magnolia-version, Value: 4.5.6
[INFO] Parameter: package, Value: com.lol
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: groupId, Value: com.lol
[INFO] Parameter: theme-name, Value: my-lol-theme
[INFO] Parameter: magnolia-stk-version, Value: 1.2.3
[INFO] Parameter: artifactId, Value: loltheme
[WARNING] CP Don't override file /Users/gjoseph/tmp/loltheme/src/main/resources/META-INF/magnolia/theme-my-lol-theme.xml
[INFO] project created from Archetype in dir: /Users/gjoseph/tmp/loltheme
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.176 s
[INFO] Finished at: 2014-09-11T15:59:24+02:00
[INFO] Final Memory: 14M/117M
[INFO] ------------------------------------------------------------------------
plateau:~/tmp gjoseph → find loltheme/
loltheme/
loltheme/pom.xml
loltheme/src
loltheme/src/main
loltheme/src/main/java
loltheme/src/main/java/com
loltheme/src/main/java/com/lol
loltheme/src/main/resources
loltheme/src/main/resources/META-INF
loltheme/src/main/resources/META-INF/magnolia
loltheme/src/main/resources/META-INF/magnolia/theme-my-lol-theme.xml
loltheme/src/main/resources/templating-kit
loltheme/src/main/resources/templating-kit/themes
loltheme/src/main/resources/templating-kit/themes/my-lol-theme
loltheme/src/main/resources/templating-kit/themes/my-lol-theme/css
loltheme/src/main/resources/templating-kit/themes/my-lol-theme/css/styles.css
loltheme/src/main/resources/templating-kit/themes/my-lol-theme/img
loltheme/src/main/resources/templating-kit/themes/my-lol-theme/js
plateau:~/tmp gjoseph → cat loltheme/src/main/resources/META-INF/magnolia/theme-my-lol-theme.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module SYSTEM "module.dtd" >
<module>
<name>theme-my-lol-theme</name>
<displayName>${project.name}</displayName>
<description>${project.description}</description>
<versionHandler>info.magnolia.module.templatingkit.setup.ThemeVersionHandler</versionHandler>
<version>${project.version}</version>
<properties>
<property>
<name>themeName</name>
<value>my-lol-theme</value>
</property>
</properties>
<dependencies>
<dependency>
<name>standard-templating-kit</name>
<version>1.2.3/*</version>
</dependency>
</dependencies>
plateau:~/tmp gjoseph →
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment