BAEL-4800: adjustments
- formated the code - changed artifactId - deleted readMe.md
This commit is contained in:
parent
cfff9e33c9
commit
d6be1a079f
|
@ -1,11 +0,0 @@
|
|||
## Maven POM types
|
||||
|
||||
This module contains the XML files with POM types.
|
||||
|
||||
pom.xml is the Simplest POM
|
||||
pom-4.0.0.xml is the Super POM
|
||||
effective-pom.xml was generated using `mvn help:effective-pom > effective-pom.xml`
|
||||
|
||||
### Relevant Articles
|
||||
|
||||
- [Guide to Maven Profiles](https://www.baeldung.com/difference-between-super-pom-simplest-and-effective-pom/)
|
|
@ -1,10 +1,14 @@
|
|||
|
||||
[INFO] Scanning for projects...
|
||||
[INFO]
|
||||
[INFO] ----------------------< com.baeldung:simplestPOM >----------------------
|
||||
[INFO] ----------------------< com.baeldung:simplestPOM
|
||||
>----------------------
|
||||
[INFO] Building simplestPOM 1.0-SNAPSHOT
|
||||
[INFO] --------------------------------[ jar ]---------------------------------
|
||||
[INFO]
|
||||
[INFO] --- maven-help-plugin:3.2.0:effective-pom (default-cli) @ simplestPOM ---
|
||||
--------------------------------[ jar ]---------------------------------
|
||||
[INFO]
|
||||
[INFO] --- maven-help-plugin:3.2.0:effective-pom (default-cli) @ simplestPOM
|
||||
---
|
||||
[INFO]
|
||||
Effective POMs, after inheritance, interpolation, and profiles are applied:
|
||||
|
||||
|
@ -20,7 +24,9 @@ Effective POMs, after inheritance, interpolation, and profiles are applied:
|
|||
<!-- Effective POM for project 'com.baeldung:simplestPOM:jar:1.0-SNAPSHOT' -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.baeldung</groupId>
|
||||
<artifactId>simplestPOM</artifactId>
|
||||
|
@ -247,9 +253,12 @@ Effective POMs, after inheritance, interpolation, and profiles are applied:
|
|||
</project>
|
||||
|
||||
|
||||
[INFO] ------------------------------------------------------------------------
|
||||
[INFO]
|
||||
------------------------------------------------------------------------
|
||||
[INFO] BUILD SUCCESS
|
||||
[INFO] ------------------------------------------------------------------------
|
||||
[INFO]
|
||||
------------------------------------------------------------------------
|
||||
[INFO] Total time: 1.346 s
|
||||
[INFO] Finished at: 2021-05-15T17:28:30+03:00
|
||||
[INFO] ------------------------------------------------------------------------
|
||||
[INFO]
|
||||
------------------------------------------------------------------------
|
||||
|
|
|
@ -1,23 +1,15 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
distributed with this work for additional information
|
||||
regarding copyright ownership. The ASF licenses this file
|
||||
to you under the Apache License, Version 2.0 (the
|
||||
"License"); you may not use this file except in compliance
|
||||
with the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the License is distributed on an
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
||||
license agreements. See the NOTICE file distributed with this work for additional
|
||||
information regarding copyright ownership. The ASF licenses this file to
|
||||
you under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
|
||||
by applicable law or agreed to in writing, software distributed under the
|
||||
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
|
||||
OF ANY KIND, either express or implied. See the License for the specific
|
||||
language governing permissions and limitations under the License. -->
|
||||
|
||||
<!-- START SNIPPET: superpom -->
|
||||
<project>
|
||||
|
@ -54,10 +46,13 @@ under the License.
|
|||
<directory>${project.basedir}/target</directory>
|
||||
<outputDirectory>${project.build.directory}/classes</outputDirectory>
|
||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||
<testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory>
|
||||
<testOutputDirectory>${project.build.directory}/test-classes
|
||||
</testOutputDirectory>
|
||||
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
||||
<scriptSourceDirectory>${project.basedir}/src/main/scripts</scriptSourceDirectory>
|
||||
<testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>
|
||||
<scriptSourceDirectory>${project.basedir}/src/main/scripts
|
||||
</scriptSourceDirectory>
|
||||
<testSourceDirectory>${project.basedir}/src/test/java
|
||||
</testSourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${project.basedir}/src/main/resources</directory>
|
||||
|
@ -69,8 +64,10 @@ under the License.
|
|||
</testResource>
|
||||
</testResources>
|
||||
<pluginManagement>
|
||||
<!-- NOTE: These plugins will be removed from future versions of the super POM -->
|
||||
<!-- They are kept for the moment as they are very unlikely to conflict with lifecycle mappings (MNG-4453) -->
|
||||
<!-- NOTE: These plugins will be removed from future versions of the super
|
||||
POM -->
|
||||
<!-- They are kept for the moment as they are very unlikely to conflict
|
||||
with lifecycle mappings (MNG-4453) -->
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
|
@ -97,7 +94,8 @@ under the License.
|
|||
</reporting>
|
||||
|
||||
<profiles>
|
||||
<!-- NOTE: The release profile will be removed from future versions of the super POM -->
|
||||
<!-- NOTE: The release profile will be removed from future versions of
|
||||
the super POM -->
|
||||
<profile>
|
||||
<id>release-profile</id>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.baeldung</groupId>
|
||||
<artifactId>simplestPOM</artifactId>
|
||||
<artifactId>maven-pom-types</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<build>
|
||||
|
|
Loading…
Reference in New Issue