You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2006/07/06 00:32:54 UTC

svn commit: r419367 - /maven/plugins/trunk/maven-jar-plugin/pom.xml

Author: dennisl
Date: Wed Jul  5 15:32:53 2006
New Revision: 419367

URL: http://svn.apache.org/viewvc?rev=419367&view=rev
Log:
Add namespace, prerequisites and reporting plugins.

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

Modified: maven/plugins/trunk/maven-jar-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/pom.xml?rev=419367&r1=419366&r2=419367&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-jar-plugin/pom.xml Wed Jul  5 15:32:53 2006
@@ -1,4 +1,4 @@
-<project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <parent>
     <artifactId>maven-plugins</artifactId>
     <groupId>org.apache.maven.plugins</groupId>
@@ -9,6 +9,9 @@
   <packaging>maven-plugin</packaging>
   <name>Maven Jar Plugin</name>
   <version>2.1-SNAPSHOT</version>
+  <prerequisites>
+    <maven>2.0</maven>
+  </prerequisites>
   <contributors>
     <contributor>
       <name>Jerome Lacoste</name>
@@ -50,4 +53,18 @@
       <scope>test</scope>
     </dependency>
   </dependencies>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <artifactId>maven-javadoc-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <artifactId>maven-jxr-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <artifactId>maven-changelog-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </reporting>
 </project>



Re: svn commit: r419367 - /maven/plugins/trunk/maven-jar-plugin/pom.xml

Posted by Dennis Lundberg <de...@apache.org>.
There was trouble downloading the parent pom. Since I was working on a 
plugin I had only added a snapshot repo for plugins. But somewhere 
higher up in the hierarchy chain there was a snapshot version of a pom 
that was *not* in the plugins snapshot repo, instead it was in the 
regular snapshot repo. Adding both snapshot repos in the profile solved 
that.

Edwin Punzalan wrote:
> 
> what problem(s) did you get?
> 
> 
> Dennis Lundberg wrote:
>> Brett Porter wrote:
>>> Hi Dennis,
>>>
>>> These should be inherited from the parent if you set the parent to 
>>> 2-SNAPSHOT. This will also use a more recent snapshot of the plugin 
>>> plugin which has the improved formatting of the goal parameter tables 
>>> and doesn't overwrite your index.html :)
>>
>> Sorry about that, I'll fix it ASAP. I just copied it from 
>> maven-javadoc-plugin :)
>>
>> When I tried to bump the parent to SNAPSHOT-2, I ran into strange 
>> behavior. To be able to get this to work I put the ASF snapshot repo 
>> in a profile. But now I have to supply  -P<profileId> on every run. 
>> There must be a better way.
>>
>>>
>>> Cheers,
>>> Brett
>>>
>>> On 6/07/2006 8:32 AM, dennisl@apache.org wrote:
>>>> +  <reporting>
>>>> +    <plugins>
>>>> +      <plugin>
>>>> +        <artifactId>maven-javadoc-plugin</artifactId>
>>>> +      </plugin>
>>>> +      <plugin>
>>>> +        <artifactId>maven-jxr-plugin</artifactId>
>>>> +      </plugin>
>>>> +      <plugin>
>>>> +        <artifactId>maven-changelog-plugin</artifactId>
>>>> +      </plugin>
>>>> +    </plugins>
>>>> +  </reporting>
>>>>  </project>
>>>>
>>>>
>>>
>>>
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


-- 
Dennis Lundberg

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


Re: svn commit: r419367 - /maven/plugins/trunk/maven-jar-plugin/pom.xml

Posted by Edwin Punzalan <ep...@exist.com>.
what problem(s) did you get?


Dennis Lundberg wrote:
> Brett Porter wrote:
>> Hi Dennis,
>>
>> These should be inherited from the parent if you set the parent to 
>> 2-SNAPSHOT. This will also use a more recent snapshot of the plugin 
>> plugin which has the improved formatting of the goal parameter tables 
>> and doesn't overwrite your index.html :)
>
> Sorry about that, I'll fix it ASAP. I just copied it from 
> maven-javadoc-plugin :)
>
> When I tried to bump the parent to SNAPSHOT-2, I ran into strange 
> behavior. To be able to get this to work I put the ASF snapshot repo 
> in a profile. But now I have to supply  -P<profileId> on every run. 
> There must be a better way.
>
>>
>> Cheers,
>> Brett
>>
>> On 6/07/2006 8:32 AM, dennisl@apache.org wrote:
>>> +  <reporting>
>>> +    <plugins>
>>> +      <plugin>
>>> +        <artifactId>maven-javadoc-plugin</artifactId>
>>> +      </plugin>
>>> +      <plugin>
>>> +        <artifactId>maven-jxr-plugin</artifactId>
>>> +      </plugin>
>>> +      <plugin>
>>> +        <artifactId>maven-changelog-plugin</artifactId>
>>> +      </plugin>
>>> +    </plugins>
>>> +  </reporting>
>>>  </project>
>>>
>>>
>>
>>
>
>

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


Re: svn commit: r419367 - /maven/plugins/trunk/maven-jar-plugin/pom.xml

Posted by Dennis Lundberg <de...@apache.org>.
Brett Porter wrote:
> Hi Dennis,
> 
> These should be inherited from the parent if you set the parent to 
> 2-SNAPSHOT. This will also use a more recent snapshot of the plugin 
> plugin which has the improved formatting of the goal parameter tables 
> and doesn't overwrite your index.html :)

Sorry about that, I'll fix it ASAP. I just copied it from 
maven-javadoc-plugin :)

When I tried to bump the parent to SNAPSHOT-2, I ran into strange 
behavior. To be able to get this to work I put the ASF snapshot repo in 
a profile. But now I have to supply  -P<profileId> on every run. There 
must be a better way.

> 
> Cheers,
> Brett
> 
> On 6/07/2006 8:32 AM, dennisl@apache.org wrote:
>> +  <reporting>
>> +    <plugins>
>> +      <plugin>
>> +        <artifactId>maven-javadoc-plugin</artifactId>
>> +      </plugin>
>> +      <plugin>
>> +        <artifactId>maven-jxr-plugin</artifactId>
>> +      </plugin>
>> +      <plugin>
>> +        <artifactId>maven-changelog-plugin</artifactId>
>> +      </plugin>
>> +    </plugins>
>> +  </reporting>
>>  </project>
>>
>>
> 
> 


-- 
Dennis Lundberg

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


Re: svn commit: r419367 - /maven/plugins/trunk/maven-jar-plugin/pom.xml

Posted by Edwin Punzalan <ep...@exist.com>.
except for the changelog plugin... its not in the parent bec I'd prefer 
that the changelog should be configured such that it should show the 
changes since the last release of the plugin.


Brett Porter wrote:
> Hi Dennis,
>
> These should be inherited from the parent if you set the parent to 
> 2-SNAPSHOT. This will also use a more recent snapshot of the plugin 
> plugin which has the improved formatting of the goal parameter tables 
> and doesn't overwrite your index.html :)
>
> Cheers,
> Brett
>
> On 6/07/2006 8:32 AM, dennisl@apache.org wrote:
>> +  <reporting>
>> +    <plugins>
>> +      <plugin>
>> +        <artifactId>maven-javadoc-plugin</artifactId>
>> +      </plugin>
>> +      <plugin>
>> +        <artifactId>maven-jxr-plugin</artifactId>
>> +      </plugin>
>> +      <plugin>
>> +        <artifactId>maven-changelog-plugin</artifactId>
>> +      </plugin>
>> +    </plugins>
>> +  </reporting>
>>  </project>
>>
>>
>
>

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


Re: svn commit: r419367 - /maven/plugins/trunk/maven-jar-plugin/pom.xml

Posted by Brett Porter <br...@apache.org>.
Hi Dennis,

These should be inherited from the parent if you set the parent to 
2-SNAPSHOT. This will also use a more recent snapshot of the plugin 
plugin which has the improved formatting of the goal parameter tables 
and doesn't overwrite your index.html :)

Cheers,
Brett

On 6/07/2006 8:32 AM, dennisl@apache.org wrote:
> +  <reporting>
> +    <plugins>
> +      <plugin>
> +        <artifactId>maven-javadoc-plugin</artifactId>
> +      </plugin>
> +      <plugin>
> +        <artifactId>maven-jxr-plugin</artifactId>
> +      </plugin>
> +      <plugin>
> +        <artifactId>maven-changelog-plugin</artifactId>
> +      </plugin>
> +    </plugins>
> +  </reporting>
>  </project>
> 
> 


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

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