サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ドラクエ3
maven.apache.org
A normal Maven build will be executed, with the one important change that if the user doesn't have the necessary version of Maven specified in .mvn/wrapper/maven-wrapper.properties it will be downloaded for the user first, installed and then used. Subsequent uses of mvnw/mvnw.cmd use the previously downloaded, specific version as needed. Supported Systems The wrapper should work on various operati
Using Toolchains in Your Project There are two essential components that you need to configure in order to use toolchains: the maven-toolchains-plugin in your project POM, the toolchains.xml file on the building machine. The maven-toolchains-plugin is the one that sets the toolchain to be used by the toolchain-aware plugins in your project. For example, you want to use a different JDK version to b
Apache/ Maven/ Surefire/ Maven Surefire Plugin/ Fork Options and Parallel Test Execution | Last Published: 2024-01-06 Version: 3.2.5 Choosing the right forking strategy and parallel execution settings can have substantial impact on the memory requirements and the execution time of your build system. The surefire offers a variety of options to execute tests in parallel, allowing you to make best us
<project> ... <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.5.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <artifactSet> <excludes> <exclude>classworlds:classworlds</exclude> <exclude>junit:junit</exclude> <exclude>jmock:*</exclude> <exclude>*:xml-apis<
Apache/ Maven/ Introduction to Archetypes | Last Published: 2024-09-02 | Get Sources Download What is Archetype? In short, Archetype is a Maven project templating toolkit. An archetype is defined as an original pattern or model from which all other things of the same kind are made. The name fits as we are trying to provide a system that provides a consistent means of generating Maven projects. Arc
To use the Failsafe Plugin, you need to add the following configuration to your pom.xml: <project> [...] <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>3.5.2</version> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> </plugins> </build> [..
Apache/ Maven/ Surefire/ Maven Surefire Plugin/ Introduction | Last Published: 2024-10-01 Version: 3.5.1 The Surefire Plugin is used during the test phase of the build lifecycle to execute the unit tests of an application. It generates reports in two different file formats: Plain text files (*.txt) XML files (*.xml) By default, these files are generated in ${basedir}/target/surefire-reports/TEST-*
Configuring JUnit To get started with JUnit, you need to add the required version of JUnit to your project: <dependencies> [...] <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> </dependency> [...] </dependencies> This is the only step that is required to get started - you can now create tests in your test source directory (e.g., sr
Apache/ Maven/ Plugins/ Apache Maven WAR Plugin/ Introduction | Last Published: 2024-07-24 Version: 3.4.0 The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. Goals Overview war:war is the default goal invoked during the package phase for projects with a packaging type of war. It buil
Apache / Maven / Ref / Maven 3.0.4 / Maven Settings / Settings Last Published: 2012-01-20 | Version: 3.0.4 This is a reference for the user-specific configuration for Maven. Includes things that should not be distributed with the pom.xml file, such as developer identity, along with local settings, like proxy information. The default location for the settings file is ~/.m2/settings.xml An XSD is av
Overview Introduction Goals Usage API FAQ Examples Using TestNG Using JUnit Skipping Tests Inclusions and Exclusions of Tests Running a Single Test Class Loading Issues Debugging Tests System Properties Configuring the Classpath Selecting providers Developer Center Developing Project Documentation Project Information Project Reports Maven Projects Ant Tasks Archetype Doxia JXR Maven 1.x Maven 2 Pl
Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: Apache Maven Built-By: vsiveton Build-Jdk: 1.5.0_12 Build-Time: 2008-01-18 06:53:13 Recipe Configuring MANIFEST.MF To generate and add build time into a Jar Manifest, we are using MANIFEST.MF, located in the src/main/resources/META-INF directory, which contains a built time value to be interpolated, i.e.
Apache / Maven / Plugins / Apache Maven Eclipse Plugin / Multi-module projects with WTP Last Published: 2015-05-28 | Version: 2.10 Using maven-eclipse-plugin in multi-module projects with WTP Developing Multi-module projects with Maven and Eclipse can be done efficiently using the the best of both Maven 2 and Eclipse's WTP. Especially with projects that have EJB and EAR modules, it can be difficul
The archetype creation goal looks for an archetype with a given groupId, artifactId, and version and retrieves it from the remote repository. Once the archetype is retrieved, it is then processed against a set of user parameters to create a working Maven project.
What is Archetype? In short, Archetype is a Maven project templating toolkit. An archetype is defined as an original pattern or model from which all other things of the same kind are made. The names fits as we are trying to provide a system that provides a consistent means of generating Maven projects. Archetype will help authors create Maven project templates for users, and provides users with th
General information about how to copy jars into your local repository can be found in the Guide to installing 3rd party JARs By default, the Apache Maven Install Plugin uses the local repository defined in the settings.xml to install an artifact. You could install an artifact on a specific local repository by setting the localRepositoryPath parameter when installing. mvn org.apache.maven.plugins:m
Apache / Maven / Plugins / Apache Maven Eclipse Plugin (RETIRED) / Introduction Last Published: 2015-05-28 | Version: 2.10 Note: This plugin is retired. It is no longer maintained. The Maven Eclipse Plugin is used to generate Eclipse IDE files (*.classpath, *.project, *.wtpmodules and the .settings folder) for use with a project. Disclaimer: Users are advised to use m2e, the Eclipse Maven Integrat
Apache/ Maven/ Guide to installing 3rd party JARs | Last Published: 2024-11-06 | Get Sources Download Occasionally, you will have 3rd party JARs that you need to put in your local repository for use in your builds, since they don't exist in any public repository like Maven Central. The JARs must be placed in the local repository in the correct place in order for it to be correctly picked up by Apa
Apache/ Maven/ Release Notes - Maven 3.0 | Last Published: 2024-07-27 | Get Sources Download The Apache Maven team would like to announce the release of Maven 3.0. Maven 3.0 is available for download. Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central pla
Apache/ Maven/ Plugins/ Apache Maven Help Plugin/ Introduction | Last Published: 2024-06-02 Version: 3.4.1 The Maven Help Plugin is used to get relative information about a project or the system. It can be used to get a description of a particular plugin, including the plugin's goals with their parameters and component requirements, the effective POM and effective settings of the current build, an
Apache/ Maven/ Guide to using attached tests | Last Published: 2024-10-24 | Get Sources Download You can reuse the tests that you have created for one project in another. For example, suppose foo-core contains test code in the ${project.basedir}/src/test/java. To package up those compiled tests in a JAR and deploy them for general reuse, configure the maven-jar-plugin as follows: <project> <build>
Configuring a proxy You can configure a proxy to use for some or all of your HTTP requests with Maven. The username and password are only required if your proxy requires basic authentication (note that later releases may support storing your passwords in a secured keystore - in the mean time, please ensure your settings.xml file (usually ${user.home}/.m2/settings.xml) is secured with permissions a
Apache/ Maven/ Plugins/ Apache Maven Assembly Plugin/ Predefined Assembly Descriptors | Last Published: 2024-03-15 Version: 3.7.1 Pre-defined Descriptor Files There are four predefined descriptor formats available for reuse, packaged within the Assembly Plugin. Their descriptorIds are: bin jar-with-dependencies src project bin Use bin as the descriptorRef of your assembly-plugin configuration in o
x >= 1.0 * The default Maven meaning for 1.0 is everything (,) but with 1.0 recommended. Obviously this doesn't work for enforcing versions here, so it has been redefined as a minimum version.
Apache/ Maven/ Plugins/ Apache Maven Compiler Plugin/ Using Non-Javac Compilers | Last Published: 2024-03-15 Version: 3.13.0 Contrary to this plugin's name, the Compiler Plugin does not compile the sources of your project by itself. To compile, the Compiler Plugin uses another class to compile them. The parameter compilerId determines which class will be used. Currently, the Compiler Plugin is bun
Apache/ Maven/ Maven Getting Started Guide | Last Published: 2024-10-05 | Get Sources Download This guide is intended as a reference for those working with Maven for the first time, but is also intended to serve as a cookbook with self-contained references and solutions for common use cases. For first time users, it is recommended that you step through the material in a sequential fashion. For use
Apache/ Maven/ Plugins/ Apache Maven Compiler Plugin/ Compiling Sources Using A Different JDK | Last Published: 2023-12-21 Version: 3.12.1 Using Maven Toolchains The preferable way to use a different JDK is to use the toolchains mechanism. During the build of a project, Maven, without toolchains, will use the JDK to perform various steps, like compiling the Java sources, generate the Javadoc, run
次のページ
このページを最初にブックマークしてみませんか?
『Maven - Welcome to Maven』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く