[logback-dev] svn commit: r1598 - in logback/trunk: . logback-access logback-classic logback-core
noreply.ceki at qos.ch
noreply.ceki at qos.ch
Thu Oct 4 15:14:12 CEST 2007
Author: ceki
Date: Thu Oct 4 15:14:12 2007
New Revision: 1598
Modified:
logback/trunk/logback-access/pom.xml
logback/trunk/logback-classic/pom.xml
logback/trunk/logback-core/pom.xml
logback/trunk/pom.xml
Log:
re-enabled retro-translator in builds
see also http://mojo.codehaus.org/retrotranslator-maven-plugin/index.html
Modified: logback/trunk/logback-access/pom.xml
==============================================================================
--- logback/trunk/logback-access/pom.xml (original)
+++ logback/trunk/logback-access/pom.xml Thu Oct 4 15:14:12 2007
@@ -136,19 +136,19 @@
<version>1.0-alpha-2</version>
<executions>
<execution>
- <phase>process-classes</phase>
+ <phase>deploy</phase>
<goals>
<goal>translate</goal>
</goals>
<configuration>
- <filesets>
- <fileset>
- <directory>${project.build.outputDirectory}</directory>
- <includes>
- <include>**/*.class</include>
- </includes>
- </fileset>
- </filesets>
+ <filesets>
+ <fileset>
+ <directory>${project.build.outputDirectory}</directory>
+ <includes>
+ <include>**/*.class</include>
+ </includes>
+ </fileset>
+ </filesets>
<destjar>
target/${artifactId}-${project.version}-jdk14.jar
</destjar>
Modified: logback/trunk/logback-classic/pom.xml
==============================================================================
--- logback/trunk/logback-classic/pom.xml (original)
+++ logback/trunk/logback-classic/pom.xml Thu Oct 4 15:14:12 2007
@@ -137,6 +137,7 @@
</configuration>
</plugin>
+
<!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -144,19 +145,19 @@
<version>1.0-alpha-2</version>
<executions>
<execution>
- <phase>process-classes</phase>
+ <phase>deploy</phase>
<goals>
<goal>translate</goal>
</goals>
<configuration>
- <filesets>
- <fileset>
- <directory>${project.build.outputDirectory}</directory>
- <includes>
- <include>**/*.class</include>
- </includes>
- </fileset>
- </filesets>
+ <filesets>
+ <fileset>
+ <directory>${project.build.outputDirectory}</directory>
+ <includes>
+ <include>**/*.class</include>
+ </includes>
+ </fileset>
+ </filesets>
<destjar>
target/${artifactId}-${project.version}-jdk14.jar
</destjar>
Modified: logback/trunk/logback-core/pom.xml
==============================================================================
--- logback/trunk/logback-core/pom.xml (original)
+++ logback/trunk/logback-core/pom.xml Thu Oct 4 15:14:12 2007
@@ -95,6 +95,7 @@
</executions>
</plugin>
+
<!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -102,7 +103,7 @@
<version>1.0-alpha-2</version>
<executions>
<execution>
- <phase>process-classes</phase>
+ <phase>deploy</phase>
<goals>
<goal>translate</goal>
</goals>
Modified: logback/trunk/pom.xml
==============================================================================
--- logback/trunk/pom.xml (original)
+++ logback/trunk/pom.xml Thu Oct 4 15:14:12 2007
@@ -129,57 +129,23 @@
<maven.test.skip>true</maven.test.skip>
</properties>
</profile>
+
<profile>
- <!--
- The use of this profile requires to set
- the <path.to.rt.jar> property in the
- MAVEN_HOME/conf/settings.xml file.
- The variable should point to a JDK1.4
- rt.jar file.
- -->
- <id>retrotranslator</id>
- <properties>
- <retrotranslator.verify>true</retrotranslator.verify>
- </properties>
- <dependencies>
- <dependency>
- <groupId>net.sf.retrotranslator</groupId>
- <artifactId>retrotranslator-runtime</artifactId>
- <version>1.2.1</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
- <build>
- <defaultGoal>process-classes</defaultGoal>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>retrotranslator-maven-plugin</artifactId>
- <version>1.0-alpha-2</version>
- <inherited>true</inherited>
- <configuration>
- <advanced>true</advanced>
- <verifyClasspath>
- <element>${path.to.rt.jar}</element>
- </verifyClasspath>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <pluginRepositories>
- <pluginRepository>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <id>snapshots.repository.codehaus.org</id>
- <name>Retrotranslator-Snapshot-Repo</name>
- <url>http://snapshots.repository.codehaus.org</url>
- </pluginRepository>
- </pluginRepositories>
- </profile>
+ <id>LODH</id>
+ <distributionManagement>
+ <repository>
+ <id>lodh-release-repository</id>
+ <name>LODH repository</name>
+ <url>file:////gaugin.dev.biz.lodh.com/maven2/lodh-release-repository</url>
+ </repository>
+ <snapshotRepository>
+ <id>lodh-snapshot-repository</id>
+ <name>LODH repository</name>
+ <url>file:////gaugin.dev.biz.lodh.com/maven2/lodh-snapshot-repository</url>
+ <uniqueVersion>false</uniqueVersion>
+ </snapshotRepository>
+ </distributionManagement>
+ </profile>
</profiles>
<build>
@@ -247,6 +213,24 @@
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>retrotranslator-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>deploy</phase>
+ <goals>
+ <goal>translate-project</goal>
+ </goals>
+ <configuration>
+ <classifier>jdk14</classifier>
+ <attach>true</attach>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+
</plugins>
</build>
@@ -352,4 +336,9 @@
</snapshotRepository>
</distributionManagement>
+
+
+
+
+
</project>
\ No newline at end of file
More information about the logback-dev
mailing list