Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[BACKLOG-20163] Mavenize pentaho-commons-gwt
- Loading branch information
1 parent
a29d13d
commit d049fe1
Showing
1,763 changed files
with
8,345 additions
and
12,184 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 |
---|---|---|
@@ -1,12 +1,15 @@ | ||
.DS_Store | ||
|
||
.project | ||
.classpath | ||
.settings | ||
build | ||
target | ||
release.properties | ||
pom.xml.releaseBackup | ||
*.iml | ||
.idea/ | ||
|
||
test-lib/ | ||
war/ | ||
bin/ | ||
dev-lib/ | ||
dist/ | ||
|
||
package-pom.xml | ||
.idea | ||
bin | ||
*.class | ||
*.jar | ||
*.war | ||
*.ear | ||
.DS_Store |
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
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,58 @@ | ||
# Pentaho Commons GWT Modules # | ||
_Common GWT modules to be used and extended by other projects._ | ||
|
||
#### Pre-requisites for building the project: | ||
* Maven, version 3+ | ||
* Java JDK 1.8 | ||
* This [settings.xml](https://github.com/pentaho/maven-parent-poms/blob/master/maven-support-files/settings.xml) in your <user-home>/.m2 directory | ||
|
||
#### Building it | ||
|
||
__Build for nightly/release__ | ||
|
||
All required profiles are activated by the presence of a property named "release". | ||
|
||
``` | ||
$ mvn clean install -Drelease | ||
``` | ||
|
||
This will build, unit test, and package the whole project (all of the sub-modules). The artifact will be generated in: ```target``` | ||
|
||
__Build for CI/dev__ | ||
|
||
The `release` builds will compile the source for production (meaning potential obfuscation and/or uglification). To build without that happening, just eliminate the `release` property. | ||
|
||
``` | ||
$ mvn clean install | ||
``` | ||
|
||
#### Running the tests | ||
|
||
__Unit tests__ | ||
|
||
This will run all tests in the project (and sub-modules). | ||
``` | ||
$ mvn test | ||
``` | ||
|
||
If you want to remote debug a single java unit test (default port is 5005): | ||
``` | ||
$ cd core | ||
$ mvn test -Dtest=<<YourTest>> -Dmaven.surefire.debug | ||
``` | ||
|
||
__Integration tests__ | ||
In addition to the unit tests, there are integration tests in the core project. | ||
``` | ||
$ mvn verify -DrunITs | ||
``` | ||
|
||
To run a single integration test: | ||
``` | ||
$ mvn verify -DrunITs -Dit.test=<<YourIT>> | ||
``` | ||
|
||
To run a single integration test in debug mode (for remote debugging in an IDE) on the default port of 5005: | ||
``` | ||
$ mvn verify -DrunITs -Dit.test=<<YourIT>> -Dmaven.failsafe.debug | ||
``` |
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,20 @@ | ||
<?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> | ||
|
||
<artifactId>commons-gwt-assemblies</artifactId> | ||
<packaging>pom</packaging> | ||
|
||
<parent> | ||
<groupId>org.pentaho</groupId> | ||
<artifactId>commons-gwt</artifactId> | ||
<version>8.1.0.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<name>Pentaho Commons GWT Assemblies</name> | ||
|
||
<modules> | ||
<module>widgets</module> | ||
</modules> | ||
</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,86 @@ | ||
<?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> | ||
|
||
<artifactId>commons-gwt-widgets-package</artifactId> | ||
<packaging>war</packaging> | ||
|
||
<parent> | ||
<groupId>org.pentaho</groupId> | ||
<artifactId>commons-gwt-assemblies</artifactId> | ||
<version>8.1.0.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<name>Pentaho Commons GWT Widgets Package</name> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.pentaho</groupId> | ||
<artifactId>commons-gwt-widgets</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.pentaho</groupId> | ||
<artifactId>commons-gwt-widgets</artifactId> | ||
<version>${project.version}</version> | ||
<classifier>sources</classifier> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.code.gwtx</groupId> | ||
<artifactId>gwtx</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.validation</groupId> | ||
<artifactId>validation-api</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.validation</groupId> | ||
<artifactId>validation-api</artifactId> | ||
<classifier>sources</classifier> | ||
<scope>provided</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>gwt-maven-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>compile</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<modules> | ||
<module>org.pentaho.gwt.widgets.Widgets</module> | ||
<module>org.pentaho.gwt.widgets.client.filechooser.FileChooser</module> | ||
<module>org.pentaho.gwt.widgets.client.formatter.JSTextFormatter</module> | ||
<module>org.pentaho.mantle.SchedulingDialogs</module> | ||
</modules> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<profiles> | ||
<profile> | ||
<id>development</id> | ||
<activation> | ||
<property> | ||
<name>!release</name> | ||
</property> | ||
</activation> | ||
<properties> | ||
<gwt.style>PRETTY</gwt.style> | ||
</properties> | ||
</profile> | ||
</profiles> | ||
</project> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.