You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sebb <se...@gmail.com> on 2011/09/28 12:17:59 UTC

Re: svn commit: r1176700 - /commons/proper/commons-parent/trunk/pom.xml

On 28 September 2011 04:35,  <gg...@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-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: svn commit: r1176700 - /commons/proper/commons-parent/trunk/pom.xml

Posted by Gary Gregory <ga...@gmail.com>.
On Wed, Sep 28, 2011 at 6:29 AM, sebb <se...@gmail.com> wrote:

> On 28 September 2011 11:22, Simone Tripodi <si...@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?
>

Fixed in SVN. Good catch.

Thank you!
Gary

>
> > 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 <se...@gmail.com> wrote:
> >> On 28 September 2011 04:35,  <gg...@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-unsubscribe@commons.apache.org
> >> For additional commands, e-mail: dev-help@commons.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: svn commit: r1176700 - /commons/proper/commons-parent/trunk/pom.xml

Posted by sebb <se...@gmail.com>.
On 28 September 2011 11:22, Simone Tripodi <si...@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 <se...@gmail.com> wrote:
>> On 28 September 2011 04:35,  <gg...@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-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

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


Re: svn commit: r1176700 - /commons/proper/commons-parent/trunk/pom.xml

Posted by Simone Tripodi <si...@apache.org>.
I wan't able to plug extensions in profiles.
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 <se...@gmail.com> wrote:
> On 28 September 2011 04:35,  <gg...@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-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

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