-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First implementation of a look archetype
- Loading branch information
Showing
26 changed files
with
2,323 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (C) 2000 - 2011 Silverpeas | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as | ||
published by the Free Software Foundation, either version 3 of the | ||
License, or (at your option) any later version. | ||
As a special exception to the terms and conditions of version 3.0 of | ||
the GPL, you may redistribute this Program in connection with Free/Libre | ||
Open Source Software ("FLOSS") applications as described in Silverpeas's | ||
FLOSS exception. You should have recieved a copy of the text describing | ||
the FLOSS exception, and it is also available here: | ||
"http://www.silverpeas.com/legal/licensing" | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
--> | ||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.silverpeas.components</groupId> | ||
<artifactId>jar-look-archetype</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<packaging>maven-archetype</packaging> | ||
<name>Silverpeas Component with Jar archetype</name> | ||
<build> | ||
<extensions> | ||
<extension> | ||
<groupId>org.apache.maven.archetype</groupId> | ||
<artifactId>archetype-packaging</artifactId> | ||
<version>2.0-alpha-5</version> | ||
</extension> | ||
</extensions> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-archetype-plugin</artifactId> | ||
<version>2.0-alpha-5</version> | ||
<extensions>true</extensions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<distributionManagement> | ||
<repository> | ||
<id>silverpeas</id> | ||
<name>Repository Silverpeas</name> | ||
<url>http://www.silverpeas.org/nexus/content/repositories/releases/</url> | ||
</repository> | ||
<snapshotRepository> | ||
<id>silverpeas-snapshots</id> | ||
<name>Snapshots Repository Silverpeas</name> | ||
<url>http://www.silverpeas.org/nexus/content/repositories/snapshots/</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
</project> |
105 changes: 105 additions & 0 deletions
105
jar-look-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (C) 2000 - 2011 Silverpeas | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as | ||
published by the Free Software Foundation, either version 3 of the | ||
License, or (at your option) any later version. | ||
As a special exception to the terms and conditions of version 3.0 of | ||
the GPL, you may redistribute this Program in connection with Free/Libre | ||
Open Source Software ("FLOSS") applications as described in Silverpeas's | ||
FLOSS exception. You should have recieved a copy of the text describing | ||
the FLOSS exception, and it is also available here: | ||
"http://www.silverpeas.com/legal/licensing" | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
--> | ||
<archetype-descriptor name="Silverpeas look" partial="false" xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0 http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd"> | ||
<requiredProperties> | ||
<requiredProperty key="groupId"> | ||
<defaultValue>com.silverpeas.customers.look</defaultValue> | ||
</requiredProperty> | ||
<requiredProperty key="package"> | ||
<defaultValue>${groupId}.${artifactId}</defaultValue> | ||
</requiredProperty> | ||
<requiredProperty key="silverpeas-version"></requiredProperty> | ||
<requiredProperty key="className"></requiredProperty> | ||
</requiredProperties> | ||
<modules> | ||
<module id="${rootArtifactId}-war" dir="__rootArtifactId__-war" name="${rootArtifactId}-war"> | ||
<fileSets> | ||
<fileSet filtered="true" packaged="true" encoding="UTF-8"> | ||
<directory>src/main/java</directory> | ||
<includes> | ||
<include>**/*.java</include> | ||
</includes> | ||
</fileSet> | ||
<fileSet filtered="true" encoding="UTF-8"> | ||
<directory>src/main/webapp</directory> | ||
<includes> | ||
<include>**/*.jsp</include> | ||
<include>**/*.jsp.inc</include> | ||
<include>**/*.xml</include> | ||
</includes> | ||
</fileSet> | ||
<fileSet filtered="false" encoding="UTF-8"> | ||
<directory>src/main/webapp</directory> | ||
<includes> | ||
<include>**/*.gif</include> | ||
</includes> | ||
<excludes> | ||
<exclude>**/*.xml</exclude> | ||
<exclude>**/*.jsp</exclude> | ||
</excludes> | ||
</fileSet> | ||
</fileSets> | ||
</module> | ||
<module id="${rootArtifactId}-config" dir="__rootArtifactId__-config" name="${rootArtifactId}-config"> | ||
<fileSets> | ||
<fileSet filtered="true" encoding="UTF-8"> | ||
<directory>src/main/config</directory> | ||
<includes> | ||
<include>**/*.xml</include> | ||
<include>**/*.properties</include> | ||
<include>**/*.txt</include> | ||
<include>**/*.sql</include> | ||
<include>**/*.css</include> | ||
<include>**/*.js</include> | ||
</includes> | ||
<excludes> | ||
<exclude>**/*.gif</exclude> | ||
<exclude>**/*.png</exclude> | ||
<exclude>**/*.jpg</exclude> | ||
</excludes> | ||
</fileSet> | ||
<fileSet filtered="false" encoding="UTF-8"> | ||
<directory>src/main/config</directory> | ||
<includes> | ||
<include>**/*.gif</include> | ||
<include>**/*.png</include> | ||
<include>**/*.jpg</include> | ||
</includes> | ||
<excludes> | ||
<exclude>**/*.xml</exclude> | ||
<exclude>**/*.properties</exclude> | ||
<exclude>**/*.txt</exclude> | ||
<exclude>**/*.sql</exclude> | ||
<exclude>**/*.css</exclude> | ||
<exclude>**/*.js</exclude> | ||
</excludes> | ||
</fileSet> | ||
</fileSets> | ||
</module> | ||
</modules> | ||
</archetype-descriptor> |
52 changes: 52 additions & 0 deletions
52
jar-look-archetype/src/main/resources/archetype-resources/__rootArtifactId__-config/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#set( $symbol_dollar = '$' ) | ||
#set( $realProjectName = "${rootArtifactId.substring(0,1).toUpperCase()}${rootArtifactId.substring(1)}") | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (C) 2000 - 2011 Silverpeas | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as | ||
published by the Free Software Foundation, either version 3 of the | ||
License, or (at your option) any later version. | ||
As a special exception to the terms and conditions of version 3.0 of | ||
the GPL, you may redistribute this Program in connection with Free/Libre | ||
Open Source Software ("FLOSS") applications as described in Silverpeas's | ||
FLOSS exception. You should have recieved a copy of the text describing | ||
the FLOSS exception, and it is also available here: | ||
"http://www.silverpeas.com/legal/licensing" | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
--> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>${groupId}</groupId> | ||
<artifactId>${rootArtifactId}</artifactId> | ||
<version>${version}</version> | ||
</parent> | ||
|
||
<groupId>${groupId}.${rootArtifactId}</groupId> | ||
<artifactId>${artifactId}</artifactId> | ||
<packaging>pom</packaging> | ||
<name>Configuration ${realProjectName}</name> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<configuration> | ||
<skipAssembly>false</skipAssembly> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
59 changes: 59 additions & 0 deletions
59
...com/silverpeas/customers/__rootArtifactId__/look/multilang/__className__Bundle.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# | ||
# Copyright (C) 2000 - 2011 Silverpeas | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as | ||
# published by the Free Software Foundation, either version 3 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# As a special exception to the terms and conditions of version 3.0 of | ||
# the GPL, you may redistribute this Program in connection with Free/Libre | ||
# Open Source Software ("FLOSS") applications as described in Silverpeas's | ||
# FLOSS exception. You should have recieved a copy of the text describing | ||
# the FLOSS exception, and it is also available here: | ||
# "http://repository.silverpeas.com/legal/licensing" | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
look${className}.login = Login | ||
look${className}.logout = Se d\u00e9connecter | ||
look${className}.password = Mot de passe | ||
look${className}.pdc = Plan de classement | ||
look${className}.domain = Domaine | ||
look${className}.anonymousUnauthorized = Vous tentez d'acc\u00e9der \u00e0 un document priv\u00e9.<br>Vous devez \u00eatre authentifi\u00e9 pour y acc\u00e9der !<br>Identifiez-vous, s'il vous plait... | ||
look${className}.AdvancedSearch = Avanc\u00e9e | ||
look${className}.LastSearchResults = Derniers r\u00e9sultats | ||
look${className}.Help = Aide | ||
look${className}.Map = Plan du site | ||
look${className}.PersonalSpace = Espace personnel | ||
look${className}.loadingSpaces = Chargement des espaces... | ||
look${className}.Feedback = Ecrire \u00e0 l'administrateur | ||
look${className}.Clipboard = Presse-papier | ||
look${className}.glossaire = Glossaire | ||
look${className}.reductExtend = R\u00e9duire / Etirer | ||
look${className}.backOffice = Administration | ||
look${className}.home = Accueil | ||
look${className}.directory = Annuaire | ||
|
||
# Connected Users | ||
look${className}.connectedUser = autre utilisateur connect\u00e9 | ||
look${className}.connectedUsers = autres utilisateurs connect\u00e9s | ||
|
||
look${className}.personalSpace.add = Ajouter un composant... | ||
look${className}.personalSpace.select = S\u00e9lectionnez un composant : | ||
look${className}.personalSpace.remove.confirm = Etes-vous s\u00fbr(e) de vouloir supprimer d\u00e9finitivement ce composant et tout ce qu'il contient ? | ||
look${className}.personalSpace.gallery = Mes images | ||
look${className}.personalSpace.rssAgregator = Mes flux RSS | ||
look${className}.personalSpace.kmelia = Mes documents | ||
look${className}.personalSpace.yellowpages = Mes contacts | ||
|
||
#Favorite space labels | ||
look${className}.noFavoriteSpace = Vous n'avez s\u00e9lectionn\u00e9 aucun espace favori. | ||
look${className}.favoriteSpace.tabAll = Tous | ||
look${className}.favoriteSpace.tabBookmarks = Favoris |
60 changes: 60 additions & 0 deletions
60
.../silverpeas/customers/__rootArtifactId__/look/multilang/__className__Bundle_de.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# | ||
# Copyright (C) 2000 - 2009 Silverpeas | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as | ||
# published by the Free Software Foundation, either version 3 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# As a special exception to the terms and conditions of version 3.0 of | ||
# the GPL, you may redistribute this Program in connection with Free/Libre | ||
# Open Source Software ("FLOSS") applications as described in Silverpeas's | ||
# FLOSS exception. You should have received a copy of the text describing | ||
# the FLOSS exception, and it is also available here: | ||
# "http://repository.silverpeas.com/legal/licensing" | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
|
||
look${className}.login = Login | ||
look${className}.logout = Logout | ||
look${className}.password = Passwort | ||
look${className}.pdc = Klassierungsplan | ||
look${className}.domain = Domain | ||
look${className}.anonymousUnauthorized = Sie versuchen, Zugang zu einem privaten Dokument zu nehmen.<br/>f\u00fcr den Zugang m\u00fcssen Sie authehtifiziert werden!<br/>Bitte identifizieren Sie sich... | ||
look${className}.AdvancedSearch = Fortgeschritten | ||
look${className}.LastSearchResults = Letzte Ergebnisse | ||
look${className}.Help = Hilfe | ||
look${className}.Map = Siteplan | ||
look${className}.PersonalSpace = Pers\u00f6nlicher Raum | ||
look${className}.loadingSpaces = Laden der R\u00e4ume... | ||
look${className}.Feedback = Dem Administrator schreiben | ||
look${className}.Clipboard = Zwischenspeicher | ||
look${className}.glossaire = Glossar | ||
look${className}.reductExtend = Verkleinern / Strecken | ||
look${className}.backOffice = Verwaltung | ||
look${className}.home = Startseite | ||
look${className}.directory = Verzeichnis | ||
|
||
# Connected Users | ||
look${className}.connectedUser = Anderer verbunder Benutzer | ||
look${className}.connectedUsers = Andere verbunde Benutzer | ||
|
||
look${className}.personalSpace.add =Komponente hinzuf\u00fcgen... | ||
look${className}.personalSpace.select = W\u00e4hlen Sie eine Komponente : | ||
look${className}.personalSpace.remove.confirm = Sind Sie sicher dauerhaft diese Komponente, und alles was es enth\u00e4lt, l\u00f6schen zu wollen? | ||
look${className}.personalSpace.gallery = Meine Bilder | ||
look${className}.personalSpace.rssAgregator = Meine RSS Feeds | ||
look${className}.personalSpace.kmelia = Meine Dokumente | ||
look${className}.personalSpace.yellowpages = Meine Kontakte | ||
|
||
#Favorite space labels | ||
look${className}.noFavoriteSpace = Sie haben kein Lieblings Raum ausgew\u00e4hlt. | ||
look${className}.favoriteSpace.tabAll = Alle | ||
look${className}.favoriteSpace.tabBookmarks = Favoriten |
Oops, something went wrong.