[jboss-cvs] JBossAS SVN: r79744 - projects/aop/trunk/aop/docs/examples/logging.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Oct 20 08:17:45 EDT 2008
Author: stalep
Date: 2008-10-20 08:17:45 -0400 (Mon, 20 Oct 2008)
New Revision: 79744
Modified:
projects/aop/trunk/aop/docs/examples/logging/pom.xml
Log:
added log4j support
Modified: projects/aop/trunk/aop/docs/examples/logging/pom.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/logging/pom.xml 2008-10-20 12:13:34 UTC (rev 79743)
+++ projects/aop/trunk/aop/docs/examples/logging/pom.xml 2008-10-20 12:17:45 UTC (rev 79744)
@@ -6,6 +6,7 @@
<artifactId>examples</artifactId>
<version>1.0.0</version>
</parent>
+
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.aop</groupId>
<artifactId>logging</artifactId>
@@ -21,74 +22,76 @@
<artifactId>maven-jbossaop-plugin</artifactId>
<version>${jboss.aop.plugin.version}</version>
</dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.logging</groupId>
+ <artifactId>jboss-logging-log4j</artifactId>
+ <version>2.0.5.GA</version>
+ <scope>runtime</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>apache-log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
</dependencies>
- <build>
- <sourceDirectory>.</sourceDirectory>
- <outputDirectory>target</outputDirectory>
- <defaultGoal>install</defaultGoal>
+ <build>
+ <sourceDirectory>.</sourceDirectory>
+ <outputDirectory>target</outputDirectory>
+ <defaultGoal>install</defaultGoal>
+ <resources>
+ <resource>
+ <directory>.</directory>
+ </resource>
+ </resources>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemProperties>
- <property>
- <name>log4j.configuration</name>
- <value>log4j.properties</value>
- <name>log4j.debug</name>
- <value>true</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
-
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>${jdkVersion}</source>
- <target>${jdkVersion}</target>
- <excludes>
- <exclude>target/*</exclude>
- </excludes>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jbossaop-plugin</artifactId>
- <version>${jboss.aop.plugin.version}</version>
- <executions>
- <execution>
- <id>compile</id>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <aoppaths>
- <aoppath>jboss-aop.xml</aoppath>
- </aoppaths>
- <verbose>true</verbose>
+ <source>${jdkVersion}</source>
+ <target>${jdkVersion}</target>
+ <excludes>
+ <exclude>target/*</exclude>
+ </excludes>
</configuration>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- <execution>
- <id>run</id>
- <configuration>
- <aoppaths>
- <aoppath>jboss-aop.xml</aoppath>
- </aoppaths>
- <verbose>true</verbose>
- <executable>Driver</executable>
- <loadtime>true</loadtime>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
+ </plugin>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jbossaop-plugin</artifactId>
+ <version>${jboss.aop.plugin.version}</version>
+ <executions>
+ <execution>
+ <id>run</id>
+ <configuration>
+ <includeProjectDependency>true</includeProjectDependency>
+ <aoppaths>
+ <aoppath>jboss-aop.xml</aoppath>
+ </aoppaths>
+ <verbose>true</verbose>
+ <executable>Driver</executable>
+ <loadtime>true</loadtime>
+ <properties>
+ <property>
+ <name>log4j.configuration</name>
+ <value>log4j.properties</value>
+ </property>
+ </properties>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>
More information about the jboss-cvs-commits
mailing list