Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Aphorismen
Applications
Business Economics & Admin.
My Computers
Cooking
Devices
Folders
Food
Hardware
Infos
Software Development
Sports
Operation Instructions
Todos
Test
Help
Glossary
Community portal
adaptions
Sidebar anpassen
Wiki RB4
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Maven
(section)
Page
Discussion
English
Read
Edit
View history
Toolbox
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Project Configuration== All information is stored in pom.xml (Project Object Model). ===pom.xml=== Pom.mxl is an XML file that contains information about the project and configuration details used by Maven to build the project. It contains default values for most projects. Examples for this is the build directory, which is <code>/target</code>; the source directory, which is <code>src/main/java</code>; the test source directory, which is <code>src/main/test</code>; and so on. When executing a task or goal, Maven looks for the POM in the current directory. It reads the POM, gets the needed configuration information, then executes the goal. The Super POM is Maven's default POM. All POMs extend the Super POM unless explicitly set, meaning the configuration specified in the Super POM is inherited by the POMs you created for your projects. ====<project>==== <project> <modelVersion> </modelVersion> <!-- mandatory e.g. 4.0.0 --> <groupId> </groupId> <!-- mandatory, organization identifier e.g. www.uweheuer.de --> <artefactId> </artefactId> <!-- mandotory, base name of the primary artefact extended with version and extension, name of the root directory --> <packaging> </packaging> <!-- package type with impact on the lifecycle --> <version> </version> <!-- mandotory --> <!-- groupId, artifactId, and version form the project's fully qualified artifact name --> <name> </name> <!-- for documentation --> <url> </url> <!-- for documentation --> <description> </description> <!-- for documentation --> [[Maven#.3Cdependencies.3E|<dependencies>...</dependencies>]] [[#.3Cbuild.3E|<build>...</build>]] </project> ====<dependencies>==== <dependencies> ... </dependencies> ====<build>==== <build> ... <plugins> [[#.3Cplugin.3E|<plugin>...</plugin>]] </plugins> </build> ====<plugin>==== =====JBoss AS Plugin===== <plugin> <groupId>org.jboss.as.plugins</groupId> <artifactId>jboss-as-maven-plugin</artifactId> <version>7.1.0.Beta1b</version> </plugin> mvn [jboss-as:deploy|jboss-as:redeploy|jboss-as:undeploy]
Summary:
Please note that all contributions to Wiki RB4 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Uwe Heuer Wiki New:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width