elharo opened a new issue, #141:
URL: https://github.com/apache/maven-shared-jar/issues/141

   In `TextFileExposer.java:55`:
   
   ```java
   String line = br.readLine();
   if (line != null && !line.isEmpty()) {
       textVersions.add(line);
   }
   ```
   
   Only the first line of any version text file is used. Version files with 
multi-line content (e.g., `key=value` pairs, multi-line version headers) lose 
all data beyond line 1.
   
   **Fix**: Read all lines in a loop:
   ```java
   String line;
   while ((line = br.readLine()) != null) {
       if (!line.isEmpty()) {
           textVersions.add(line);
       }
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to