fix production profile

This commit is contained in:
f43nd1r 2019-09-17 15:47:29 +02:00
parent 33c58ff82e
commit f313461965
4 changed files with 11 additions and 4 deletions

4
.gitignore vendored
View file

@ -31,8 +31,7 @@ nbdist/
.nb-gradle/ .nb-gradle/
### NPM ### ### NPM ###
/node_modules **/node_modules
/target
package-lock.json package-lock.json
package.json package.json
webpack.config.js webpack.config.js
@ -40,3 +39,4 @@ webpack.generated.js
### Maven ### ### Maven ###
**/target **/target
/target

View file

@ -1,5 +1,5 @@
language: java language: java
install: ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Pproduction-mode install: ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Pproduction
deploy: deploy:
provider: releases provider: releases
api_key: api_key:

View file

@ -352,6 +352,7 @@
<dependency> <dependency>
<groupId>com.vaadin</groupId> <groupId>com.vaadin</groupId>
<artifactId>flow-server-production-mode</artifactId> <artifactId>flow-server-production-mode</artifactId>
<version>2.0.12</version>
</dependency> </dependency>
</dependencies> </dependencies>
</profile> </profile>

View file

@ -42,4 +42,10 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<profiles>
<profile>
<id>production</id>
</profile>
</profiles>
</project> </project>