On 28 September 2011 11:22, Simone Tripodi <simonetrip...@apache.org> wrote:
> I wan't able to plug extensions in profiles.

But we already have a site plugin reference in the M3 profile - can't
one just add the dependency to that?

> Indeed, ssh support comes "for free" with mvn2
> Simo
>
> http://people.apache.org/~simonetripodi/
> http://www.99soft.org/
>
>
>
> On Wed, Sep 28, 2011 at 12:17 PM, sebb <seb...@gmail.com> wrote:
>> On 28 September 2011 04:35,  <ggreg...@apache.org> wrote:
>>> Author: ggregory
>>> Date: Wed Sep 28 03:35:42 2011
>>> New Revision: 1176700
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1176700&view=rev
>>> Log:
>>> To deploy a site with a non-built-in protocol, you need to add the 
>>> corresponding wagon provider. Out of the box, Maven 3 only supports file:, 
>>> http: and https: as transport protocols. Maven 2 adds scp: to this list. If 
>>> you try to deploy a site with an unsupported protocol, you'll get an error. 
>>> See 
>>> https://maven.apache.org/plugins/maven-site-plugin/examples/adding-deploy-protocol.html
>>>
>>> Modified:
>>>    commons/proper/commons-parent/trunk/pom.xml
>>>
>>> Modified: commons/proper/commons-parent/trunk/pom.xml
>>> URL: 
>>> http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1176700&r1=1176699&r2=1176700&view=diff
>>> ==============================================================================
>>> --- commons/proper/commons-parent/trunk/pom.xml (original)
>>> +++ commons/proper/commons-parent/trunk/pom.xml Wed Sep 28 03:35:42 2011
>>> @@ -277,6 +277,14 @@
>>>           <groupId>org.apache.maven.plugins</groupId>
>>>           <artifactId>maven-site-plugin</artifactId>
>>>           <version>3.0</version>
>>> +          <dependencies>
>>> +            <dependency>
>>> +              <!-- add support for ssh/scp -->
>>> +              <groupId>org.apache.maven.wagon</groupId>
>>> +              <artifactId>wagon-ssh</artifactId>
>>> +              <version>1.0</version>
>>> +            </dependency>
>>> +          </dependencies>
>>
>> Shouldn't that go in the Maven 3 profile?
>>
>> AIUI, it's not needed for M2.
>>
>>>         </plugin>
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>

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

Reply via email to