1 Java Project Manager, is a Maven/Gradle alternative with a twist. Its a single Java file itself, which should be edited by you to configure your project.
MIT License
Bot releases are hidden (Show)
Published by Osiris-Team about 2 months ago
Add support for native installers and executables
Published by Osiris-Team about 2 months ago
See project.isAutoParentsAndChildren
.
If true updates current pom, all parent and all child pom.xml
files with the respective parent details, adding seamless multi-module/project support.
This expects that the parent pom is always inside the parent directory,
otherwise a performant search is not possible since the entire disk would need to be checked.
Add JPM.java to your root project directory and add JPM.portChildProjects();
before building.
This is going to download and copy the latest JPM.java file into all child projects it can find
in this directory, and also run it to generate an initial pom.xml for that child project.
The child projects name will be the same as its directory name.
A child project is detected
if a src/main/java folder structure exists, and the parent folder of src/ is then used as child project root.
Note that a child project is expected to be directly inside a subdirectory of this project.
Now project.isAutoParentsAndChildren
will work properly, since all needed pom.xml files should exist.
Published by Osiris-Team 3 months ago
Published by Osiris-Team 3 months ago
made various properties public
Published by Osiris-Team 3 months ago
(ChatGPT) Here's a summary list for the diff:
Imports Updated:
BiConsumer
with Consumer
.ThisProject Class:
forceImplementation
comment.Class Removed:
Plugins
class definition.ThirdPartyPlugins Class:
JPM
class to ensure plugins are added.Dependency Class:
fromGradleString
static method.excludedDependencies
and type
attributes.exclude
methods.toString
and toXML
methods to handle new attributes.Repository Class:
isSnapshotsAllowed
attribute.toXML
method to handle isSnapshotsAllowed
.XML Class:
getOrCreateElement
to getElementOrCreate
.remove
and rename
methods.getElementOrNull
helper method.Plugin Class:
beforeToXMLListeners
to use Consumer<Details>
.Details
inner class to encapsulate plugin details and manage configuration, executions, and dependencies.toXML
method to use Details
.Execution Class:
toXML
method to handle optional id
.Project Class:
plugins
to JPM.plugins
.profiles
attribute and related methods.testImplementation
, implementation
, addDependency
, and forceImplementation
methods to return Dependency
.putPlugin
method for plugin management.addProfile
and toXML
methods.generatePom
to use toXML
.Profile Class:
Profile
class extending Project
.toXML
method for profiles.Published by Osiris-Team 3 months ago
Published by Osiris-Team 3 months ago
At least working here: https://github.com/Osiris-Team/AutoPlug-Client/blob/master/src/main/java/JPM.java
Published by Osiris-Team 3 months ago
Published by Osiris-Team 3 months ago
Published by Osiris-Team 3 months ago
Published by Osiris-Team 3 months ago
Published by Osiris-Team 3 months ago
Published by Osiris-Team 3 months ago