-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andreas
committed
Aug 12, 2016
0 parents
commit 2dc2553
Showing
169 changed files
with
10,619 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,4 @@ | ||
.settings/ | ||
.classpath | ||
.project | ||
rebel.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,68 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>ch.hsr.isf.serepo</groupId> | ||
<artifactId>serepo</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
<name>serepo</name> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<resteasy.version>3.0.17.Final</resteasy.version> | ||
<slf4j.version>1.7.21</slf4j.version> | ||
</properties> | ||
|
||
<modules> | ||
<module>serepo-rest</module> | ||
<module>serepo-client-webapp</module> | ||
<module>serepo-relations</module> | ||
<module>serepo-data-restinterface</module> | ||
<module>serepo-data-atom</module> | ||
<module>serepo-markdown</module> | ||
<module>serepo-git</module> | ||
<module>serepo-search</module> | ||
<module>serepo-commons</module> | ||
</modules> | ||
|
||
<dependencies> | ||
|
||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
<version>${slf4j.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-log4j12</artifactId> | ||
<version>${slf4j.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.12</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
<build> | ||
<pluginManagement> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.5.1</version> | ||
<configuration> | ||
<source>1.7</source> | ||
<target>1.7</target> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
</build> | ||
|
||
</project> |
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,7 @@ | ||
.settings/ | ||
.classpath | ||
.project | ||
/target/ | ||
rebel.xml | ||
styles.css | ||
styles.scss.cache |
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,44 @@ | ||
serepo-client-webapp | ||
============== | ||
|
||
Template for a simple Vaadin application that only requires a Servlet 3.0 container to run. | ||
|
||
|
||
Workflow | ||
======== | ||
|
||
To compile the entire project, run "mvn install". | ||
|
||
To run the application, run "mvn jetty:run" and open http://localhost:8080/ . | ||
|
||
Debugging client side code | ||
- run "mvn vaadin:run-codeserver" on a separate console while the application is running | ||
- activate Super Dev Mode in the debug window of the application | ||
|
||
To produce a deployable production mode WAR: | ||
- change productionMode to true in the servlet class configuration (nested in the UI class) | ||
- run "mvn clean package" | ||
- test the war file with "mvn jetty:run-war" | ||
|
||
Developing a theme using the runtime compiler | ||
------------------------- | ||
|
||
When developing the theme, Vaadin can be configured to compile the SASS based | ||
theme at runtime in the server. This way you can just modify the scss files in | ||
your IDE and reload the browser to see changes. | ||
|
||
To use the runtime compilation, open pom.xml and comment out the compile-theme | ||
goal from vaadin-maven-plugin configuration. To remove a possibly existing | ||
pre-compiled theme, run "mvn clean package" once. | ||
|
||
When using the runtime compiler, running the application in the "run" mode | ||
(rather than in "debug" mode) can speed up consecutive theme compilations | ||
significantly. | ||
|
||
It is highly recommended to disable runtime compilation for production WAR files. | ||
|
||
Using Vaadin pre-releases | ||
------------------------- | ||
|
||
If Vaadin pre-releases are not enabled by default, use the Maven parameter | ||
"-P vaadin-prerelease" or change the activation default value of the profile in 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,201 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<artifactId>serepo</artifactId> | ||
<groupId>ch.hsr.isf.serepo</groupId> | ||
<version>1.0-SNAPSHOT</version> | ||
</parent> | ||
<artifactId>serepo-client-webapp</artifactId> | ||
<packaging>war</packaging> | ||
<name>serepo-client-webapp</name> | ||
|
||
<properties> | ||
<vaadin.version>7.6.6</vaadin.version> | ||
<vaadin.plugin.version>${vaadin.version}</vaadin.plugin.version> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<maven.compiler.source>1.7</maven.compiler.source> | ||
<maven.compiler.target>1.7</maven.compiler.target> | ||
</properties> | ||
|
||
<repositories> | ||
<repository> | ||
<id>vaadin-addons</id> | ||
<url>http://maven.vaadin.com/vaadin-addons</url> | ||
</repository> | ||
<repository> | ||
<id>vaadin-snapshots</id> | ||
<url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url> | ||
<releases> | ||
<enabled>false</enabled> | ||
</releases> | ||
<snapshots> | ||
</snapshots> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.vaadin</groupId> | ||
<artifactId>vaadin-bom</artifactId> | ||
<version>${vaadin.version}</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>ch.hsr.isf.serepo</groupId> | ||
<artifactId>serepo-data-restinterface</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jboss.resteasy</groupId> | ||
<artifactId>resteasy-client</artifactId> | ||
<version>3.0.17.Final</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.guava</groupId> | ||
<artifactId>guava</artifactId> | ||
<version>19.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.commons</groupId> | ||
<artifactId>commons-csv</artifactId> | ||
<version>1.3</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.servlet</groupId> | ||
<artifactId>javax.servlet-api</artifactId> | ||
<version>3.0.1</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.vaadin</groupId> | ||
<artifactId>vaadin-server</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.vaadin</groupId> | ||
<artifactId>vaadin-push</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.vaadin</groupId> | ||
<artifactId>vaadin-client</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.vaadin</groupId> | ||
<artifactId>vaadin-client-compiled</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.vaadin</groupId> | ||
<artifactId>vaadin-themes</artifactId> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-resources-plugin</artifactId> | ||
<version>2.6</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-war-plugin</artifactId> | ||
<version>2.3</version> | ||
<configuration> | ||
<failOnMissingWebXml>false</failOnMissingWebXml> | ||
<!-- Exclude some unnecessary files generated by the GWT compiler. --> | ||
<packagingExcludes>WEB-INF/classes/VAADIN/gwt-unitCache/**, | ||
WEB-INF/classes/VAADIN/widgetsets/WEB-INF/**</packagingExcludes> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>com.vaadin</groupId> | ||
<artifactId>vaadin-maven-plugin</artifactId> | ||
<version>${vaadin.plugin.version}</version> | ||
<configuration> | ||
<extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs> | ||
<webappDirectory>${basedir}/target/classes/VAADIN/widgetsets</webappDirectory> | ||
<draftCompile>false</draftCompile> | ||
<compileReport>false</compileReport> | ||
<style>OBF</style> | ||
<strict>true</strict> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>update-theme</goal> | ||
<goal>update-widgetset</goal> | ||
<goal>compile</goal> | ||
<!-- Comment out compile-theme goal to use on-the-fly theme compilation --> | ||
<!-- <goal>compile-theme</goal> --> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>2.4</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-clean-plugin</artifactId> | ||
<version>2.6.1</version> | ||
<!-- Clean up also any pre-compiled themes --> | ||
<configuration> | ||
<filesets> | ||
<fileset> | ||
<directory>src/main/webapp/VAADIN/themes</directory> | ||
<includes> | ||
<include>**/styles.css</include> | ||
<include>**/styles.scss.cache</include> | ||
</includes> | ||
</fileset> | ||
</filesets> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.tomcat.maven</groupId> | ||
<artifactId>tomcat7-maven-plugin</artifactId> | ||
<version>2.2</version> | ||
<configuration> | ||
<port>8081</port> | ||
<path>/serepo-webapp</path> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<profiles> | ||
<profile> | ||
<!-- Vaadin pre-release repositories --> | ||
<id>vaadin-prerelease</id> | ||
<activation> | ||
</activation> | ||
|
||
<repositories> | ||
<repository> | ||
<id>vaadin-prereleases</id> | ||
<url>http://maven.vaadin.com/vaadin-prereleases</url> | ||
</repository> | ||
</repositories> | ||
<pluginRepositories> | ||
<pluginRepository> | ||
<id>vaadin-prereleases</id> | ||
<url>http://maven.vaadin.com/vaadin-prereleases</url> | ||
</pluginRepository> | ||
</pluginRepositories> | ||
</profile> | ||
</profiles> | ||
|
||
</project> |
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,4 @@ | ||
{ | ||
"solrUrl" : "http://localhost:8983/solr/serepo", | ||
"serepoUrl" : "http://localhost:8080/serepo" | ||
} |
Oops, something went wrong.