Is there a plugin or framework that converts java web app war to maven war (pom.xml and mvn install command)?

sunrelax

Is there a plugin or framework that converts a java web application (war) into a maven project (pom.xml and mvn install command jar)? Thanks

EDIT An alpha java program that converts a jar's list into a maven project (pom.xml and mvn install command jar) is: https://github.com/sunrelax/jar2mvn

jalbertoa

The groupId for the artifacts is not even in the manifests within the jars in the lib folder so the research to fit version+groupId is quite complex. Also, the way the package is generated (war-plugin) and the specific folders the original files are located can't be deducted. ONLY in the case you decide to pass all the standards, and keep your own repository (with your own groupIds), maybe will be possible to auto-assign from jars version own-generated-groupId... but it's not worth it, later it would be difficult to maintain. Better, and talking about third part libraries, take the jars one by one and hopefully you will have the version in the manifest and locate them in public repositories.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

malformed pom error with maven war plugin

From Dev

Maven war plugin, not getting dependencies from parent pom

From Dev

Why 'mvn install' war projects?

From Dev

Context.xml not coming to WAR on mvn clean install

From Dev

Create WAR file from pom.xml for an existing Maven project

From Dev

Create WAR file from pom.xml for an existing Maven project

From Dev

Is it possible to have Maven "WAR" pom.xml package up my classes up in a JAR and put the JAR in the /WEB-INF/lib folder?

From Dev

Why is maven-war-plugin failing for web.xml missing if I configured it not to fail on missing web.xml?

From Dev

Deploy war with Jetty maven plugin

From Dev

Maven war plugin not filtering as expected

From Dev

The POM for org.apache.maven.plugins:maven-war-plugin:jar:3.0 is missing, no dependency information available

From Dev

java maven exec-maven-plugin not executing on mvn clean install

From Dev

java maven exec-maven-plugin not executing on mvn clean install

From Dev

Package a Maven-transformed web.xml in the final war

From Dev

How to deploy war to Tomcat from child pom using maven tomcat plugin?

From Dev

Maven - maven-war-plugin to generate jar and install it to maven local repository

From Dev

Spring boot app with web.xml in the .war file

From Dev

How to exclude certain resources from the maven war plugin war file?

From Dev

maven war plugin put my resources in war root directory

From Dev

maven-war-plugin ignores user property war.warName

From Dev

maven-war-plugin does not change .war default directory

From Dev

Eclipse stopped building my WAR file after some Maven pom.xml changes

From Dev

Maven war plugin copy arbitrary files

From Dev

Use Maven Replacer Plugin Before WAR is Packaged

From Dev

maven-war-plugin and the Spring JavaConfig

From Dev

maven-war-plugin not filtering on local

From Dev

using maven-war-plugin with Spring BOM

From Dev

Maven-war-plugin - remove files

From Dev

maven-war-plugin include subdirectories

Related Related

  1. 1

    malformed pom error with maven war plugin

  2. 2

    Maven war plugin, not getting dependencies from parent pom

  3. 3

    Why 'mvn install' war projects?

  4. 4

    Context.xml not coming to WAR on mvn clean install

  5. 5

    Create WAR file from pom.xml for an existing Maven project

  6. 6

    Create WAR file from pom.xml for an existing Maven project

  7. 7

    Is it possible to have Maven "WAR" pom.xml package up my classes up in a JAR and put the JAR in the /WEB-INF/lib folder?

  8. 8

    Why is maven-war-plugin failing for web.xml missing if I configured it not to fail on missing web.xml?

  9. 9

    Deploy war with Jetty maven plugin

  10. 10

    Maven war plugin not filtering as expected

  11. 11

    The POM for org.apache.maven.plugins:maven-war-plugin:jar:3.0 is missing, no dependency information available

  12. 12

    java maven exec-maven-plugin not executing on mvn clean install

  13. 13

    java maven exec-maven-plugin not executing on mvn clean install

  14. 14

    Package a Maven-transformed web.xml in the final war

  15. 15

    How to deploy war to Tomcat from child pom using maven tomcat plugin?

  16. 16

    Maven - maven-war-plugin to generate jar and install it to maven local repository

  17. 17

    Spring boot app with web.xml in the .war file

  18. 18

    How to exclude certain resources from the maven war plugin war file?

  19. 19

    maven war plugin put my resources in war root directory

  20. 20

    maven-war-plugin ignores user property war.warName

  21. 21

    maven-war-plugin does not change .war default directory

  22. 22

    Eclipse stopped building my WAR file after some Maven pom.xml changes

  23. 23

    Maven war plugin copy arbitrary files

  24. 24

    Use Maven Replacer Plugin Before WAR is Packaged

  25. 25

    maven-war-plugin and the Spring JavaConfig

  26. 26

    maven-war-plugin not filtering on local

  27. 27

    using maven-war-plugin with Spring BOM

  28. 28

    Maven-war-plugin - remove files

  29. 29

    maven-war-plugin include subdirectories

HotTag

Archive