You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Edwin Punzalan (JIRA)" <ji...@codehaus.org> on 2005/09/07 04:52:02 UTC

[jira] Created: (MNG-840) Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.

Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.
-------------------------------------------------------------------------------------------------------

         Key: MNG-840
         URL: http://jira.codehaus.org/browse/MNG-840
     Project: Maven 2
        Type: Bug
  Components: maven-plugin-api  
 Reporter: Edwin Punzalan


Currently, when a plugin parameter is used as URL, the configuration in pom.xml should have:

    <paramName implementation="java.net.URL">paramValue</paramName>



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (MNG-840) Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.

Posted by "Trygve Laugstol (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-840?page=comments#action_47462 ] 

Trygve Laugstol commented on MNG-840:
-------------------------------------

Edwin: I don't think that's the best way but we can talk about it. For example what happens if you want a List of URLs? In that case you cannot look at the target type as it is Object and you have no way to hint it.

> Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.
> -------------------------------------------------------------------------------------------------------
>
>          Key: MNG-840
>          URL: http://jira.codehaus.org/browse/MNG-840
>      Project: Maven 2
>         Type: Bug
>   Components: maven-plugin-api
>     Reporter: Edwin Punzalan
>     Assignee: Brett Porter
>     Priority: Minor
>      Fix For: 2.0-beta-3

>
> Original Estimate: 2 hours
>         Remaining: 2 hours
>
> Currently, when a plugin parameter is used as URL, the configuration in pom.xml should have:
>     <paramName implementation="java.net.URL">paramValue</paramName>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (MNG-840) Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.

Posted by "Edwin Punzalan (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-840?page=comments#action_47509 ] 

Edwin Punzalan commented on MNG-840:
------------------------------------

I agree.  The implementation attribute is required for Colleactions which contains non-String Objects.

> Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.
> -------------------------------------------------------------------------------------------------------
>
>          Key: MNG-840
>          URL: http://jira.codehaus.org/browse/MNG-840
>      Project: Maven 2
>         Type: Bug
>   Components: maven-plugin-api
>     Reporter: Edwin Punzalan
>     Assignee: Brett Porter
>     Priority: Minor
>      Fix For: 2.0-beta-3

>
> Original Estimate: 2 hours
>         Remaining: 2 hours
>
> Currently, when a plugin parameter is used as URL, the configuration in pom.xml should have:
>     <paramName implementation="java.net.URL">paramValue</paramName>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (MNG-840) Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-840?page=all ]

Brett Porter updated MNG-840:
-----------------------------

             Assign To: Brett Porter
    Remaining Estimate: 2 hours
     Original Estimate: 7200

> Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.
> -------------------------------------------------------------------------------------------------------
>
>          Key: MNG-840
>          URL: http://jira.codehaus.org/browse/MNG-840
>      Project: Maven 2
>         Type: Bug
>   Components: maven-plugin-api
>     Reporter: Edwin Punzalan
>     Assignee: Brett Porter
>     Priority: Minor
>      Fix For: 2.0-beta-2

>
> Original Estimate: 2 hours
>         Remaining: 2 hours
>
> Currently, when a plugin parameter is used as URL, the configuration in pom.xml should have:
>     <paramName implementation="java.net.URL">paramValue</paramName>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (MNG-840) Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-840?page=comments#action_47361 ] 

Brett Porter commented on MNG-840:
----------------------------------

also want to not require the String implementation - if it contains text and no elements, assume string

> Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.
> -------------------------------------------------------------------------------------------------------
>
>          Key: MNG-840
>          URL: http://jira.codehaus.org/browse/MNG-840
>      Project: Maven 2
>         Type: Bug
>   Components: maven-plugin-api
>     Reporter: Edwin Punzalan
>     Assignee: Brett Porter
>     Priority: Minor
>      Fix For: 2.0-beta-3

>
> Original Estimate: 2 hours
>         Remaining: 2 hours
>
> Currently, when a plugin parameter is used as URL, the configuration in pom.xml should have:
>     <paramName implementation="java.net.URL">paramValue</paramName>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (MNG-840) Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.

Posted by "Edwin Punzalan (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-840?page=comments#action_47405 ] 

Edwin Punzalan commented on MNG-840:
------------------------------------

Also, I remember saying this over at IRC, for implementations without available converters, could the default converter check the implementation class if it has a String constructor and use it against the given value?  

> Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.
> -------------------------------------------------------------------------------------------------------
>
>          Key: MNG-840
>          URL: http://jira.codehaus.org/browse/MNG-840
>      Project: Maven 2
>         Type: Bug
>   Components: maven-plugin-api
>     Reporter: Edwin Punzalan
>     Assignee: Brett Porter
>     Priority: Minor
>      Fix For: 2.0-beta-3

>
> Original Estimate: 2 hours
>         Remaining: 2 hours
>
> Currently, when a plugin parameter is used as URL, the configuration in pom.xml should have:
>     <paramName implementation="java.net.URL">paramValue</paramName>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (MNG-840) Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-840?page=all ]

Brett Porter updated MNG-840:
-----------------------------

    Fix Version: 2.0-beta-2

> Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.
> -------------------------------------------------------------------------------------------------------
>
>          Key: MNG-840
>          URL: http://jira.codehaus.org/browse/MNG-840
>      Project: Maven 2
>         Type: Bug
>   Components: maven-plugin-api
>     Reporter: Edwin Punzalan
>     Priority: Minor
>      Fix For: 2.0-beta-2

>
>
> Currently, when a plugin parameter is used as URL, the configuration in pom.xml should have:
>     <paramName implementation="java.net.URL">paramValue</paramName>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Closed: (MNG-840) Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-840?page=all ]
     
Brett Porter closed MNG-840:
----------------------------

    Resolution: Fixed

1) added an URL converter
2) default to String in a list if class not found

for non-String lists we can currently use arrays. It is also possible to use generics, though plexus doesn't support it yet.

> Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.
> -------------------------------------------------------------------------------------------------------
>
>          Key: MNG-840
>          URL: http://jira.codehaus.org/browse/MNG-840
>      Project: Maven 2
>         Type: Bug
>   Components: maven-plugin-api
>     Reporter: Edwin Punzalan
>     Assignee: Brett Porter
>     Priority: Minor
>      Fix For: 2.0-beta-3

>
> Original Estimate: 2 hours
>        Time Spent: 45 minutes
>         Remaining: 0 minutes
>
> Currently, when a plugin parameter is used as URL, the configuration in pom.xml should have:
>     <paramName implementation="java.net.URL">paramValue</paramName>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (MNG-840) Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.

Posted by "Edwin Punzalan (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-840?page=all ]

Edwin Punzalan updated MNG-840:
-------------------------------

    Priority: Minor  (was: Major)

> Fields of type URL should be able to accept pom.xml configuration without the implementation attribute.
> -------------------------------------------------------------------------------------------------------
>
>          Key: MNG-840
>          URL: http://jira.codehaus.org/browse/MNG-840
>      Project: Maven 2
>         Type: Bug
>   Components: maven-plugin-api
>     Reporter: Edwin Punzalan
>     Priority: Minor

>
>
> Currently, when a plugin parameter is used as URL, the configuration in pom.xml should have:
>     <paramName implementation="java.net.URL">paramValue</paramName>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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