Skip to content

Commit

Permalink
Merge pull request #9 from GwtMaterialDesign/release_2.4.2
Browse files Browse the repository at this point in the history
Preparation for 2.4.2 release (Fixed for XSS Vulnerability)
  • Loading branch information
kevzlou7979 authored Dec 28, 2020
2 parents f1e54a6 + 5f0ca39 commit b038721
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
# gwt-material-pwa-archetype
PWA (Progressive Web App) + GMD Archetype

# Current Version - 2.4.1
# Current Version - 2.4.2
### Includes
- Updated GWT Version to 2.9.0
- Updated JQuery Version to 3.5.1
- Updated GMD Version to 2.4.1
- Updated GMD Version to 2.4.2

# Usage:
1. Download the archetype
2. From the download folder, install the archetype in your local Maven repo by running this command: <code>mvn clean install</code>
3. Create a new project by running the following command in a folder of your choice: <code>mvn archetype:generate -DarchetypeGroupId=com.github.gwtmaterialdesign -DarchetypeArtifactId=gwt-material-pwa-archetype -DarchetypeVersion=2.4.0</code>
3. Create a new project by running the following command in a folder of your choice: <code>mvn archetype:generate -DarchetypeGroupId=com.github.gwtmaterialdesign -DarchetypeArtifactId=gwt-material-pwa-archetype -DarchetypeVersion=2.4.2</code>
4. Follow the prompts

mvn clean install archetype:update-local-catalog

3. Create a new project by running the following command in a folder of your choice:
mvn archetype:generate -DarchetypeGroupId=com.github.gwtmaterialdesign -DarchetypeArtifactId=gwt-material-pwa-archetype -DarchetypeVersion=2.4.1
mvn archetype:generate -DarchetypeGroupId=com.github.gwtmaterialdesign -DarchetypeArtifactId=gwt-material-pwa-archetype -DarchetypeVersion=2.4.2


4. Follow the prompts. That's it!

5. Optionally you could specify all the parameters in the command line instead of following the prompts:

mvn archetype:generate -DarchetypeGroupId=com.github.gwtmaterialdesign \
-DarchetypeArtifactId=gwt-material-pwa-archetype \
-DarchetypeVersion=2.4.1 \
-DarchetypeVersion=2.4.2 \
-DgroupId=your.company.domain \
-Dpackage=your.company.domain.myapp \
-DartifactId=your-project \
Expand Down
4 changes: 2 additions & 2 deletions gwt-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<gwt.version>2.9.0</gwt.version>
<gwtp.version>1.6</gwtp.version>
<gin.version>2.1.2</gin.version>
<gwt-material.version>2.4.1</gwt-material.version>
<gwt-material.version>2.4.2</gwt-material.version>

<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down Expand Up @@ -205,7 +205,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<parent>
<artifactId>gwt-material-parent</artifactId>
<groupId>com.github.gwtmaterialdesign</groupId>
<version>2.4.1</version>
<version>2.4.2</version>
</parent>

<groupId>com.github.gwtmaterialdesign</groupId>
<artifactId>gwt-material-pwa-archetype</artifactId>
<version>2.4.1</version>
<version>2.4.2</version>
<packaging>jar</packaging>

<distributionManagement>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/maven/archetype-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<defaultValue>${groupId}</defaultValue>
</requiredProperty>
<requiredProperty key="gwt-material-version">
<defaultValue>2.4.1</defaultValue>
<defaultValue>2.4.2</defaultValue>
</requiredProperty>
</requiredProperties>
<fileSets>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/archetype-resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<gwt.version>2.9.0</gwt.version>
<gwtp.version>1.6</gwtp.version>
<gin.version>2.1.2</gin.version>
<gwt-material.version>2.4.1</gwt-material.version>
<gwt-material.version>2.4.2</gwt-material.version>

<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down Expand Up @@ -247,7 +247,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit b038721

Please sign in to comment.