What is maven?

Hello, this is Ponpoko. Let's research various things to make your own app and use "Maven"! I think work ... It took a lot of time just to build the environment, so make a note.

Please point out any inadequacies.

Problems faced while using Maven

――It took a lot of time to build the environment. ――I wanted to use various tasks with Ant, but I quit because of trouble.

I was mainly frustrated by these two.

What is Maven?

Maven means "expert, master".

Abbreviation for "Apache Maven", a typical Java build tool. Maven is an open source build tool used by many Java development tools. I think that it is often used especially when using the Java framework for complex project construction.

Maven is a build tool developed by inheriting the basic idea of Ant. The difference is that the information required for processing is described in XML format and goes through sources, libraries, plugins, and proxies? Make a description to process the entire program. There is no need to specify the details of the process in order to build.

What can you do with Maven?

Main features of Maven

--As a build tool --Various functions provided as extension tasks can be used in the form of plug-ins in Maven. --You only need to set the property file, and you don't need to write a dedicated XML. The plugin itself can also be installed with a single command. --By dynamically embedding the project-specific value set in the property file in XML and executing Ant, the user can benefit from the extended task without writing extra XML. I will.

--As a project site generator --Maven can access the information defined in POM and generate the project site as HTML. --It can be generated only by setting the property file without writing XML like that used in Ant.

--As an automatic library installer

--Maven has a function to automatically acquire the dependent artifacts defined in POM dependencies from the remote repository and install them in the local repository. ――By setting your own repository, you can install it automatically in the same way, so you can use the library without installing the library for each project or storing the library itself in CVS.

This time, I wrote about what Maven is.

Next time, I will explain about environment construction.

See you next time.

Recommended Posts

What is maven?
What is Docker?
What is null? ]
What is java
What is Keycloak
What is Jackson?
What is Docker
What is self
What is Jenkins
What is ArgumentMatcher?
What is IM-Juggling?
What is params
What is SLF4J?
What is Facade? ??
What is Java <>?
What is Gradle?
What is POJO
What is Java
What is centOS
What is RubyGem?
What is programming?
What is before_action?
What is Docker
What is Byte?
What is Tomcat
What is `docker-compose up`?
What is a constructor?
What is Ruby's self?
What is hard coding?
What is a stream
What is Ruby's attr_accessor?
What is Java Encapsulation?
What is permission denied?
What is instance control?
What is an initializer?
What is Spring Tools 4
What is an operator?
What is object orientation?
What is Guava's @VisibleForTesting?
What is MVC model?
What is an annotation?
What is Java technology?
What is Java API-java
What is @ (instance variable)?
What is Gradle's Artifact?
What is JPA Auditing?
[Swift] What is dismiss?
[Java] What is flatMap?
What is a Servlet?
What is web development?
[Java] What is JavaBeans?
[Android] What is Context? ??
[Java] What is ArrayList?
[Ruby] What is true?
What is object-oriented after all?
Maven default JDK version is 1.5
What is HttpSession session = request.getSession ();
What is Java Assertion? Summary.
What is DI (Dependency Injection)
What is a wrapper class?
What is object-oriented programming? ~ Beginners ~