You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2008/07/23 08:49:27 UTC
svn commit: r679003 -
/maven/components/branches/maven-2.0.10-RC/maven-core/src/main/resources/META-INF/plexus/components.xml
Author: brett
Date: Tue Jul 22 23:49:27 2008
New Revision: 679003
URL: http://svn.apache.org/viewvc?rev=679003&view=rev
Log:
[MNG-3652] a better unified way to configure this based on John's work, once possible
Modified:
maven/components/branches/maven-2.0.10-RC/maven-core/src/main/resources/META-INF/plexus/components.xml
Modified: maven/components/branches/maven-2.0.10-RC/maven-core/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.10-RC/maven-core/src/main/resources/META-INF/plexus/components.xml?rev=679003&r1=679002&r2=679003&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.10-RC/maven-core/src/main/resources/META-INF/plexus/components.xml (original)
+++ maven/components/branches/maven-2.0.10-RC/maven-core/src/main/resources/META-INF/plexus/components.xml Tue Jul 22 23:49:27 2008
@@ -588,37 +588,13 @@
used to merge this configuration with that of the wagon artifacts.
We also need a way not to filter in the os.name, etc during the build, just the project version
<component>
- <role>org.apache.maven.wagon.Wagon</role>
- <role-hint>http</role-hint>
- <implementation>org.apache.maven.wagon.providers.http.LightweightHttpWagon</implementation>
- <instantiation-strategy>per-lookup</instantiation-strategy>
- <description>LightweightHttpWagon</description>
- <isolated-realm>false</isolated-realm>
+ <role>org.apache.maven.artifact.manager.WagonManager</role>
+ <role-hint>default</role-hint>
+ <implementation>org.apache.maven.artifact.manager.DefaultWagonManager</implementation>
<configuration>
- <httpHeaders>
- <property>
- <name>User-Agent</name>
- <value>Apache-Maven/${project.version} maven-artifact/${project.version} (Java @java.version@; @os.name@ @os.version@)</value>
- </property>
- </httpHeaders>
+ <httpUserAgent>Apache-Maven/${project.version} maven-artifact/${project.version} (Java @java.version@; @os.name@ @os.version@)</httpUserAgent>
</configuration>
</component>
- <component>
- <role>org.apache.maven.wagon.Wagon</role>
- <role-hint>https</role-hint>
- <implementation>org.apache.maven.wagon.providers.http.LightweightHttpsWagon</implementation>
- <instantiation-strategy>per-lookup</instantiation-strategy>
- <description>LIghtweightHttpsWagon</description>
- <isolated-realm>false</isolated-realm>
- <configuration>
- <httpHeaders>
- <property>
- <name>User-Agent</name>
- <value>Apache-Maven/${project.version} maven-artifact/${project.version} (Java @java.version@; @os.name@ @os.version@)</value>
- </property>
- </httpHeaders>
- </configuration>
- </component>
- -->
+ -->
</components>
</component-set>
Re: svn commit: r679003 - /maven/components/branches/maven-2.0.10-RC/maven-core/src/main/resources/META-INF/plexus/components.xml
Posted by Brett Porter <br...@apache.org>.
On 24/07/2008, at 12:34 AM, John Casey wrote:
> So, now can we expect to be blocked by the shade plugin release once
> again? This seems wholly unnecessary to me.
No, it's still pinned to 1.0. (read dev@ mail before commits :)
- Brett
--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: svn commit: r679003 - /maven/components/branches/maven-2.0.10-RC/maven-core/src/main/resources/META-INF/plexus/components.xml
Posted by John Casey <jd...@commonjava.org>.
So, now can we expect to be blocked by the shade plugin release once
again? This seems wholly unnecessary to me.
brett@apache.org wrote:
> Author: brett
> Date: Tue Jul 22 23:49:27 2008
> New Revision: 679003
>
> URL: http://svn.apache.org/viewvc?rev=679003&view=rev
> Log:
> [MNG-3652] a better unified way to configure this based on John's work, once possible
>
> Modified:
> maven/components/branches/maven-2.0.10-RC/maven-core/src/main/resources/META-INF/plexus/components.xml
>
> Modified: maven/components/branches/maven-2.0.10-RC/maven-core/src/main/resources/META-INF/plexus/components.xml
> URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.10-RC/maven-core/src/main/resources/META-INF/plexus/components.xml?rev=679003&r1=679002&r2=679003&view=diff
> ==============================================================================
> --- maven/components/branches/maven-2.0.10-RC/maven-core/src/main/resources/META-INF/plexus/components.xml (original)
> +++ maven/components/branches/maven-2.0.10-RC/maven-core/src/main/resources/META-INF/plexus/components.xml Tue Jul 22 23:49:27 2008
> @@ -588,37 +588,13 @@
> used to merge this configuration with that of the wagon artifacts.
> We also need a way not to filter in the os.name, etc during the build, just the project version
> <component>
> - <role>org.apache.maven.wagon.Wagon</role>
> - <role-hint>http</role-hint>
> - <implementation>org.apache.maven.wagon.providers.http.LightweightHttpWagon</implementation>
> - <instantiation-strategy>per-lookup</instantiation-strategy>
> - <description>LightweightHttpWagon</description>
> - <isolated-realm>false</isolated-realm>
> + <role>org.apache.maven.artifact.manager.WagonManager</role>
> + <role-hint>default</role-hint>
> + <implementation>org.apache.maven.artifact.manager.DefaultWagonManager</implementation>
> <configuration>
> - <httpHeaders>
> - <property>
> - <name>User-Agent</name>
> - <value>Apache-Maven/${project.version} maven-artifact/${project.version} (Java @java.version@; @os.name@ @os.version@)</value>
> - </property>
> - </httpHeaders>
> + <httpUserAgent>Apache-Maven/${project.version} maven-artifact/${project.version} (Java @java.version@; @os.name@ @os.version@)</httpUserAgent>
> </configuration>
> </component>
> - <component>
> - <role>org.apache.maven.wagon.Wagon</role>
> - <role-hint>https</role-hint>
> - <implementation>org.apache.maven.wagon.providers.http.LightweightHttpsWagon</implementation>
> - <instantiation-strategy>per-lookup</instantiation-strategy>
> - <description>LIghtweightHttpsWagon</description>
> - <isolated-realm>false</isolated-realm>
> - <configuration>
> - <httpHeaders>
> - <property>
> - <name>User-Agent</name>
> - <value>Apache-Maven/${project.version} maven-artifact/${project.version} (Java @java.version@; @os.name@ @os.version@)</value>
> - </property>
> - </httpHeaders>
> - </configuration>
> - </component>
> - -->
> + -->
> </components>
> </component-set>
>
>
--
John Casey
Developer, PMC Member - Apache Maven (http://maven.apache.org)
Blog: http://www.ejlife.net/blogs/buildchimp/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org