You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Benson Margulies <bi...@gmail.com> on 2013/01/23 14:22:32 UTC

Modello 1, benson 0

I have returned to the idea I floated some time ago for making shade
get along better with the incremental build ideas. I've got this as
MSHADE-139, and I've branched.

https://svn.apache.org/repos/asf/maven/plugins/branches/maven-shade-plugin-3

However, my simple attempt to add a modello file to specify some
artifact coordinates results in modello producing uncompilable Java. I
am stumped.

Could some kind soul please checkout from my branch and tell me what
dumb modello mistake I went and made?

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


Re: Modello 1, benson 0

Posted by Benson Margulies <bi...@gmail.com>.
Thanks.

On Wed, Jan 23, 2013 at 9:36 AM, Olivier Lamy <ol...@apache.org> wrote:
> so first diff.
>
>
> 2013/1/23 Benson Margulies <bi...@gmail.com>:
>> 1
>>
>> On Jan 23, 2013, at 9:26 AM, Olivier Lamy <ol...@apache.org> wrote:
>>
>>> Index: src/main/mdo/AttachArtifact.mdo
>>> ===================================================================
>>> --- src/main/mdo/AttachArtifact.mdo (revision 1437390)
>>> +++ src/main/mdo/AttachArtifact.mdo (working copy)
>>> @@ -44,9 +44,7 @@
>>>         <field>
>>>           <name>artifactId</name>
>>>           <version>1.0.0+</version>
>>> -          <association>
>>> -            <type>String</type>
>>> -          </association>
>>> +          <type>String</type>
>>>           <description>
>>>             <![CDATA[artifact ID.]]>
>>>           </description>
>>> @@ -54,9 +52,7 @@
>>>         <field>
>>>           <name>classifier</name>
>>>           <version>1.0.0+</version>
>>> -          <association>
>>> -            <type>String</type>
>>> -          </association>
>>> +          <type>String</type>
>>>           <description>
>>>             <![CDATA[classifier.]]>
>>>           </description>
>>> or
>>> Index: src/main/mdo/AttachArtifact.mdo
>>> ===================================================================
>>> --- src/main/mdo/AttachArtifact.mdo (revision 1437390)
>>> +++ src/main/mdo/AttachArtifact.mdo (working copy)
>>> @@ -46,6 +46,7 @@
>>>           <version>1.0.0+</version>
>>>           <association>
>>>             <type>String</type>
>>> +            <multiplicity>*</multiplicity>
>>>           </association>
>>>           <description>
>>>             <![CDATA[artifact ID.]]>
>>> @@ -56,6 +57,7 @@
>>>           <version>1.0.0+</version>
>>>           <association>
>>>             <type>String</type>
>>> +            <multiplicity>*</multiplicity>
>>>           </association>
>>>           <description>
>>>             <![CDATA[classifier.]]>
>>>
>>> it depends on what you want: 1 or n artifactId/classifier ?
>>>
>>>
>>> 2013/1/23 Benson Margulies <bi...@gmail.com>:
>>>> I have returned to the idea I floated some time ago for making shade
>>>> get along better with the incremental build ideas. I've got this as
>>>> MSHADE-139, and I've branched.
>>>>
>>>> https://svn.apache.org/repos/asf/maven/plugins/branches/maven-shade-plugin-3
>>>>
>>>> However, my simple attempt to add a modello file to specify some
>>>> artifact coordinates results in modello producing uncompilable Java. I
>>>> am stumped.
>>>>
>>>> Could some kind soul please checkout from my branch and tell me what
>>>> dumb modello mistake I went and made?
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>>>
>>> --
>>> Olivier Lamy
>>> Talend: http://coders.talend.com
>>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>
>
>
> --
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
> ---------------------------------------------------------------------
> 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: Modello 1, benson 0

Posted by Olivier Lamy <ol...@apache.org>.
so first diff.


2013/1/23 Benson Margulies <bi...@gmail.com>:
> 1
>
> On Jan 23, 2013, at 9:26 AM, Olivier Lamy <ol...@apache.org> wrote:
>
>> Index: src/main/mdo/AttachArtifact.mdo
>> ===================================================================
>> --- src/main/mdo/AttachArtifact.mdo (revision 1437390)
>> +++ src/main/mdo/AttachArtifact.mdo (working copy)
>> @@ -44,9 +44,7 @@
>>         <field>
>>           <name>artifactId</name>
>>           <version>1.0.0+</version>
>> -          <association>
>> -            <type>String</type>
>> -          </association>
>> +          <type>String</type>
>>           <description>
>>             <![CDATA[artifact ID.]]>
>>           </description>
>> @@ -54,9 +52,7 @@
>>         <field>
>>           <name>classifier</name>
>>           <version>1.0.0+</version>
>> -          <association>
>> -            <type>String</type>
>> -          </association>
>> +          <type>String</type>
>>           <description>
>>             <![CDATA[classifier.]]>
>>           </description>
>> or
>> Index: src/main/mdo/AttachArtifact.mdo
>> ===================================================================
>> --- src/main/mdo/AttachArtifact.mdo (revision 1437390)
>> +++ src/main/mdo/AttachArtifact.mdo (working copy)
>> @@ -46,6 +46,7 @@
>>           <version>1.0.0+</version>
>>           <association>
>>             <type>String</type>
>> +            <multiplicity>*</multiplicity>
>>           </association>
>>           <description>
>>             <![CDATA[artifact ID.]]>
>> @@ -56,6 +57,7 @@
>>           <version>1.0.0+</version>
>>           <association>
>>             <type>String</type>
>> +            <multiplicity>*</multiplicity>
>>           </association>
>>           <description>
>>             <![CDATA[classifier.]]>
>>
>> it depends on what you want: 1 or n artifactId/classifier ?
>>
>>
>> 2013/1/23 Benson Margulies <bi...@gmail.com>:
>>> I have returned to the idea I floated some time ago for making shade
>>> get along better with the incremental build ideas. I've got this as
>>> MSHADE-139, and I've branched.
>>>
>>> https://svn.apache.org/repos/asf/maven/plugins/branches/maven-shade-plugin-3
>>>
>>> However, my simple attempt to add a modello file to specify some
>>> artifact coordinates results in modello producing uncompilable Java. I
>>> am stumped.
>>>
>>> Could some kind soul please checkout from my branch and tell me what
>>> dumb modello mistake I went and made?
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>>
>> --
>> Olivier Lamy
>> Talend: http://coders.talend.com
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>
>> ---------------------------------------------------------------------
>> 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
>



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

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


Re: Modello 1, benson 0

Posted by Benson Margulies <bi...@gmail.com>.
1

On Jan 23, 2013, at 9:26 AM, Olivier Lamy <ol...@apache.org> wrote:

> Index: src/main/mdo/AttachArtifact.mdo
> ===================================================================
> --- src/main/mdo/AttachArtifact.mdo (revision 1437390)
> +++ src/main/mdo/AttachArtifact.mdo (working copy)
> @@ -44,9 +44,7 @@
>         <field>
>           <name>artifactId</name>
>           <version>1.0.0+</version>
> -          <association>
> -            <type>String</type>
> -          </association>
> +          <type>String</type>
>           <description>
>             <![CDATA[artifact ID.]]>
>           </description>
> @@ -54,9 +52,7 @@
>         <field>
>           <name>classifier</name>
>           <version>1.0.0+</version>
> -          <association>
> -            <type>String</type>
> -          </association>
> +          <type>String</type>
>           <description>
>             <![CDATA[classifier.]]>
>           </description>
> or
> Index: src/main/mdo/AttachArtifact.mdo
> ===================================================================
> --- src/main/mdo/AttachArtifact.mdo (revision 1437390)
> +++ src/main/mdo/AttachArtifact.mdo (working copy)
> @@ -46,6 +46,7 @@
>           <version>1.0.0+</version>
>           <association>
>             <type>String</type>
> +            <multiplicity>*</multiplicity>
>           </association>
>           <description>
>             <![CDATA[artifact ID.]]>
> @@ -56,6 +57,7 @@
>           <version>1.0.0+</version>
>           <association>
>             <type>String</type>
> +            <multiplicity>*</multiplicity>
>           </association>
>           <description>
>             <![CDATA[classifier.]]>
>
> it depends on what you want: 1 or n artifactId/classifier ?
>
>
> 2013/1/23 Benson Margulies <bi...@gmail.com>:
>> I have returned to the idea I floated some time ago for making shade
>> get along better with the incremental build ideas. I've got this as
>> MSHADE-139, and I've branched.
>>
>> https://svn.apache.org/repos/asf/maven/plugins/branches/maven-shade-plugin-3
>>
>> However, my simple attempt to add a modello file to specify some
>> artifact coordinates results in modello producing uncompilable Java. I
>> am stumped.
>>
>> Could some kind soul please checkout from my branch and tell me what
>> dumb modello mistake I went and made?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>
>
>
> --
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
> ---------------------------------------------------------------------
> 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: Modello 1, benson 0

Posted by Olivier Lamy <ol...@apache.org>.
Index: src/main/mdo/AttachArtifact.mdo
===================================================================
--- src/main/mdo/AttachArtifact.mdo (revision 1437390)
+++ src/main/mdo/AttachArtifact.mdo (working copy)
@@ -44,9 +44,7 @@
         <field>
           <name>artifactId</name>
           <version>1.0.0+</version>
-          <association>
-            <type>String</type>
-          </association>
+          <type>String</type>
           <description>
             <![CDATA[artifact ID.]]>
           </description>
@@ -54,9 +52,7 @@
         <field>
           <name>classifier</name>
           <version>1.0.0+</version>
-          <association>
-            <type>String</type>
-          </association>
+          <type>String</type>
           <description>
             <![CDATA[classifier.]]>
           </description>
or
Index: src/main/mdo/AttachArtifact.mdo
===================================================================
--- src/main/mdo/AttachArtifact.mdo (revision 1437390)
+++ src/main/mdo/AttachArtifact.mdo (working copy)
@@ -46,6 +46,7 @@
           <version>1.0.0+</version>
           <association>
             <type>String</type>
+            <multiplicity>*</multiplicity>
           </association>
           <description>
             <![CDATA[artifact ID.]]>
@@ -56,6 +57,7 @@
           <version>1.0.0+</version>
           <association>
             <type>String</type>
+            <multiplicity>*</multiplicity>
           </association>
           <description>
             <![CDATA[classifier.]]>

it depends on what you want: 1 or n artifactId/classifier ?


2013/1/23 Benson Margulies <bi...@gmail.com>:
> I have returned to the idea I floated some time ago for making shade
> get along better with the incremental build ideas. I've got this as
> MSHADE-139, and I've branched.
>
> https://svn.apache.org/repos/asf/maven/plugins/branches/maven-shade-plugin-3
>
> However, my simple attempt to add a modello file to specify some
> artifact coordinates results in modello producing uncompilable Java. I
> am stumped.
>
> Could some kind soul please checkout from my branch and tell me what
> dumb modello mistake I went and made?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

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