forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAK-41143 Moved to i18n web service instead of jquery plugin (sakaipr…
- Loading branch information
1 parent
4728844
commit 7741f00
Showing
64 changed files
with
1,111 additions
and
280 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,32 @@ | ||
<?xml version="1.0"?> | ||
<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> | ||
|
||
<name>ROSTER2 I18N</name> | ||
<artifactId>sakai-roster2-i18n</artifactId> | ||
<groupId>org.sakaiproject.roster2</groupId> | ||
|
||
<parent> | ||
<artifactId>sakai-roster2-base</artifactId> | ||
<groupId>org.sakaiproject.roster2</groupId> | ||
<version>20-SNAPSHOT</version> | ||
</parent> | ||
|
||
<packaging>jar</packaging> | ||
|
||
<properties> | ||
<deploy.target>shared</deploy.target> | ||
</properties> | ||
|
||
<build> | ||
<resources> | ||
<resource> | ||
<directory>${basedir}/src/i18n</directory> | ||
<includes> | ||
<include>**/*.properties</include> | ||
</includes> | ||
</resource> | ||
</resources> | ||
</build> | ||
</project> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
roster2/i18n/src/java/org/sakaiproject/roster/i18n/RosterI18NLoader.java
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,3 @@ | ||
package org.sakaiproject.roster.i18n; | ||
|
||
public class RosterI18NLoader {} |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
<?xml version="1.0"?> | ||
<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> | ||
|
@@ -9,252 +10,29 @@ | |
<relativePath>../master/pom.xml</relativePath> | ||
</parent> | ||
|
||
<name>ROSTER2 TOOL</name> | ||
<name>ROSTER2 BASE</name> | ||
<groupId>org.sakaiproject.roster2</groupId> | ||
<artifactId>sakai-roster2-tool</artifactId> | ||
<organization> | ||
<name>Sakai Project</name> | ||
<url>http://sakaiproject.org/</url> | ||
</organization> | ||
<inceptionYear>2010</inceptionYear> | ||
<packaging>war</packaging> | ||
|
||
<properties> | ||
<yuicompressor.plugin.version>1.2</yuicompressor.plugin.version> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<developers> | ||
<developer> | ||
<id>d.b.robinson</id> | ||
<name>Daniel Robinson</name> | ||
<organization>Lancaster University</organization> | ||
<email>[email protected]</email> | ||
<roles> | ||
<role>architect</role> | ||
<role>developer</role> | ||
</roles> | ||
<timezone>0</timezone> | ||
</developer> | ||
<developer> | ||
<id>a.fish</id> | ||
<name>Adrian Fish</name> | ||
<organization>Lancaster University</organization> | ||
<email>[email protected]</email> | ||
<roles> | ||
<role>architect</role> | ||
<role>developer</role> | ||
</roles> | ||
<timezone>0</timezone> | ||
</developer> | ||
<developer> | ||
<id>steve.swinsburg</id> | ||
<name>Steve Swinsburg</name> | ||
<email>[email protected]</email> | ||
<roles> | ||
<role>developer</role> | ||
<role>POM plumber</role> | ||
<role>release manager</role> | ||
</roles> | ||
<timezone>+10</timezone> | ||
</developer> | ||
<developer> | ||
<id>arwhyte</id> | ||
<name>Anthony Whyte</name> | ||
<organization>Sakai Foundation / University of Michigan</organization> | ||
<email>[email protected]</email> | ||
<roles> | ||
<role>POM plumber</role> | ||
<role>Past release manager</role> | ||
</roles> | ||
<timezone>-5</timezone> | ||
</developer> | ||
</developers> | ||
|
||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.sakaiproject.kernel</groupId> | ||
<artifactId>sakai-kernel-api</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.sakaiproject.kernel</groupId> | ||
<artifactId>sakai-component-manager</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.sakaiproject.kernel</groupId> | ||
<artifactId>sakai-kernel-util</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.sakaiproject.common</groupId> | ||
<artifactId>sakai-privacy-api</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.sakaiproject.edu-services.course-management</groupId> | ||
<artifactId>coursemanagement-api</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.sakaiproject.entitybroker</groupId> | ||
<artifactId>entitybroker-api</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.sakaiproject.entitybroker</groupId> | ||
<artifactId>entitybroker-utils</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.sakaiproject.profile2</groupId> | ||
<artifactId>profile2-api</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.sakaiproject.sitestats</groupId> | ||
<artifactId>sitestats-api</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-lang</groupId> | ||
<artifactId>commons-lang</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.servlet</groupId> | ||
<artifactId>javax.servlet-api</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.servlet</groupId> | ||
<artifactId>jstl</artifactId> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>taglibs</groupId> | ||
<artifactId>standard</artifactId> | ||
<version>1.1.2</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.poi</groupId> | ||
<artifactId>poi</artifactId> | ||
<version>${sakai.poi.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.poi</groupId> | ||
<artifactId>poi-ooxml</artifactId> | ||
<version>${sakai.poi.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-core</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-beans</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-web</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.httpcomponents</groupId> | ||
<artifactId>httpclient</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-databind</artifactId> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<resources> | ||
<resource> | ||
<directory>${basedir}/src/java</directory> | ||
<includes> | ||
<include>**/*.xml</include> | ||
</includes> | ||
</resource> | ||
<resource> | ||
<directory>${basedir}/src/i18n</directory> | ||
<includes> | ||
<include>**/*.properties</include> | ||
</includes> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<!-- compress CSS and JS --> | ||
<plugin> | ||
<groupId>net.alchim31.maven</groupId> | ||
<artifactId>yuicompressor-maven-plugin</artifactId> | ||
<version>${yuicompressor.plugin.version}</version> | ||
<executions> | ||
<execution> | ||
<id>compress</id> | ||
<phase>process-resources</phase> | ||
<goals> | ||
<goal>compress</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<sourceDirectory>${basedir}/src/webapp</sourceDirectory> | ||
<outputDirectory>${project.build.directory}/${project.build.finalName}</outputDirectory> | ||
<nosuffix>true</nosuffix> | ||
<jswarn>false</jswarn> | ||
<excludes> | ||
<exclude>**/*.java</exclude> | ||
<exclude>**/*.html</exclude> | ||
<exclude>**/*.xml</exclude> | ||
<exclude>**/*.gif</exclude> | ||
<exclude>**/*.png</exclude> | ||
<exclude>**/*.properties</exclude> | ||
<exclude>**/*.min.js</exclude> | ||
<exclude>**/*-min.js</exclude> | ||
</excludes> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-resources-plugin</artifactId> | ||
<version>2.6</version> | ||
<executions> | ||
<execution> | ||
<id>copy-resources</id> | ||
<phase>process-resources</phase> | ||
<goals> | ||
<goal>copy-resources</goal> | ||
</goals> | ||
<configuration> | ||
<outputDirectory>${project.build.directory}/${project.build.finalName}</outputDirectory> | ||
<resources> | ||
<resource> | ||
<directory>${basedir}/src/i18n/org/sakaiproject/roster</directory> | ||
<includes> | ||
<include>**/*.properties</include> | ||
</includes> | ||
</resource> | ||
</resources> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>com.github.jknack</groupId> | ||
<artifactId>handlebars-maven-plugin</artifactId> | ||
<version>${handlebars4.version}</version> | ||
<executions> | ||
<execution> | ||
<id>precompile</id> | ||
<phase>prepare-package</phase> | ||
<goals> | ||
<goal>precompile</goal> | ||
</goals> | ||
<configuration> | ||
<output>${project.build.directory}/${project.build.finalName}/templates.js</output> | ||
<prefix>${basedir}/src/handlebars</prefix> | ||
<suffix>.handlebars</suffix> | ||
<amd>false</amd> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
|
||
</build> | ||
<artifactId>sakai-roster2-base</artifactId> | ||
<packaging>pom</packaging> | ||
|
||
<modules> | ||
<module>tool</module> | ||
<module>i18n</module> | ||
</modules> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.sakaiproject.kernel</groupId> | ||
<artifactId>sakai-kernel-api</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.sakaiproject.kernel</groupId> | ||
<artifactId>sakai-component-manager</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.sakaiproject.message</groupId> | ||
<artifactId>sakai-message-api</artifactId> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
Oops, something went wrong.