abandon polyglot, not compatible with release plugin :'(
This commit is contained in:
parent
8e46351a40
commit
100308a299
7 changed files with 475 additions and 410 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -39,6 +39,4 @@ webpack.config.js
|
|||
webpack.generated.js
|
||||
|
||||
### Maven ###
|
||||
**/target
|
||||
**/.polyglot.pom.groovy
|
||||
.polyglot.pom.groovy
|
||||
**/target
|
|
@ -1,294 +0,0 @@
|
|||
/*
|
||||
* (C) Copyright 2019 Lukas Morawietz (https://github.com/F43nd1r)
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
project {
|
||||
modelVersion '4.0.0'
|
||||
groupId 'com.faendir'
|
||||
artifactId 'acrarium'
|
||||
version '0.9.0-SNAPSHOT'
|
||||
name 'Acrarium'
|
||||
packaging 'war'
|
||||
|
||||
properties {
|
||||
'maven.compiler.source' '1.8'
|
||||
'maven.compiler.target' '1.8'
|
||||
'project.build.sourceEncoding' 'UTF-8'
|
||||
'project.reporting.outputEncoding' 'UTF-8'
|
||||
'drivers.dir' '${project.basedir}/drivers'
|
||||
'drivers.downloader.phase' 'pre-integration-test'
|
||||
'vaadin.version' '14.0.4'
|
||||
'querydsl.version' '4.2.1'
|
||||
}
|
||||
|
||||
parent {
|
||||
groupId 'org.springframework.boot'
|
||||
artifactId 'spring-boot-starter-parent'
|
||||
version '2.1.8.RELEASE'
|
||||
}
|
||||
|
||||
pluginRepositories {
|
||||
pluginRepository {
|
||||
id 'central'
|
||||
url 'https://repo1.maven.org/maven2/'
|
||||
snapshots {
|
||||
enabled false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
repository {
|
||||
id 'central'
|
||||
url 'https://repo1.maven.org/maven2/'
|
||||
snapshots {
|
||||
enabled false
|
||||
}
|
||||
}
|
||||
repository {
|
||||
id 'Vaadin Directory'
|
||||
url 'https://maven.vaadin.com/vaadin-addons'
|
||||
snapshots {
|
||||
enabled false
|
||||
}
|
||||
}
|
||||
repository {
|
||||
id 'Google'
|
||||
url 'https://maven.google.com'
|
||||
snapshots {
|
||||
enabled false
|
||||
}
|
||||
}
|
||||
repository {
|
||||
id 'jcenter'
|
||||
url 'https://jcenter.bintray.com'
|
||||
snapshots {
|
||||
enabled false
|
||||
}
|
||||
}
|
||||
/*repository {
|
||||
id 'maven.oracle.com'
|
||||
url 'https://maven.oracle.com'
|
||||
layout 'default'
|
||||
snapshots {
|
||||
enabled false
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
dependencyManagement {
|
||||
dependencies {
|
||||
dependency {
|
||||
groupId 'com.vaadin'
|
||||
artifactId 'vaadin-bom'
|
||||
version '${vaadin.version}'
|
||||
type 'pom'
|
||||
scope 'import'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
dependency {
|
||||
groupId 'com.vaadin'
|
||||
artifactId 'vaadin'
|
||||
exclusions {
|
||||
exclusion {
|
||||
artifactId '*'
|
||||
groupId 'com.vaadin.webjar'
|
||||
}
|
||||
exclusion {
|
||||
artifactId '*'
|
||||
groupId 'org.webjars.bowergithub.insites'
|
||||
}
|
||||
exclusion {
|
||||
artifactId '*'
|
||||
groupId 'org.webjars.bowergithub.polymer'
|
||||
}
|
||||
exclusion {
|
||||
artifactId '*'
|
||||
groupId 'org.webjars.bowergithub.polymerelements'
|
||||
}
|
||||
exclusion {
|
||||
artifactId '*'
|
||||
groupId 'org.webjars.bowergithub.vaadin'
|
||||
}
|
||||
exclusion {
|
||||
artifactId '*'
|
||||
groupId 'org.webjars.bowergithub.webcomponents'
|
||||
}
|
||||
}
|
||||
}
|
||||
dependency {
|
||||
groupId 'com.vaadin'
|
||||
artifactId 'vaadin-spring-boot-starter'
|
||||
exclusions {
|
||||
exclusion {
|
||||
artifactId 'vaadin-core'
|
||||
groupId 'com.vaadin'
|
||||
}
|
||||
}
|
||||
}
|
||||
dependency 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||||
dependency 'mysql:mysql-connector-java'
|
||||
dependency 'org.springframework.boot:spring-boot-starter-security'
|
||||
dependency 'org.springframework.boot:spring-boot-starter-mail'
|
||||
dependency 'org.liquibase:liquibase-core'
|
||||
dependency 'org.yaml:snakeyaml'
|
||||
dependency 'com.querydsl:querydsl-jpa:${querydsl.version}'
|
||||
dependency 'com.querydsl:querydsl-sql:${querydsl.version}'
|
||||
dependency 'com.querydsl:querydsl-apt:${querydsl.version}:provided'
|
||||
dependency 'org.jfree:jfreechart:1.5.0'
|
||||
dependency 'org.apache.xmlgraphics:batik-svggen:1.10'
|
||||
dependency 'ch.acra:acra-javacore:5.3.0'
|
||||
dependency 'com.faendir.vaadin:jfreechart-flow:1.1.6'
|
||||
dependency 'org.codeartisans:org.json:20161124'
|
||||
dependency 'org.apache.commons:commons-text:1.6'
|
||||
dependency 'commons-io:commons-io:2.5'
|
||||
dependency 'org.xbib:time:1.0.0'
|
||||
dependency 'com.faendir.proguard:retrace:1.3'
|
||||
dependency 'javax.xml.bind:jaxb-api:2.3.1'
|
||||
dependency 'com.github.ziplet:ziplet:2.3.0'
|
||||
dependency 'me.xdrop:fuzzywuzzy:1.2.0'
|
||||
dependency 'com.talanlabs:avatar-generator:1.1.0'
|
||||
dependency 'org.ektorp:org.ektorp.spring:1.5.0'
|
||||
dependency 'com.github.appreciated:apexcharts:2.0.0.beta4'
|
||||
dependency 'javax.servlet:javax.servlet-api:4.0.1'
|
||||
dependency {
|
||||
groupId 'org.springframework.boot'
|
||||
artifactId 'spring-boot-starter-test'
|
||||
scope 'test'
|
||||
}
|
||||
dependency {
|
||||
groupId 'org.springframework.security'
|
||||
artifactId 'spring-security-test'
|
||||
scope 'test'
|
||||
}
|
||||
dependency {
|
||||
groupId 'com.h2database'
|
||||
artifactId 'h2'
|
||||
scope 'test'
|
||||
}
|
||||
/*dependency {
|
||||
groupId 'com.oracle.weblogic'
|
||||
artifactId 'ojdbc7'
|
||||
version '12.1.3-0-0'
|
||||
scope 'test'
|
||||
}*/
|
||||
}
|
||||
|
||||
build {
|
||||
defaultGoal 'spring-boot:run'
|
||||
plugins {
|
||||
plugin {
|
||||
groupId 'org.springframework.boot'
|
||||
artifactId 'spring-boot-maven-plugin'
|
||||
}
|
||||
plugin {
|
||||
groupId 'com.vaadin'
|
||||
artifactId 'vaadin-maven-plugin'
|
||||
version '${vaadin.version}'
|
||||
executions {
|
||||
execution {
|
||||
goals {
|
||||
goal 'prepare-frontend'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
plugin {
|
||||
groupId 'com.mysema.maven'
|
||||
artifactId 'apt-maven-plugin'
|
||||
version '1.1.3'
|
||||
executions {
|
||||
execution {
|
||||
goals 'process'
|
||||
configuration {
|
||||
outputDirectory '${project.build.directory}/generated-sources/java'
|
||||
processor 'com.querydsl.apt.jpa.JPAAnnotationProcessor'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
plugin {
|
||||
groupId 'org.codehaus.mojo'
|
||||
artifactId 'build-helper-maven-plugin'
|
||||
executions {
|
||||
execution {
|
||||
id 'add-source'
|
||||
phase 'generate-sources'
|
||||
goals 'add-source'
|
||||
configuration {
|
||||
sources {
|
||||
source '${project.build.directory}/generated-sources/java'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
plugin {
|
||||
groupId 'com.faendir'
|
||||
artifactId 'message-generator-maven-plugin'
|
||||
version '1.0-SNAPSHOT'
|
||||
executions {
|
||||
execution {
|
||||
goals 'generate'
|
||||
}
|
||||
}
|
||||
configuration {
|
||||
inputDirectory 'src/main/resources/i18n'
|
||||
packageName 'com.faendir.acra.i18n'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
profiles {
|
||||
profile {
|
||||
id 'production'
|
||||
build {
|
||||
plugins {
|
||||
plugin {
|
||||
groupId 'org.springframework.boot'
|
||||
artifactId 'spring-boot-maven-plugin'
|
||||
configuration {
|
||||
jvmArguments '-Dvaadin.productionMode'
|
||||
}
|
||||
}
|
||||
plugin {
|
||||
groupId 'com.vaadin'
|
||||
artifactId 'vaadin-maven-plugin'
|
||||
executions {
|
||||
execution {
|
||||
phase 'compile'
|
||||
goals {
|
||||
goal 'build-frontend'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
properties {
|
||||
'vaadin.productionMode' 'true'
|
||||
}
|
||||
dependencies {
|
||||
dependency {
|
||||
groupId 'com.vaadin'
|
||||
artifactId 'flow-server-production-mode'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
360
acrarium/pom.xml
Normal file
360
acrarium/pom.xml
Normal file
|
@ -0,0 +1,360 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.1.8.RELEASE</version>
|
||||
</parent>
|
||||
<groupId>com.faendir</groupId>
|
||||
<artifactId>acrarium</artifactId>
|
||||
<version>0.9.0-SNAPSHOT</version>
|
||||
<packaging>war</packaging>
|
||||
<name>Acrarium</name>
|
||||
<properties>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<vaadin.version>14.0.4</vaadin.version>
|
||||
<drivers.dir>${project.basedir}/drivers</drivers.dir>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<querydsl.version>4.2.1</querydsl.version>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<drivers.downloader.phase>pre-integration-test</drivers.downloader.phase>
|
||||
</properties>
|
||||
<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>com.vaadin</groupId>
|
||||
<artifactId>vaadin</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>*</artifactId>
|
||||
<groupId>com.vaadin.webjar</groupId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<artifactId>*</artifactId>
|
||||
<groupId>org.webjars.bowergithub.insites</groupId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<artifactId>*</artifactId>
|
||||
<groupId>org.webjars.bowergithub.polymer</groupId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<artifactId>*</artifactId>
|
||||
<groupId>org.webjars.bowergithub.polymerelements</groupId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<artifactId>*</artifactId>
|
||||
<groupId>org.webjars.bowergithub.vaadin</groupId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<artifactId>*</artifactId>
|
||||
<groupId>org.webjars.bowergithub.webcomponents</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vaadin</groupId>
|
||||
<artifactId>vaadin-spring-boot-starter</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>vaadin-core</artifactId>
|
||||
<groupId>com.vaadin</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-security</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-mail</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.liquibase</groupId>
|
||||
<artifactId>liquibase-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.yaml</groupId>
|
||||
<artifactId>snakeyaml</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.querydsl</groupId>
|
||||
<artifactId>querydsl-jpa</artifactId>
|
||||
<version>${querydsl.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.querydsl</groupId>
|
||||
<artifactId>querydsl-sql</artifactId>
|
||||
<version>${querydsl.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.querydsl</groupId>
|
||||
<artifactId>querydsl-apt</artifactId>
|
||||
<version>${querydsl.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jfree</groupId>
|
||||
<artifactId>jfreechart</artifactId>
|
||||
<version>1.5.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.xmlgraphics</groupId>
|
||||
<artifactId>batik-svggen</artifactId>
|
||||
<version>1.10</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ch.acra</groupId>
|
||||
<artifactId>acra-javacore</artifactId>
|
||||
<version>5.3.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.faendir.vaadin</groupId>
|
||||
<artifactId>jfreechart-flow</artifactId>
|
||||
<version>1.1.6</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codeartisans</groupId>
|
||||
<artifactId>org.json</artifactId>
|
||||
<version>20161124</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-text</artifactId>
|
||||
<version>1.6</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>2.5</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.xbib</groupId>
|
||||
<artifactId>time</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.faendir.proguard</groupId>
|
||||
<artifactId>retrace</artifactId>
|
||||
<version>1.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
<version>2.3.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.ziplet</groupId>
|
||||
<artifactId>ziplet</artifactId>
|
||||
<version>2.3.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>me.xdrop</groupId>
|
||||
<artifactId>fuzzywuzzy</artifactId>
|
||||
<version>1.2.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.talanlabs</groupId>
|
||||
<artifactId>avatar-generator</artifactId>
|
||||
<version>1.1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.ektorp</groupId>
|
||||
<artifactId>org.ektorp.spring</artifactId>
|
||||
<version>1.5.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.appreciated</groupId>
|
||||
<artifactId>apexcharts</artifactId>
|
||||
<version>2.0.0.beta4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>javax.servlet-api</artifactId>
|
||||
<version>4.0.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<repositories>
|
||||
<repository>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
<id>central</id>
|
||||
<url>https://repo1.maven.org/maven2/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
<id>Vaadin Directory</id>
|
||||
<url>https://maven.vaadin.com/vaadin-addons</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
<id>Google</id>
|
||||
<url>https://maven.google.com</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
<id>jcenter</id>
|
||||
<url>https://jcenter.bintray.com</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
<id>central</id>
|
||||
<url>https://repo1.maven.org/maven2/</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
<build>
|
||||
<defaultGoal>spring-boot:run</defaultGoal>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.vaadin</groupId>
|
||||
<artifactId>vaadin-maven-plugin</artifactId>
|
||||
<version>${vaadin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-frontend</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.mysema.maven</groupId>
|
||||
<artifactId>apt-maven-plugin</artifactId>
|
||||
<version>1.1.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>process</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.directory}/generated-sources/java</outputDirectory>
|
||||
<processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-source</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>add-source</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<sources>
|
||||
<source>${project.build.directory}/generated-sources/java</source>
|
||||
</sources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.faendir</groupId>
|
||||
<artifactId>message-generator-maven-plugin</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>generate</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<inputDirectory>src/main/resources/i18n</inputDirectory>
|
||||
<packageName>com.faendir.acra.i18n</packageName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>production</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<jvmArguments>-Dvaadin.productionMode</jvmArguments>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.vaadin</groupId>
|
||||
<artifactId>vaadin-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>build-frontend</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<properties>
|
||||
<vaadin.productionMode>true</vaadin.productionMode>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.vaadin</groupId>
|
||||
<artifactId>flow-server-production-mode</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
|
@ -1,52 +0,0 @@
|
|||
project {
|
||||
modelVersion '4.0.0'
|
||||
groupId 'com.faendir'
|
||||
artifactId 'message-generator-maven-plugin'
|
||||
version '1.0-SNAPSHOT'
|
||||
packaging 'maven-plugin'
|
||||
name 'message-generator-maven-plugin'
|
||||
|
||||
dependencies {
|
||||
dependency 'org.apache.maven:maven-plugin-api:3.0'
|
||||
dependency 'org.apache.maven.plugin-tools:maven-plugin-annotations:3.4:provided'
|
||||
dependency 'com.squareup:javapoet:1.11.1'
|
||||
dependency 'com.google.guava:guava:26.0-jre'
|
||||
}
|
||||
|
||||
properties {
|
||||
'maven.compiler.source' '1.8'
|
||||
'maven.compiler.target' '1.8'
|
||||
'project.build.sourceEncoding' 'UTF-8'
|
||||
'project.reporting.outputEncoding' 'UTF-8'
|
||||
}
|
||||
|
||||
build {
|
||||
plugins {
|
||||
plugin {
|
||||
groupId 'org.apache.maven.plugins'
|
||||
artifactId 'maven-plugin-plugin'
|
||||
version '3.6.0'
|
||||
executions {
|
||||
execution {
|
||||
id 'mojo-descriptor'
|
||||
goals 'descriptor'
|
||||
}
|
||||
}
|
||||
}
|
||||
plugin {
|
||||
groupId 'org.apache.maven.plugins'
|
||||
artifactId 'maven-javadoc-plugin'
|
||||
version '3.1.1'
|
||||
executions {
|
||||
execution {
|
||||
id 'attach-javadocs'
|
||||
goals 'jar'
|
||||
configuration {
|
||||
doclint 'none'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
70
message-generator-maven-plugin/pom.xml
Normal file
70
message-generator-maven-plugin/pom.xml
Normal file
|
@ -0,0 +1,70 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.faendir</groupId>
|
||||
<artifactId>message-generator-maven-plugin</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<name>message-generator-maven-plugin</name>
|
||||
<properties>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin-api</artifactId>
|
||||
<version>3.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.plugin-tools</groupId>
|
||||
<artifactId>maven-plugin-annotations</artifactId>
|
||||
<version>3.4</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.squareup</groupId>
|
||||
<artifactId>javapoet</artifactId>
|
||||
<version>1.11.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<version>26.0-jre</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-plugin-plugin</artifactId>
|
||||
<version>3.6.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>mojo-descriptor</id>
|
||||
<goals>
|
||||
<goal>descriptor</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>3.1.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<doclint>none</doclint>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
61
pom.groovy
61
pom.groovy
|
@ -1,61 +0,0 @@
|
|||
/*
|
||||
* (C) Copyright 2019 Lukas Morawietz (https://github.com/F43nd1r)
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
project {
|
||||
modelVersion '4.0.0'
|
||||
packaging 'pom'
|
||||
groupId 'com.faendir'
|
||||
artifactId 'parent'
|
||||
version '0.9.0-SNAPSHOT'
|
||||
|
||||
scm {
|
||||
url 'https://github.com/F43nd1r/Acrarium'
|
||||
connection 'scm:git:git://github.com:F43nd1r/Acrarium.git'
|
||||
developerConnection 'scm:git:git@github.com:F43nd1r/Acrarium.git'
|
||||
}
|
||||
|
||||
modules {
|
||||
module 'message-generator-maven-plugin'
|
||||
module 'acrarium'
|
||||
}
|
||||
|
||||
build {
|
||||
plugins {
|
||||
plugin {
|
||||
artifactId 'maven-release-plugin'
|
||||
version '2.5.3'
|
||||
configuration {
|
||||
autoVersionSubModules true
|
||||
tagNameFormat 'v@{project.version}'
|
||||
releaseProfile 'release'
|
||||
}
|
||||
}
|
||||
plugin {
|
||||
groupId 'org.apache.maven.plugins'
|
||||
artifactId 'maven-javadoc-plugin'
|
||||
version '3.1.1'
|
||||
executions {
|
||||
execution {
|
||||
id 'attach-javadocs'
|
||||
goals 'jar'
|
||||
configuration {
|
||||
doclint 'none'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
44
pom.xml
Normal file
44
pom.xml
Normal file
|
@ -0,0 +1,44 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.faendir</groupId>
|
||||
<artifactId>parent</artifactId>
|
||||
<version>0.9.0-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
<modules>
|
||||
<module>message-generator-maven-plugin</module>
|
||||
<module>acrarium</module>
|
||||
</modules>
|
||||
<scm>
|
||||
<connection>scm:git:git://github.com:F43nd1r/Acrarium.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:F43nd1r/Acrarium.git</developerConnection>
|
||||
<url>https://github.com/F43nd1r/Acrarium</url>
|
||||
</scm>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-release-plugin</artifactId>
|
||||
<version>2.5.3</version>
|
||||
<configuration>
|
||||
<tagNameFormat>v@{project.version}</tagNameFormat>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>3.1.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<doclint>none</doclint>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
Loading…
Reference in a new issue