Re: Self-inflicted wounds again.

2023-11-14 Thread Joseph Kesselman
Thanks; hadn't gotten to retesting the latest changes on Windows this week. 
Though it did seem to be accepting the colons last time I tested. (This may be 
like / vs \, where Windows insists on its own syntax at the command line but 
also accepts the Posix convention at the API level...)

It appears that the recent problems were indeed due to my using a backlevel 
plug-in. Still don't grok how that happened when I'd been running fine the 
previous day, but it's fixed now. Many thanks for the catch.

--
   /_  Joe Kesselman (he/him/his)
-/ _) My Alexa skill for New Music/New Sounds fans:
   /   https://www.amazon.com/dp/B09WJ3H657/

() I still don't think HTML mail is a good idea
/\ but Outlook/Android is insisting. Need to
 change mail client.

From: Alexander Kriegisch 
Sent: Monday, November 13, 2023 8:02:01 PM
To: users@maven.apache.org 
Subject: Re: Self-inflicted wounds again.

Hi Joseph.

In your branch, please note that currently your build will not work for
Windows users:

[INFO] --- exec:3.1.0:exec (Xalan2 design documentation) @ xalan-project ---
Fehler: Hauptklasse org.apache.stylebook.StyleBook konnte nicht gefunden oder 
geladen werden
Ursache: java.lang.ClassNotFoundException: org.apache.stylebook.StyleBook
[ERROR] Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit 
value: 1)

I have replaced the UNIX-style ":'" path separators by instances of
"${path.separator}", see also my PR
https://github.com/apache/xalan-java/pull/119.

Now, the build passes. You seem to have upgraded the Assembly Plugin, as
Karl Heinz advised you to do. Please do not use things like LATEST or
version ranges, it defeats any efforts to get repeatable builds.

Before I look into your project any deeper, especially into your
assemblies - so far I did not look at all yet - can you tell me if your
problems are all fixed for the moment? The situation seems to have
progressed since last time you asked.

Kind regards
--
Alexander Kriegisch
https://scrum-master.de


Karl Heinz Marbaise schrieb am 14.11.2023 02:44 (GMT +07:00):

> The first what I see is that you are using an ancient old
> maven-assembly-plugin version (2.2-beta-5) ... Please upgrade first
> (most recent is currentl 3.6.0)..
>
> Here you find the overview of all plugins with the most recent versions:
>
> https://maven.apache.org/plugins/
>
>
> On 13.11.23 20:27, Joseph Kessselman wrote:
>
>> Had generation of the multi-module distribution binary zipfile working
>> yesterday.
>>
>> Came back today to find I had apparently stepped on it before pushing.
>> Sigh. OK, I should be able to reproduce this, right?
>>
>> Unfortunately, no. I'm missing something obvious again.
>>
>> In context, currently broken as checked in:
>> https://github.com/apache/xalan-java/tree/xalan-java-mvn-refactored
>>
>> Current error message is
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single
>> (distro-assembly) on project distribution: Error reading assemblies:
>> Error reading descriptor at: src/assembly/bin.xml: Unrecognised tag:
>> 'useAllReactorProjects' (position: START_TAG seen ...\n
>> ... @15:30)  -> [Help 1]
>>
>> The bin.xml file mentioned currently contains something that is based
>> directly off the multi-module assembly instructions, just changing which
>> modules are included. Or at least that's the intent.
>>
>> 
>> http://maven.apache.org/ASSEMBLY/2.2.0;
>>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>>  xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.2.0
>> http://maven.apache.org/xsd/assembly-2.2.0.xsd;>
>>bin
>>
>>  zip
>>  tar-gz
>>
>>false
>>
>>  
>>true
>>
>>
>>  xalan:serializer
>>  xalan:xalan
>>  xalan:samples
>>
>>
>>
>>  modules/maven-assembly-plugin
>>  false
>>
>>  
>>
>>
>>
>>  
>>../target/site
>>docs
>>  
>>  
>>../samples
>>
>>  target/**
>>  src/site/**
>>
>>  
>>
>> 
>> --
>> And the POM invoking this is likewise based pretty directly on the example:
>>
>> 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
>> https://mave

Re: Self-inflicted wounds again.

2023-11-13 Thread Alexander Kriegisch
Hi Joseph.

In your branch, please note that currently your build will not work for
Windows users:

[INFO] --- exec:3.1.0:exec (Xalan2 design documentation) @ xalan-project ---
Fehler: Hauptklasse org.apache.stylebook.StyleBook konnte nicht gefunden oder 
geladen werden
Ursache: java.lang.ClassNotFoundException: org.apache.stylebook.StyleBook
[ERROR] Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit 
value: 1)

I have replaced the UNIX-style ":'" path separators by instances of
"${path.separator}", see also my PR
https://github.com/apache/xalan-java/pull/119.

Now, the build passes. You seem to have upgraded the Assembly Plugin, as
Karl Heinz advised you to do. Please do not use things like LATEST or
version ranges, it defeats any efforts to get repeatable builds.

Before I look into your project any deeper, especially into your
assemblies - so far I did not look at all yet - can you tell me if your
problems are all fixed for the moment? The situation seems to have
progressed since last time you asked.

Kind regards
--
Alexander Kriegisch
https://scrum-master.de 


Karl Heinz Marbaise schrieb am 14.11.2023 02:44 (GMT +07:00):

> The first what I see is that you are using an ancient old
> maven-assembly-plugin version (2.2-beta-5) ... Please upgrade first
> (most recent is currentl 3.6.0)..
> 
> Here you find the overview of all plugins with the most recent versions:
> 
> https://maven.apache.org/plugins/
> 
> 
> On 13.11.23 20:27, Joseph Kessselman wrote:
>
>> Had generation of the multi-module distribution binary zipfile working
>> yesterday.
>>
>> Came back today to find I had apparently stepped on it before pushing.
>> Sigh. OK, I should be able to reproduce this, right?
>>
>> Unfortunately, no. I'm missing something obvious again.
>>
>> In context, currently broken as checked in:
>> https://github.com/apache/xalan-java/tree/xalan-java-mvn-refactored
>>
>> Current error message is
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single
>> (distro-assembly) on project distribution: Error reading assemblies:
>> Error reading descriptor at: src/assembly/bin.xml: Unrecognised tag:
>> 'useAllReactorProjects' (position: START_TAG seen ...\n
>> ... @15:30)  -> [Help 1]
>>
>> The bin.xml file mentioned currently contains something that is based
>> directly off the multi-module assembly instructions, just changing which
>> modules are included. Or at least that's the intent.
>>
>> 
>> http://maven.apache.org/ASSEMBLY/2.2.0;
>>      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>>      xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.2.0
>> http://maven.apache.org/xsd/assembly-2.2.0.xsd;>
>>    bin
>>    
>>      zip
>>      tar-gz
>>    
>>    false
>>    
>>      
>>    true
>>    
>>    
>>      xalan:serializer
>>      xalan:xalan
>>      xalan:samples
>>    
>>    
>>     
>>  modules/maven-assembly-plugin
>>      false
>>    
>>      
>>    
>>    
>>    
>>      
>>    ../target/site
>>    docs
>>      
>>      
>>    ../samples
>>    
>>  target/**
>>  src/site/**
>>    
>>      
>>    
>> 
>> --
>> And the POM invoking this is likewise based pretty directly on the example:
>>
>> 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
>> https://maven.apache.org/xsd/maven-4.0.0.xsd;>
>>    4.0.0
>>    
>>      xalan
>>      xalan-project
>>      2.7.3
>>    
>>
>>    distribution
>>    pom
>>
>>    distribution
>>
>>    
>>    
>>      
>>    xalan
>>    serializer
>>    2.7.3
>>      
>>      
>>    xalan
>>    xalan
>>    2.7.3
>>      
>>      
>>    xalan
>>    samples
>>    2.7.3
>>      
>>    
>>
>>    
>>      
>>    
>>      maven-assembly-plugin
>>      
>>    
>>      distro-assembly
>>      package
>>      
>>    single
>>      
>>      
>>    
>>      src/assembly/bin.xml
>>    
>>      
>>    
>>      
>>    
>>      
>>    
>> 
>> --

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Self-inflicted wounds again.

2023-11-13 Thread Karl Heinz Marbaise

Hi,


The first what I see is that you are using an ancient old
maven-assembly-plugin version (2.2-beta-5) ... Please upgrade first
(most recent is currentl 3.6.0)..

Here you find the overview of all plugins with the most recent versions:

https://maven.apache.org/plugins/


Kind regards
Karl Heinz Marbaise
On 13.11.23 20:27, Joseph Kessselman wrote:

Had generation of the multi-module distribution binary zipfile working
yesterday.

Came back today to find I had apparently stepped on it before pushing.
Sigh. OK, I should be able to reproduce this, right?

Unfortunately, no. I'm missing something obvious again.


In context, currently broken as checked in:
https://github.com/apache/xalan-java/tree/xalan-java-mvn-refactored


Current error message is

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single
(distro-assembly) on project distribution: Error reading assemblies:
Error reading descriptor at: src/assembly/bin.xml: Unrecognised tag:
'useAllReactorProjects' (position: START_TAG seen ...\n
... @15:30)  -> [Help 1]

The bin.xml file mentioned currently contains something that is based
directly off the multi-module assembly instructions, just changing which
modules are included. Or at least that's the intent.


http://maven.apache.org/ASSEMBLY/2.2.0;
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
     xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.2.0
http://maven.apache.org/xsd/assembly-2.2.0.xsd;>
   bin
   
     zip
     tar-gz
   
   false
   
     
   true
   
   
     xalan:serializer
     xalan:xalan
     xalan:samples
   
   
     modules/maven-assembly-plugin
     false
   
     
   
   
   
     
   ../target/site
   docs
     
     
   ../samples
   
 target/**
 src/site/**
   
     
   

--
And the POM invoking this is likewise based pretty directly on the example:

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
https://maven.apache.org/xsd/maven-4.0.0.xsd;>
   4.0.0
   
     xalan
     xalan-project
     2.7.3
   

   distribution
   pom

   distribution

   
   
     
   xalan
   serializer
   2.7.3
     
     
   xalan
   xalan
   2.7.3
     
     
   xalan
   samples
   2.7.3
     
   

   
     
   
     maven-assembly-plugin
     
   
     distro-assembly
     package
     
   single
     
     
   
     src/assembly/bin.xml
   
     
   
     
   
     
   

--

I'm undoubtedly looking right past my error. Which foot am I shooting
off this time?


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org