META-INF.maven.org.jboss.logging.jboss-logging-processor.pom.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weld-servlet-shaded Show documentation
Show all versions of weld-servlet-shaded Show documentation
This jar bundles all the bits of Weld and CDI required for running in a Servlet container.
The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ JBoss, Home of Professional Open Source.
~
~ Copyright 2023 Red Hat, Inc., and individual contributors
~ as indicated by the @author tags.
~
~ 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 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>
<parent>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging-tools-parent</artifactId>
<version>3.0.4.Final</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>jboss-logging-processor</artifactId>
<packaging>jar</packaging>
<name>JBoss Logging I18n Annotation Processor</name>
<properties>
<test.report.path>${project.build.testOutputDirectory}</test.report.path>
<expression.properties.path>${basedir}/src/test/resources/expression.properties</expression.properties.path>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging-annotations</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.jdeparser</groupId>
<artifactId>jdeparser</artifactId>
</dependency>
<!--
Test
-->
<dependency>
<groupId>org.jboss.logmanager</groupId>
<artifactId>jboss-logmanager</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.forge.roaster</groupId>
<artifactId>roaster-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.forge.roaster</groupId>
<artifactId>roaster-jdt</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!--
Disable Annotation processor
on project compile
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<compilerArgument>-proc:none</compilerArgument>
</configuration>
</execution>
<execution>
<id>test-compile</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
</path>
<path>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>${version.org.jboss.logging}</version>
</path>
</annotationProcessorPaths>
</configuration>
</execution>
<!-- Define that asciidoc reports should be generated -->
<execution>
<id>test-compile-adoc</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<compilerArgs>
<arg>-Aorg.jboss.logging.tools.report.type=adoc</arg>
<arg>-Aorg.jboss.logging.tools.report.path=${test.report.path}</arg>
<arg>-Aorg.jboss.logging.tools.report.title=Test Title</arg>
<arg>-Aorg.jboss.logging.tools.expressionProperties=${expression.properties.path}</arg>
</compilerArgs>
<annotationProcessorPaths>
<path>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
</path>
<path>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>${version.org.jboss.logging}</version>
</path>
</annotationProcessorPaths>
</configuration>
</execution>
<!-- Define that XML reports should be generated -->
<execution>
<id>test-compile-xml</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<compilerArgs>
<arg>-Aorg.jboss.logging.tools.report.type=xml</arg>
<arg>-Aorg.jboss.logging.tools.report.path=${test.report.path}</arg>
<arg>-Aorg.jboss.logging.tools.report.title=Test Title</arg>
<arg>-Aorg.jboss.logging.tools.expressionProperties=${expression.properties.path}</arg>
</compilerArgs>
<annotationProcessorPaths>
<path>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
</path>
<path>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>${version.org.jboss.logging}</version>
</path>
</annotationProcessorPaths>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<environmentVariables>
<JBOSS_LOGGING_TEST_VAR>envValue</JBOSS_LOGGING_TEST_VAR>
</environmentVariables>
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
<test.src.path>${project.build.testSourceDirectory}</test.src.path>
<test.generated.src.path>${project.build.directory}/generated-test-sources/test-annotations</test.generated.src.path>
<test.report.path>${test.report.path}</test.report.path>
<test.property>sysValue</test.property>
<test.skeleton.file.path>${project.build.testOutputDirectory}</test.skeleton.file.path>
<expressionPropertiesPath>${expression.properties.path}</expressionPropertiesPath>
</systemPropertyVariables>
</configuration>
<executions>
<execution>
<id>no-stack-trace</id>
<goals>
<goal>test</goal>
</goals>
<phase>test</phase>
<configuration>
<argLine>-XX:-StackTraceInThrowable</argLine>
<groups>NoStackTrace</groups>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy