You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Oliver Heger <ol...@oliver-heger.de> on 2006/06/24 17:21:59 UTC

[configuration][all] Maven 2 repository

Hi all,

the following bug report came in for [configuration] 
(http://issues.apache.org/jira/browse/CONFIGURATION-217):

<cite>
As described by ASF bug #33476 Commons Configurations shall depend on 
Servlet-API 2.4. The current Maven2 POM of Commons Configuration 1.2 
shows a dependency on Servlet-API 2.3. This is not only a mismatch 
between Commons Configurations' build configuration and its Maven2 POM 
but also prevents Maven2 projects from using the Servlet-API 2.4 if also 
using Commons Configuration 1.2.

Could it be possible to fix Commons Configuration 1.2's Maven2 POM to 
include a dependency on Servlet-API 2.4, please?
</cite>

Unfortunately I am no maven 2 expert. I assume the maven 2 POM is 
automatically generated from the maven 1 POM, is it? What can be done to 
fix this problem?

Thanks
Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [configuration][all] Maven 2 repository

Posted by "Oliver.Heger" <ol...@oliver-heger.de>.
Thank you, experts.

That a once released POM should not be changed was pretty much what I
had expected.

Well, I hope that the next release of [configuration] is not too far
away. We can then update the dependency to Servlet-API 2.4 and thus
solve the problem.

Thanks again!
Oliver

Dennis Lundberg wrote:
> Oliver Heger wrote:
> 
>> Hi all,
>>
>> the following bug report came in for [configuration]
>> (http://issues.apache.org/jira/browse/CONFIGURATION-217):
>>
>> <cite>
>> As described by ASF bug #33476 Commons Configurations shall depend on
>> Servlet-API 2.4. The current Maven2 POM of Commons Configuration 1.2
>> shows a dependency on Servlet-API 2.3. This is not only a mismatch
>> between Commons Configurations' build configuration and its Maven2 POM
>> but also prevents Maven2 projects from using the Servlet-API 2.4 if
>> also using Commons Configuration 1.2.
>>
>> Could it be possible to fix Commons Configuration 1.2's Maven2 POM to
>> include a dependency on Servlet-API 2.4, please?
>> </cite>
>>
>> Unfortunately I am no maven 2 expert. I assume the maven 2 POM is
>> automatically generated from the maven 1 POM, is it?
> 
> 
> Yes it is.
> 
>> What can be done to fix this problem?
> 
> 
> The Maven community has decided to not change POMs that has already been
> deployed to the repository. This is a recent change in policy. It was
> made to ensure reproducible builds. What we can do is to fix any
> problems in the next release of configuration.
> 
> Having had a look at build.xml and project.xml for the current SVN trunk
> of configuration, I must say that I do not understand what the author of
> the issue means. Both files indicate a dependency on servletapi-2.3. The
> bugzilla issue does mention servlet-api-2.4, but that patch was never
> applied. So in my eyes there is no problem.
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [configuration][all] Maven 2 repository

Posted by Dennis Lundberg <de...@apache.org>.
Oliver Heger wrote:
> Hi all,
> 
> the following bug report came in for [configuration] 
> (http://issues.apache.org/jira/browse/CONFIGURATION-217):
> 
> <cite>
> As described by ASF bug #33476 Commons Configurations shall depend on 
> Servlet-API 2.4. The current Maven2 POM of Commons Configuration 1.2 
> shows a dependency on Servlet-API 2.3. This is not only a mismatch 
> between Commons Configurations' build configuration and its Maven2 POM 
> but also prevents Maven2 projects from using the Servlet-API 2.4 if also 
> using Commons Configuration 1.2.
> 
> Could it be possible to fix Commons Configuration 1.2's Maven2 POM to 
> include a dependency on Servlet-API 2.4, please?
> </cite>
> 
> Unfortunately I am no maven 2 expert. I assume the maven 2 POM is 
> automatically generated from the maven 1 POM, is it?

Yes it is.

> What can be done to fix this problem?

The Maven community has decided to not change POMs that has already been 
deployed to the repository. This is a recent change in policy. It was 
made to ensure reproducible builds. What we can do is to fix any 
problems in the next release of configuration.

Having had a look at build.xml and project.xml for the current SVN trunk 
of configuration, I must say that I do not understand what the author of 
the issue means. Both files indicate a dependency on servletapi-2.3. The 
bugzilla issue does mention servlet-api-2.4, but that patch was never 
applied. So in my eyes there is no problem.


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [configuration][all] Maven 2 repository

Posted by Brett Porter <br...@apache.org>.
On 25/06/2006 1:21 AM, Oliver Heger wrote:
> Unfortunately I am no maven 2 expert. I assume the maven 2 POM is 
> automatically generated from the maven 1 POM, is it? What can be done to 
> fix this problem?
> 

Yes, you can fix it in the next release in the Maven 1 POM (we don't 
encourage changing something that's already released).

- Brett


-- 
Brett Porter <br...@apache.org>
Apache Maven - http://maven.apache.org/
Better Builds with Maven - http://library.mergere.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org