You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Dennis Lundberg <de...@apache.org> on 2013/02/23 00:21:50 UTC
Re: svn commit: r1449206 - /commons/proper/logging/trunk/pom.xml
On 2013-02-22 21:38, tn@apache.org wrote:
> Author: tn
> Date: Fri Feb 22 20:38:59 2013
> New Revision: 1449206
>
> URL: http://svn.apache.org/r1449206
> Log:
> Fix jar deploy, add osgi bundle metadata.
>
> Modified:
> commons/proper/logging/trunk/pom.xml
>
> Modified: commons/proper/logging/trunk/pom.xml
> URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/pom.xml?rev=1449206&r1=1449205&r2=1449206&view=diff
> ==============================================================================
> --- commons/proper/logging/trunk/pom.xml (original)
> +++ commons/proper/logging/trunk/pom.xml Fri Feb 22 20:38:59 2013
> @@ -189,11 +189,6 @@ under the License.
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-jar-plugin</artifactId>
> - <configuration>
> - <archive>
> - <manifestFile>src/conf/MANIFEST.MF</manifestFile>
> - </archive>
> - </configuration>
> <executions>
> <execution>
> <!--
> @@ -253,6 +248,21 @@ under the License.
> </excludes>
> </configuration>
> </execution>
> +
> + <!--
> + - Define the full jar last, the deploy/install plugin seems to be broken
> + - and takes the last definition from here.
> + -->
What kinds of problems are you seeing?
This shouldn't be needed.
> + <execution>
> + <id>fulljar</id>
> + <phase>package</phase>
> + <goals>
> + <goal>jar</goal>
> + </goals>
> + <configuration>
> + <jarName>${project.artifactId}-${project.version}</jarName>
> + </configuration>
> + </execution>
> </executions>
> </plugin>
>
> @@ -544,7 +554,14 @@ under the License.
> <commons.binary.suffix>-bin</commons.binary.suffix>
> <commons.jira.id>LOGGING</commons.jira.id>
> <commons.jira.pid>12310484</commons.jira.pid>
> - <commons.surefire.version>2.12</commons.surefire.version>
> + <commons.surefire.version>2.12</commons.surefire.version>
> <skipSurefireReport>true</skipSurefireReport>
> +
> + <commons.osgi.import>
> + javax.servlet;version="[2.1.0, 3.0.0)";resolution:=optional,
> + org.apache.avalon.framework.logger;version="[4.1.3, 4.1.5]";resolution:=optional,
> + org.apache.log;version="[1.0.1, 1.0.1]";resolution:=optional,
> + org.apache.log4j;version="[1.2.15, 2.0.0)";resolution:=optional
> + </commons.osgi.import>
> </properties>
> </project>
>
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: svn commit: r1449206 - /commons/proper/logging/trunk/pom.xml
Posted by Dennis Lundberg <de...@apache.org>.
On 2013-02-23 09:01, Thomas Neidhart wrote:
> On 02/23/2013 12:21 AM, Dennis Lundberg wrote:
>> On 2013-02-22 21:38, tn@apache.org wrote:
>>> Author: tn
>>> Date: Fri Feb 22 20:38:59 2013
>>> New Revision: 1449206
>>>
>>> URL: http://svn.apache.org/r1449206
>>> Log:
>>> Fix jar deploy, add osgi bundle metadata.
>>>
>>> Modified:
>>> commons/proper/logging/trunk/pom.xml
>>>
>>> Modified: commons/proper/logging/trunk/pom.xml
>>> URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/pom.xml?rev=1449206&r1=1449205&r2=1449206&view=diff
>>> ==============================================================================
>>> --- commons/proper/logging/trunk/pom.xml (original)
>>> +++ commons/proper/logging/trunk/pom.xml Fri Feb 22 20:38:59 2013
>>> @@ -189,11 +189,6 @@ under the License.
>>> <plugin>
>>> <groupId>org.apache.maven.plugins</groupId>
>>> <artifactId>maven-jar-plugin</artifactId>
>>> - <configuration>
>>> - <archive>
>>> - <manifestFile>src/conf/MANIFEST.MF</manifestFile>
>>> - </archive>
>>> - </configuration>
>>> <executions>
>>> <execution>
>>> <!--
>>> @@ -253,6 +248,21 @@ under the License.
>>> </excludes>
>>> </configuration>
>>> </execution>
>>> +
>>> + <!--
>>> + - Define the full jar last, the deploy/install plugin seems to be broken
>>> + - and takes the last definition from here.
>>> + -->
>>
>> What kinds of problems are you seeing?
>> This shouldn't be needed.
>
> I thought so too, but if this is not present, the following happens when
> doing a deploy/install:
>
> [INFO] Installing
> /home/tn/workspace/apache/logging/target/commons-logging-adapters-1.1.2-SNAPSHOT.jar
> to
> /home/tn/.m2/repository/commons-logging/commons-logging/1.1.2-SNAPSHOT/commons-logging-1.1.2-SNAPSHOT.jar
>
> It looks like the last execution definition overrides something.
I see, let me see if I can make it work...
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: svn commit: r1449206 - /commons/proper/logging/trunk/pom.xml
Posted by Thomas Neidhart <th...@gmail.com>.
On 02/23/2013 12:21 AM, Dennis Lundberg wrote:
> On 2013-02-22 21:38, tn@apache.org wrote:
>> Author: tn
>> Date: Fri Feb 22 20:38:59 2013
>> New Revision: 1449206
>>
>> URL: http://svn.apache.org/r1449206
>> Log:
>> Fix jar deploy, add osgi bundle metadata.
>>
>> Modified:
>> commons/proper/logging/trunk/pom.xml
>>
>> Modified: commons/proper/logging/trunk/pom.xml
>> URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/pom.xml?rev=1449206&r1=1449205&r2=1449206&view=diff
>> ==============================================================================
>> --- commons/proper/logging/trunk/pom.xml (original)
>> +++ commons/proper/logging/trunk/pom.xml Fri Feb 22 20:38:59 2013
>> @@ -189,11 +189,6 @@ under the License.
>> <plugin>
>> <groupId>org.apache.maven.plugins</groupId>
>> <artifactId>maven-jar-plugin</artifactId>
>> - <configuration>
>> - <archive>
>> - <manifestFile>src/conf/MANIFEST.MF</manifestFile>
>> - </archive>
>> - </configuration>
>> <executions>
>> <execution>
>> <!--
>> @@ -253,6 +248,21 @@ under the License.
>> </excludes>
>> </configuration>
>> </execution>
>> +
>> + <!--
>> + - Define the full jar last, the deploy/install plugin seems to be broken
>> + - and takes the last definition from here.
>> + -->
>
> What kinds of problems are you seeing?
> This shouldn't be needed.
I thought so too, but if this is not present, the following happens when
doing a deploy/install:
[INFO] Installing
/home/tn/workspace/apache/logging/target/commons-logging-adapters-1.1.2-SNAPSHOT.jar
to
/home/tn/.m2/repository/commons-logging/commons-logging/1.1.2-SNAPSHOT/commons-logging-1.1.2-SNAPSHOT.jar
It looks like the last execution definition overrides something.
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org