You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2008/04/18 00:20:11 UTC

svn commit: r649313 - /maven/plugins/trunk/maven-javadoc-plugin/pom.xml

Author: olamy
Date: Thu Apr 17 15:20:07 2008
New Revision: 649313

URL: http://svn.apache.org/viewvc?rev=649313&view=rev
Log:
upgrade to last parent remove redudant plugin declaration

Modified:
    maven/plugins/trunk/maven-javadoc-plugin/pom.xml

Modified: maven/plugins/trunk/maven-javadoc-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/pom.xml?rev=649313&r1=649312&r2=649313&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-javadoc-plugin/pom.xml Thu Apr 17 15:20:07 2008
@@ -4,7 +4,7 @@
   <parent>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-plugins</artifactId>
-    <version>10</version>
+    <version>11</version>
   </parent>
 
   <artifactId>maven-javadoc-plugin</artifactId>
@@ -68,10 +68,6 @@
           </filesets>
         </configuration>
       </plugin>
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.3</version>
-      </plugin>
     </plugins>
   </build>
 
@@ -201,7 +197,7 @@
       <id>integration-tests</id>
       <activation>
         <property>
-          <name>maven.test.skip</name>
+          <name>skipTests</name>
           <value>!true</value>
         </property>
       </activation>
@@ -255,27 +251,6 @@
                 </goals>
               </execution>
            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    <!-- Temporarily force the source plugin version to make sure LICENSE and NOTICE are included. -->
-    <profile>
-      <id>release</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-source-plugin</artifactId>
-            <version>2.0.4</version>
-            <executions>
-              <execution>
-                <id>attach-sources</id>
-                <goals>
-                  <goal>jar</goal>
-                </goals>
-              </execution>
-            </executions>
           </plugin>
         </plugins>
       </build>



Re: svn commit: r649313 - /maven/plugins/trunk/maven-javadoc-plugin/pom.xml

Posted by Olivier Lamy <ol...@apache.org>.
2008/5/17 Benjamin Bentmann <be...@udo.edu>:
> Olivier Lamy wrote:
>
>> 2008/5/17 Vincent Siveton <vi...@gmail.com>:
>>>
>>> Hi Olivier,
>>>
>>> 2008/5/17, Olivier Lamy <ol...@apache.org>:
>>>>
>>>> Hi,
>>>>
>>>>  It's just to save fingers :-).
>>>>
>>>>  -Dmaven.test.skip=true means 22 chars
>>>>  -DskipTests means 11 chars.
>>>
>>> laziness ;)
>>
>> Yes (I'm a latin french guy ;-) )
>
> -Dmaven.test.skip should do equally well, saving you 5 characters
>
> But if you're really lazy, you have something like
>
>   <profile>
>     <id>fast</id>
>     <properties>
>       <maven.test.skip>true</maven.test.skip>
>       <skipTests>true</skipTests>
>     </properties>
>   </profile>
>
> in your settings.xml and just type "-Pfast" ;-)

Hehe, I don't know if you're european latin but no so far ;-)
>
>
> Benjamin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

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


Re: svn commit: r649313 - /maven/plugins/trunk/maven-javadoc-plugin/pom.xml

Posted by Benjamin Bentmann <be...@udo.edu>.
Olivier Lamy wrote:

> 2008/5/17 Vincent Siveton <vi...@gmail.com>:
>> Hi Olivier,
>>
>> 2008/5/17, Olivier Lamy <ol...@apache.org>:
>>> Hi,
>>>
>>>  It's just to save fingers :-).
>>>
>>>  -Dmaven.test.skip=true means 22 chars
>>>  -DskipTests means 11 chars.
>>
>> laziness ;)
> 
> Yes (I'm a latin french guy ;-) )

-Dmaven.test.skip should do equally well, saving you 5 characters

But if you're really lazy, you have something like

    <profile>
      <id>fast</id>
      <properties>
        <maven.test.skip>true</maven.test.skip>
        <skipTests>true</skipTests>
      </properties>
    </profile>

in your settings.xml and just type "-Pfast" ;-)


Benjamin

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


Re: svn commit: r649313 - /maven/plugins/trunk/maven-javadoc-plugin/pom.xml

Posted by Olivier Lamy <ol...@apache.org>.
2008/5/17 Vincent Siveton <vi...@gmail.com>:
> Hi Olivier,
>
> 2008/5/17, Olivier Lamy <ol...@apache.org>:
>> Hi,
>>
>>  It's just to save fingers :-).
>>
>>  -Dmaven.test.skip=true means 22 chars
>>  -DskipTests means 11 chars.
>
> laziness ;)

Yes (I'm a latin french guy ;-) )

>
>>  And at least skipTests compiles [1] units whereas maven.test.skip skip
>>  everything.
>
> I was not aware about this property but according the doc "Its use is
> NOT RECOMMENDED"

both are NOT RECOMMENDED ;-)

>
>>  But if you prefer I can revert.
>
> Yes I prefer.

Done (rev 657364)

>
> Thanks,
>
> Vincent
>
>>  --
>>  Olivier
>>  [1] http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#skipTests
>>
>>  2008/5/17 Vincent Siveton <vi...@gmail.com>:
>>
>> > Hi,
>>  >
>>  > 2008/4/17, olamy@apache.org <ol...@apache.org>:
>>  >> Author: olamy
>>  >>  Date: Thu Apr 17 15:20:07 2008
>>  >>  New Revision: 649313
>>  >>
>>  >>  URL: http://svn.apache.org/viewvc?rev=649313&view=rev
>>  >>  Log:
>>  >>  upgrade to last parent remove redudant plugin declaration
>>  >>
>>  >>  Modified:
>>  >>     maven/plugins/trunk/maven-javadoc-plugin/pom.xml
>>  >>
>>  >>  Modified: maven/plugins/trunk/maven-javadoc-plugin/pom.xml
>>  >>  URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/pom.xml?rev=649313&r1=649312&r2=649313&view=diff
>>  >>
>>  >
>>  > [SNIP]
>>  >
>>  >>  @@ -201,7 +197,7 @@
>>  >>        <id>integration-tests</id>
>>  >>        <activation>
>>  >>          <property>
>>  >>  -          <name>maven.test.skip</name>
>>  >>  +          <name>skipTests</name>
>>  >>            <value>!true</value>
>>  >>          </property>
>>  >>        </activation>
>>  >
>>  > Now, to skip all tests we need to call mvn with 2 parameters...
>>  > Any specific reasons why you modified this property? If not, could you
>>  > revert this part?
>>  >
>>  > Cheers,
>>  >
>>  > Vincent
>>  >
>>  > [SNIP]
>>  >
>>
>> > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>  > For additional commands, e-mail: dev-help@maven.apache.org
>>  >
>>  >
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>  For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

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


Re: svn commit: r649313 - /maven/plugins/trunk/maven-javadoc-plugin/pom.xml

Posted by Vincent Siveton <vi...@gmail.com>.
Hi Olivier,

2008/5/17, Olivier Lamy <ol...@apache.org>:
> Hi,
>
>  It's just to save fingers :-).
>
>  -Dmaven.test.skip=true means 22 chars
>  -DskipTests means 11 chars.

laziness ;)

>  And at least skipTests compiles [1] units whereas maven.test.skip skip
>  everything.

I was not aware about this property but according the doc "Its use is
NOT RECOMMENDED"

>  But if you prefer I can revert.

Yes I prefer.

Thanks,

Vincent

>  --
>  Olivier
>  [1] http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#skipTests
>
>  2008/5/17 Vincent Siveton <vi...@gmail.com>:
>
> > Hi,
>  >
>  > 2008/4/17, olamy@apache.org <ol...@apache.org>:
>  >> Author: olamy
>  >>  Date: Thu Apr 17 15:20:07 2008
>  >>  New Revision: 649313
>  >>
>  >>  URL: http://svn.apache.org/viewvc?rev=649313&view=rev
>  >>  Log:
>  >>  upgrade to last parent remove redudant plugin declaration
>  >>
>  >>  Modified:
>  >>     maven/plugins/trunk/maven-javadoc-plugin/pom.xml
>  >>
>  >>  Modified: maven/plugins/trunk/maven-javadoc-plugin/pom.xml
>  >>  URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/pom.xml?rev=649313&r1=649312&r2=649313&view=diff
>  >>
>  >
>  > [SNIP]
>  >
>  >>  @@ -201,7 +197,7 @@
>  >>        <id>integration-tests</id>
>  >>        <activation>
>  >>          <property>
>  >>  -          <name>maven.test.skip</name>
>  >>  +          <name>skipTests</name>
>  >>            <value>!true</value>
>  >>          </property>
>  >>        </activation>
>  >
>  > Now, to skip all tests we need to call mvn with 2 parameters...
>  > Any specific reasons why you modified this property? If not, could you
>  > revert this part?
>  >
>  > Cheers,
>  >
>  > Vincent
>  >
>  > [SNIP]
>  >
>
> > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  > For additional commands, e-mail: dev-help@maven.apache.org
>  >
>  >
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  For additional commands, e-mail: dev-help@maven.apache.org
>
>

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


RE: svn commit: r649313 - /maven/plugins/trunk/maven-javadoc-plugin/pom.xml

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
I agree, keep it the same as it was.

-----Original Message-----
From: oliver.lamy@gmail.com [mailto:oliver.lamy@gmail.com] On Behalf Of
Olivier Lamy
Sent: Saturday, May 17, 2008 9:49 AM
To: Maven Developers List
Subject: Re: svn commit: r649313 -
/maven/plugins/trunk/maven-javadoc-plugin/pom.xml

Hi,

It's just to save fingers :-).

-Dmaven.test.skip=true means 22 chars
-DskipTests means 11 chars.

And at least skipTests compiles [1] units whereas maven.test.skip skip
everything.

But if you prefer I can revert.

--
Olivier
[1]
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#ski
pTests

2008/5/17 Vincent Siveton <vi...@gmail.com>:
> Hi,
>
> 2008/4/17, olamy@apache.org <ol...@apache.org>:
>> Author: olamy
>>  Date: Thu Apr 17 15:20:07 2008
>>  New Revision: 649313
>>
>>  URL: http://svn.apache.org/viewvc?rev=649313&view=rev
>>  Log:
>>  upgrade to last parent remove redudant plugin declaration
>>
>>  Modified:
>>     maven/plugins/trunk/maven-javadoc-plugin/pom.xml
>>
>>  Modified: maven/plugins/trunk/maven-javadoc-plugin/pom.xml
>>  URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/po
m.xml?rev=649313&r1=649312&r2=649313&view=diff
>>
>
> [SNIP]
>
>>  @@ -201,7 +197,7 @@
>>        <id>integration-tests</id>
>>        <activation>
>>          <property>
>>  -          <name>maven.test.skip</name>
>>  +          <name>skipTests</name>
>>            <value>!true</value>
>>          </property>
>>        </activation>
>
> Now, to skip all tests we need to call mvn with 2 parameters...
> Any specific reasons why you modified this property? If not, could you
> revert this part?
>
> Cheers,
>
> Vincent
>
> [SNIP]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

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


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


Re: svn commit: r649313 - /maven/plugins/trunk/maven-javadoc-plugin/pom.xml

Posted by Olivier Lamy <ol...@apache.org>.
Hi,

It's just to save fingers :-).

-Dmaven.test.skip=true means 22 chars
-DskipTests means 11 chars.

And at least skipTests compiles [1] units whereas maven.test.skip skip
everything.

But if you prefer I can revert.

--
Olivier
[1] http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#skipTests

2008/5/17 Vincent Siveton <vi...@gmail.com>:
> Hi,
>
> 2008/4/17, olamy@apache.org <ol...@apache.org>:
>> Author: olamy
>>  Date: Thu Apr 17 15:20:07 2008
>>  New Revision: 649313
>>
>>  URL: http://svn.apache.org/viewvc?rev=649313&view=rev
>>  Log:
>>  upgrade to last parent remove redudant plugin declaration
>>
>>  Modified:
>>     maven/plugins/trunk/maven-javadoc-plugin/pom.xml
>>
>>  Modified: maven/plugins/trunk/maven-javadoc-plugin/pom.xml
>>  URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/pom.xml?rev=649313&r1=649312&r2=649313&view=diff
>>
>
> [SNIP]
>
>>  @@ -201,7 +197,7 @@
>>        <id>integration-tests</id>
>>        <activation>
>>          <property>
>>  -          <name>maven.test.skip</name>
>>  +          <name>skipTests</name>
>>            <value>!true</value>
>>          </property>
>>        </activation>
>
> Now, to skip all tests we need to call mvn with 2 parameters...
> Any specific reasons why you modified this property? If not, could you
> revert this part?
>
> Cheers,
>
> Vincent
>
> [SNIP]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

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


Re: svn commit: r649313 - /maven/plugins/trunk/maven-javadoc-plugin/pom.xml

Posted by Vincent Siveton <vi...@gmail.com>.
Hi,

2008/4/17, olamy@apache.org <ol...@apache.org>:
> Author: olamy
>  Date: Thu Apr 17 15:20:07 2008
>  New Revision: 649313
>
>  URL: http://svn.apache.org/viewvc?rev=649313&view=rev
>  Log:
>  upgrade to last parent remove redudant plugin declaration
>
>  Modified:
>     maven/plugins/trunk/maven-javadoc-plugin/pom.xml
>
>  Modified: maven/plugins/trunk/maven-javadoc-plugin/pom.xml
>  URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/pom.xml?rev=649313&r1=649312&r2=649313&view=diff
>

[SNIP]

>  @@ -201,7 +197,7 @@
>        <id>integration-tests</id>
>        <activation>
>          <property>
>  -          <name>maven.test.skip</name>
>  +          <name>skipTests</name>
>            <value>!true</value>
>          </property>
>        </activation>

Now, to skip all tests we need to call mvn with 2 parameters...
Any specific reasons why you modified this property? If not, could you
revert this part?

Cheers,

Vincent

[SNIP]

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