You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Niclas Hedhman <ni...@hedhman.org> on 2003/09/10 21:12:53 UTC

Back to Manifest issue...

Hi,

How come Maven doesn't stop when there is an error?

jar:jar:
    [jar] [ERROR] Manifest is invalid: Manifest line "An API supporting 
component composition." is not valid as it does not contain a name and a 
value separated by ': '
    [jar] error while reading original manifest: Invalid Manifest: null
    [jar] Building jar: 
/home/niclas/dev/opensource/avalon-sandbox/merlin/composition/impl/target/avalon-composition-impl-1.0-beta-1-RC1.jar


If it did, I wouldn't have spent two days tracking the result...


Cheers,
Niclas

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


Re: Back to Manifest issue...

Posted by Alexis Agahi <al...@users.sf.net>.
On Wednesday 10 September 2003 22:07, Niclas Hedhman wrote:

> I think we both win ;o)
>
> The binary distro still produces the same error message,
>
> jar:jar:
>     [jar] [ERROR] Manifest is invalid: Manifest line "An API supporting
> component composition." is not valid as it does not contain a name and a
> value separated by ': '
>     [jar] error while reading original manifest: Invalid Manifest: null
>     [jar] Building jar:
> /home/niclas/dev/opensource/avalon-sandbox/merlin/composition/impl/target/a
>valon-composition-impl-1.0-beta-1-RC1.jar
>
>
> which could be because of an empty line at the end, but that sounds a bit
> weird.
>
> BUT, the JAR file is read properly in Merlin.
>
> I'll leave it at that for now...

seems that you are unlucky ;)

I've a "BUILD SUCCESSFUL", after erasing $HOME/.maven and fresh checkout of 
merlin from cvs.





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


Re: Back to Manifest issue...

Posted by Stephen McConnell <mc...@apache.org>.

Niclas Hedhman wrote:

>On Thursday 11 September 2003 03:34, Niclas Hedhman wrote:
>  
>
>>On Thursday 11 September 2003 03:32, Stephen McConnell wrote:
>>    
>>
>>>How much to you want to bet that the problem will dissapear if you
>>>switch to the Maven beta 10 binary download?
>>>      
>>>
>>;o)  How about "A beer in a pub of my choice" ?  ;o)
>>    
>>
>
>I think we both win ;o)
>
>The binary distro still produces the same error message,
>
>jar:jar:
>    [jar] [ERROR] Manifest is invalid: Manifest line "An API supporting 
>component composition." is not valid as it does not contain a name and a 
>value separated by ': '
>    [jar] error while reading original manifest: Invalid Manifest: null
>    [jar] Building jar: 
>/home/niclas/dev/opensource/avalon-sandbox/merlin/composition/impl/target/avalon-composition-impl-1.0-beta-1-RC1.jar
>
>
>which could be because of an empty line at the end, but that sounds a bit 
>weird.
>  
>

Suspect if you ask me. ;-)
I'm getting no error messages from the build.
I'm guessing that your beta-10 is referencing a more recent jar plugin.
Steve.

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org




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


Re: Back to Manifest issue...

Posted by Niclas Hedhman <ni...@hedhman.org>.
On Thursday 11 September 2003 03:34, Niclas Hedhman wrote:
> On Thursday 11 September 2003 03:32, Stephen McConnell wrote:
> > How much to you want to bet that the problem will dissapear if you
> > switch to the Maven beta 10 binary download?
>
> ;o)  How about "A beer in a pub of my choice" ?  ;o)

I think we both win ;o)

The binary distro still produces the same error message,

jar:jar:
    [jar] [ERROR] Manifest is invalid: Manifest line "An API supporting 
component composition." is not valid as it does not contain a name and a 
value separated by ': '
    [jar] error while reading original manifest: Invalid Manifest: null
    [jar] Building jar: 
/home/niclas/dev/opensource/avalon-sandbox/merlin/composition/impl/target/avalon-composition-impl-1.0-beta-1-RC1.jar


which could be because of an empty line at the end, but that sounds a bit 
weird.

BUT, the JAR file is read properly in Merlin.

I'll leave it at that for now...

Cheers.
Niclas



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


Re: Back to Manifest issue...

Posted by Niclas Hedhman <ni...@hedhman.org>.
On Thursday 11 September 2003 03:32, Stephen McConnell wrote:
> How much to you want to bet that the problem will dissapear if you
> switch to the Maven beta 10 binary download? 

;o)  How about "A beer in a pub of my choice" ?  ;o)

I'll try.... Use ancient beta versions? Me? hmmm ;o)

> But all the same - this is
> valuable knowledge.  I read something on the maven dev list that some
> playing around had been done with respect to manifest generation.  If we
> can clear this up we will be in better shape when the next maven release
> hits the steets.

Hopefully there should be plenty of Linux users reporting this kind of 
problems, right, so it is caught before it hits the streets.


Niclas

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


Re: Back to Manifest issue...

Posted by Stephen McConnell <mc...@apache.org>.

How much to you want to bet that the problem will dissapear if you 
switch to the Maven beta 10 binary download? But all the same - this is 
valuable knowledge.  I read something on the maven dev list that some 
playing around had been done with respect to manifest generation.  If we 
can clear this up we will be in better shape when the next maven release 
hits the steets.

Steve.


Niclas Hedhman wrote:

>On Thursday 11 September 2003 03:20, Stephen McConnell wrote:
>  
>
>>By any chance are you running with Maven from CVS?
>>    
>>
>
>Of course ;o)  The brave warrior riding on bleeding-to-death-edge 
>technology...
>
>Last update of Maven about 12 hours ago...
>
>Niclas
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
>For additional commands, e-mail: dev-help@avalon.apache.org
>
>
>  
>

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org




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


RES: Back to Manifest issue...

Posted by Hamilton VerĂ­ssimo de Oliveira <ho...@bvtibusiness.com.br>.
-----Mensagem original-----
De: Niclas Hedhman [mailto:niclas@hedhman.org] 

> Of course ;o)  The brave warrior riding on bleeding-to-death-edge 
> technology...

That was funny! :-)
But remember, it could be worst.


hammett


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


Re: Back to Manifest issue...

Posted by Niclas Hedhman <ni...@hedhman.org>.
On Thursday 11 September 2003 03:20, Stephen McConnell wrote:
> By any chance are you running with Maven from CVS?

Of course ;o)  The brave warrior riding on bleeding-to-death-edge 
technology...

Last update of Maven about 12 hours ago...

Niclas

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


Re: Back to Manifest issue...

Posted by Stephen McConnell <mc...@apache.org>.

Niclas Hedhman wrote:

>Hi,
>
>How come Maven doesn't stop when there is an error?
>

Becuase Maven is full of features and more than a couple of bugs.

>jar:jar:
>    [jar] [ERROR] Manifest is invalid: Manifest line "An API supporting 
>component composition." is not valid as it does not contain a name and a 
>value separated by ': '
>    [jar] error while reading original manifest: Invalid Manifest: null
>    [jar] Building jar: 
>/home/niclas/dev/opensource/avalon-sandbox/merlin/composition/impl/target/avalon-composition-impl-1.0-beta-1-RC1.jar
>

Things are getting interesting.
By any chance are you running with Maven from CVS?

>If it did, I wouldn't have spent two days tracking the result...
>

I can feel the pain.

Steve.

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org




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