Skip to content

Fix mina-transport-serial dependency in distribution module - #115

Merged
elecharny merged 1 commit into
apache:mina-2.2.Xfrom
the-thing:disitrbiution-serial-profile
Dec 1, 2026
Merged

elecharny merged 1 commit into
apache:mina-2.2.Xfrom
the-thing:disitrbiution-serial-profile

Conversation

@the-thing

@the-thing the-thing commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

This needs to be removed, because it breaks the release build mvn -Pserial,apache-release release:prepare

Fixing the profile dependency.

@elecharny

Copy link
Copy Markdown
Contributor

To clarify;

  • we don't release a binary package containing the RXTX library, as its license is not AL 2.0 compatible.
  • but we do release a source package that contains the mina-transport-serial module
    It's up to the user who would want to use this transport to create the binary package.

Can you tell us what kind of error you get when running the command you shown?

@the-thing

Copy link
Copy Markdown
Member Author
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Child module C:\Users\Marcin\dev\git\mina\distribution\mina-transport-serial of C:\Users\Marcin\dev\git\mina\distribution\pom.xml does not exist @ 
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.mina:distribution:2.2.11-SNAPSHOT (C:\Users\Marcin\dev\git\mina\distribution\pom.xml) has 1 error
[ERROR]     Child module C:\Users\Marcin\dev\git\mina\distribution\mina-transport-serial of C:\Users\Marcin\dev\git\mina\distribution\pom.xml does not exist
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

@the-thing

Copy link
Copy Markdown
Member Author

Just to clarify.

Having this in the dependency section fails to compile without serial profile.

<dependency>
  <groupId>${project.groupId}</groupId>
  <artifactId>mina-transport-serial</artifactId>
  <version>${project.version}</version>
</dependency>

, but having this dependency as part of activation dependency fails with release command.

@the-thing
the-thing marked this pull request as draft December 1, 2026 09:09
@the-thing
the-thing force-pushed the disitrbiution-serial-profile branch from 1e3ff5b to be61428 Compare December 1, 2026 09:15
@the-thing

the-thing commented Dec 1, 2026 •

Copy link
Copy Markdown
Member Author

@elecharny ignore previous - I messed up maven config and used activation module instead of the dependency...

@the-thing
the-thing force-pushed the disitrbiution-serial-profile branch from be61428 to f02c197 Compare December 1, 2026 09:16
@the-thing the-thing changed the title remove serial profile from distribution module Fix mina-transport-serial dependency in distribution module Dec 1, 2026
@the-thing
the-thing marked this pull request as ready for review December 1, 2026 09:28
@elecharny
elecharny merged commit f1d69ca into apache:mina-2.2.X Dec 1, 2026
17 of 18 checks passed
@the-thing
the-thing deleted the disitrbiution-serial-profile branch December 1, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants