You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ar...@apache.org on 2005/12/14 03:04:44 UTC
svn commit: r356704 -
/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
Author: aramirez
Date: Tue Dec 13 18:04:32 2005
New Revision: 356704
URL: http://svn.apache.org/viewcvs?rev=356704&view=rev
Log:
PR: MNG-1828
Submitted by: Jochen Wiedmann
Reviewed by: Allan Ramirez
Checks if parent definition is existing
Modified:
maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
Modified: maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java?rev=356704&r1=356703&r2=356704&view=diff
==============================================================================
--- maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java (original)
+++ maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java Tue Dec 13 18:04:32 2005
@@ -212,7 +212,7 @@
Parent parent = model.getParent();
- if( parent.getGroupId() != null )
+ if( parent != null && parent.getGroupId() != null )
{
this.groupId = parent.getGroupId();
}
Re: svn commit: r356704 - /maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
Posted by Allan Ramirez <ar...@exist.com>.
Hmmm.. deploy-plugin still has 9 issues to be resolve. :)
Allan Ramirez wrote:
> Hope that they will release this soon :)
>
> dan tran wrote:
>
>> i wonder if we should release this plugin ;-)
>>
>> On 12/13/05, aramirez@apache.org <ar...@apache.org> wrote:
>>
>>
>>> Author: aramirez
>>> Date: Tue Dec 13 18:04:32 2005
>>> New Revision: 356704
>>>
>>> URL: http://svn.apache.org/viewcvs?rev=356704&view=rev
>>> Log:
>>> PR: MNG-1828
>>> Submitted by: Jochen Wiedmann
>>> Reviewed by: Allan Ramirez
>>>
>>> Checks if parent definition is existing
>>>
>>> Modified:
>>>
>>> maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
>>>
>>>
>>> Modified:
>>> maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
>>>
>>> URL:
>>> http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java?rev=356704&r1=356703&r2=356704&view=diff
>>>
>>>
>>> ==============================================================================
>>>
>>> ---
>>> maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
>>>
>>> (original)
>>> +++
>>> maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
>>>
>>> Tue Dec 13 18:04:32 2005
>>> @@ -212,7 +212,7 @@
>>>
>>> Parent parent = model.getParent();
>>>
>>> - if( parent.getGroupId() != null )
>>> + if( parent != null && parent.getGroupId() != null )
>>> {
>>> this.groupId = parent.getGroupId();
>>> }
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.371 / Virus Database: 267.13.13/199 - Release Date:
>> 12/13/2005
>>
>>
>>
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>For additional commands, e-mail: dev-help@maven.apache.org
>
>------------------------------------------------------------------------
>
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.371 / Virus Database: 267.13.13/199 - Release Date: 12/13/2005
>
>
>
Re: svn commit: r356704 - /maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
Posted by Allan Ramirez <ar...@exist.com>.
Hope that they will release this soon :)
dan tran wrote:
>i wonder if we should release this plugin ;-)
>
>On 12/13/05, aramirez@apache.org <ar...@apache.org> wrote:
>
>
>>Author: aramirez
>>Date: Tue Dec 13 18:04:32 2005
>>New Revision: 356704
>>
>>URL: http://svn.apache.org/viewcvs?rev=356704&view=rev
>>Log:
>>PR: MNG-1828
>>Submitted by: Jochen Wiedmann
>>Reviewed by: Allan Ramirez
>>
>>Checks if parent definition is existing
>>
>>Modified:
>>
>>maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
>>
>>Modified:
>>maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
>>URL:
>>http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java?rev=356704&r1=356703&r2=356704&view=diff
>>
>>==============================================================================
>>---
>>maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
>>(original)
>>+++
>>maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
>>Tue Dec 13 18:04:32 2005
>>@@ -212,7 +212,7 @@
>>
>> Parent parent = model.getParent();
>>
>>- if( parent.getGroupId() != null )
>>+ if( parent != null && parent.getGroupId() != null )
>> {
>> this.groupId = parent.getGroupId();
>> }
>>
>>
>>
>>
>>
>
>
>
>------------------------------------------------------------------------
>
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.371 / Virus Database: 267.13.13/199 - Release Date: 12/13/2005
>
>
>
Re: svn commit: r356704 - /maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
Posted by dan tran <da...@gmail.com>.
i wonder if we should release this plugin ;-)
On 12/13/05, aramirez@apache.org <ar...@apache.org> wrote:
>
> Author: aramirez
> Date: Tue Dec 13 18:04:32 2005
> New Revision: 356704
>
> URL: http://svn.apache.org/viewcvs?rev=356704&view=rev
> Log:
> PR: MNG-1828
> Submitted by: Jochen Wiedmann
> Reviewed by: Allan Ramirez
>
> Checks if parent definition is existing
>
> Modified:
>
> maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
>
> Modified:
> maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
> URL:
> http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java?rev=356704&r1=356703&r2=356704&view=diff
>
> ==============================================================================
> ---
> maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
> (original)
> +++
> maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
> Tue Dec 13 18:04:32 2005
> @@ -212,7 +212,7 @@
>
> Parent parent = model.getParent();
>
> - if( parent.getGroupId() != null )
> + if( parent != null && parent.getGroupId() != null )
> {
> this.groupId = parent.getGroupId();
> }
>
>
>