|
18 | 18 |
|
19 | 19 | -->
|
20 | 20 | <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">
|
21 |
| - <parent> |
22 |
| - <groupId>org.apache.camel.quarkus</groupId> |
23 |
| - <artifactId>camel-quarkus-build-parent</artifactId> |
24 |
| - <version>1.2.0-SNAPSHOT</version> |
25 |
| - <relativePath>../../poms/build-parent/pom.xml</relativePath> |
26 |
| - </parent> |
27 |
| - |
28 | 21 | <modelVersion>4.0.0</modelVersion>
|
29 | 22 |
|
30 |
| - |
31 |
| - |
32 | 23 | <artifactId>camel-quarkus-examples-file-log-xml</artifactId>
|
| 24 | + <groupId>org.apache.camel.quarkus.examples</groupId> |
| 25 | + <version>1.2.0-SNAPSHOT</version> |
| 26 | + |
33 | 27 | <name>Camel Quarkus :: Examples :: File To Log XML DSL</name>
|
34 | 28 | <description>Camel Quarkus Example :: File To Log XML DSL</description>
|
35 | 29 |
|
| 30 | + <properties> |
| 31 | + <camel-quarkus.version>1.2.0-SNAPSHOT</camel-quarkus.version> |
| 32 | + <quarkus.version>1.8.1.Final</quarkus.version> |
| 33 | + |
| 34 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 35 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 36 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 37 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 38 | + <maven.compiler.testTarget>${maven.compiler.target}</maven.compiler.testTarget> |
| 39 | + <maven.compiler.testSource>${maven.compiler.source}</maven.compiler.testSource> |
| 40 | + |
| 41 | + <formatter-maven-plugin.version>2.11.0</formatter-maven-plugin.version> |
| 42 | + <impsort-maven-plugin.version>1.3.2</impsort-maven-plugin.version> |
| 43 | + <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version> |
| 44 | + <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version> |
| 45 | + <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version> |
| 46 | + <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version> |
| 47 | + <mycila-license.version>3.0</mycila-license.version> |
| 48 | + </properties> |
| 49 | + |
| 50 | + <dependencyManagement> |
| 51 | + <dependencies> |
| 52 | + <!-- Import BOM --> |
| 53 | + <dependency> |
| 54 | + <groupId>org.apache.camel.quarkus</groupId> |
| 55 | + <artifactId>camel-quarkus-bom</artifactId> |
| 56 | + <version>${camel-quarkus.version}</version> |
| 57 | + <type>pom</type> |
| 58 | + <scope>import</scope> |
| 59 | + </dependency> |
| 60 | + </dependencies> |
| 61 | + </dependencyManagement> |
| 62 | + |
36 | 63 | <dependencies>
|
37 | 64 | <dependency>
|
38 | 65 | <groupId>org.apache.camel.quarkus</groupId>
|
|
54 | 81 | <groupId>org.apache.camel.quarkus</groupId>
|
55 | 82 | <artifactId>camel-quarkus-file</artifactId>
|
56 | 83 | </dependency>
|
57 |
| - |
58 |
| - <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory --> |
59 |
| - <dependency> |
60 |
| - <groupId>org.apache.camel.quarkus</groupId> |
61 |
| - <artifactId>camel-quarkus-file-deployment</artifactId> |
62 |
| - <version>${project.version}</version> |
63 |
| - <type>pom</type> |
64 |
| - <scope>test</scope> |
65 |
| - <exclusions> |
66 |
| - <exclusion> |
67 |
| - <groupId>*</groupId> |
68 |
| - <artifactId>*</artifactId> |
69 |
| - </exclusion> |
70 |
| - </exclusions> |
71 |
| - </dependency> |
72 |
| - <dependency> |
73 |
| - <groupId>org.apache.camel.quarkus</groupId> |
74 |
| - <artifactId>camel-quarkus-log-deployment</artifactId> |
75 |
| - <version>${project.version}</version> |
76 |
| - <type>pom</type> |
77 |
| - <scope>test</scope> |
78 |
| - <exclusions> |
79 |
| - <exclusion> |
80 |
| - <groupId>*</groupId> |
81 |
| - <artifactId>*</artifactId> |
82 |
| - </exclusion> |
83 |
| - </exclusions> |
84 |
| - </dependency> |
85 |
| - <dependency> |
86 |
| - <groupId>org.apache.camel.quarkus</groupId> |
87 |
| - <artifactId>camel-quarkus-main-deployment</artifactId> |
88 |
| - <version>${project.version}</version> |
89 |
| - <type>pom</type> |
90 |
| - <scope>test</scope> |
91 |
| - <exclusions> |
92 |
| - <exclusion> |
93 |
| - <groupId>*</groupId> |
94 |
| - <artifactId>*</artifactId> |
95 |
| - </exclusion> |
96 |
| - </exclusions> |
97 |
| - </dependency> |
98 |
| - <dependency> |
99 |
| - <groupId>org.apache.camel.quarkus</groupId> |
100 |
| - <artifactId>camel-quarkus-timer-deployment</artifactId> |
101 |
| - <version>${project.version}</version> |
102 |
| - <type>pom</type> |
103 |
| - <scope>test</scope> |
104 |
| - <exclusions> |
105 |
| - <exclusion> |
106 |
| - <groupId>*</groupId> |
107 |
| - <artifactId>*</artifactId> |
108 |
| - </exclusion> |
109 |
| - </exclusions> |
110 |
| - </dependency> |
111 |
| - <dependency> |
112 |
| - <groupId>org.apache.camel.quarkus</groupId> |
113 |
| - <artifactId>camel-quarkus-xml-io-deployment</artifactId> |
114 |
| - <version>${project.version}</version> |
115 |
| - <type>pom</type> |
116 |
| - <scope>test</scope> |
117 |
| - <exclusions> |
118 |
| - <exclusion> |
119 |
| - <groupId>*</groupId> |
120 |
| - <artifactId>*</artifactId> |
121 |
| - </exclusion> |
122 |
| - </exclusions> |
123 |
| - </dependency> |
124 | 84 | </dependencies>
|
125 | 85 |
|
126 | 86 | <build>
|
| 87 | + <pluginManagement> |
| 88 | + <plugins> |
| 89 | + |
| 90 | + <plugin> |
| 91 | + <groupId>net.revelc.code.formatter</groupId> |
| 92 | + <artifactId>formatter-maven-plugin</artifactId> |
| 93 | + <version>${formatter-maven-plugin.version}</version> |
| 94 | + <configuration> |
| 95 | + <configFile>${maven.multiModuleProjectDirectory}/eclipse-formatter-config.xml</configFile> |
| 96 | + </configuration> |
| 97 | + </plugin> |
| 98 | + |
| 99 | + <plugin> |
| 100 | + <groupId>net.revelc.code</groupId> |
| 101 | + <artifactId>impsort-maven-plugin</artifactId> |
| 102 | + <version>${impsort-maven-plugin.version}</version> |
| 103 | + <configuration> |
| 104 | + <groups>java.,javax.,org.w3c.,org.xml.,junit.</groups> |
| 105 | + <removeUnused>true</removeUnused> |
| 106 | + <staticAfter>true</staticAfter> |
| 107 | + <staticGroups>java.,javax.,org.w3c.,org.xml.,junit.</staticGroups> |
| 108 | + </configuration> |
| 109 | + </plugin> |
| 110 | + |
| 111 | + <plugin> |
| 112 | + <groupId>org.apache.maven.plugins</groupId> |
| 113 | + <artifactId>maven-compiler-plugin</artifactId> |
| 114 | + <version>${maven-compiler-plugin.version}</version> |
| 115 | + <configuration> |
| 116 | + <showDeprecation>true</showDeprecation> |
| 117 | + <showWarnings>true</showWarnings> |
| 118 | + <compilerArgs> |
| 119 | + <arg>-Xlint:unchecked</arg> |
| 120 | + </compilerArgs> |
| 121 | + </configuration> |
| 122 | + </plugin> |
| 123 | + |
| 124 | + <plugin> |
| 125 | + <groupId>org.apache.maven.plugins</groupId> |
| 126 | + <artifactId>maven-surefire-plugin</artifactId> |
| 127 | + <version>${maven-surefire-plugin.version}</version> |
| 128 | + <configuration> |
| 129 | + <failIfNoTests>false</failIfNoTests> |
| 130 | + <systemProperties> |
| 131 | + <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
| 132 | + </systemProperties> |
| 133 | + </configuration> |
| 134 | + </plugin> |
| 135 | + |
| 136 | + <plugin> |
| 137 | + <groupId>io.quarkus</groupId> |
| 138 | + <artifactId>quarkus-maven-plugin</artifactId> |
| 139 | + <version>${quarkus.version}</version> |
| 140 | + </plugin> |
| 141 | + |
| 142 | + <plugin> |
| 143 | + <groupId>org.apache.maven.plugins</groupId> |
| 144 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 145 | + <version>${maven-surefire-plugin.version}</version> |
| 146 | + </plugin> |
| 147 | + |
| 148 | + <plugin> |
| 149 | + <groupId>org.apache.maven.plugins</groupId> |
| 150 | + <artifactId>maven-jar-plugin</artifactId> |
| 151 | + <version>${maven-jar-plugin.version}</version> |
| 152 | + </plugin> |
| 153 | + |
| 154 | + <plugin> |
| 155 | + <groupId>com.mycila</groupId> |
| 156 | + <artifactId>license-maven-plugin</artifactId> |
| 157 | + <version>${mycila-license.version}</version> |
| 158 | + <configuration> |
| 159 | + <failIfUnknown>true</failIfUnknown> |
| 160 | + <header>${maven.multiModuleProjectDirectory}/header.txt</header> |
| 161 | + <excludes> |
| 162 | + <exclude>**/*.adoc</exclude> |
| 163 | + <exclude>**/*.csv</exclude> |
| 164 | + <exclude>**/*.txt</exclude> |
| 165 | + <exclude>**/LICENSE.txt</exclude> |
| 166 | + <exclude>**/LICENSE</exclude> |
| 167 | + <exclude>**/NOTICE.txt</exclude> |
| 168 | + <exclude>**/NOTICE</exclude> |
| 169 | + <exclude>**/README</exclude> |
| 170 | + <exclude>**/pom.xml.versionsBackup</exclude> |
| 171 | + </excludes> |
| 172 | + <mapping> |
| 173 | + <java>SLASHSTAR_STYLE</java> |
| 174 | + <properties>CAMEL_PROPERTIES_STYLE</properties> |
| 175 | + <kt>SLASHSTAR_STYLE</kt> |
| 176 | + </mapping> |
| 177 | + <headerDefinitions> |
| 178 | + <headerDefinition>${maven.multiModuleProjectDirectory}/license-properties-headerdefinition.xml</headerDefinition> |
| 179 | + </headerDefinitions> |
| 180 | + </configuration> |
| 181 | + </plugin> |
| 182 | + </plugins> |
| 183 | + </pluginManagement> |
| 184 | + |
127 | 185 | <plugins>
|
128 | 186 | <plugin>
|
129 | 187 | <groupId>io.quarkus</groupId>
|
|
140 | 198 | <workingDir>${project.basedir}</workingDir>
|
141 | 199 | </configuration>
|
142 | 200 | </plugin>
|
| 201 | + |
| 202 | + <plugin> |
| 203 | + <groupId>net.revelc.code.formatter</groupId> |
| 204 | + <artifactId>formatter-maven-plugin</artifactId> |
| 205 | + <executions> |
| 206 | + <execution> |
| 207 | + <id>format</id> |
| 208 | + <goals> |
| 209 | + <goal>format</goal> |
| 210 | + </goals> |
| 211 | + <phase>process-sources</phase> |
| 212 | + </execution> |
| 213 | + </executions> |
| 214 | + </plugin> |
| 215 | + |
| 216 | + <plugin> |
| 217 | + <groupId>net.revelc.code</groupId> |
| 218 | + <artifactId>impsort-maven-plugin</artifactId> |
| 219 | + <executions> |
| 220 | + <execution> |
| 221 | + <id>sort-imports</id> |
| 222 | + <goals> |
| 223 | + <goal>sort</goal> |
| 224 | + </goals> |
| 225 | + <phase>process-sources</phase> |
| 226 | + </execution> |
| 227 | + </executions> |
| 228 | + </plugin> |
143 | 229 | </plugins>
|
144 | 230 | </build>
|
145 | 231 |
|
|
0 commit comments