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] Scanning for projects...
|
||||||
[INFO]
|
[INFO]
|
||||||
[INFO] ----------------------< com.baeldung:simplestPOM >----------------------
|
[INFO] ----------------------< com.baeldung:simplestPOM
|
||||||
|
>----------------------
|
||||||
[INFO] Building simplestPOM 1.0-SNAPSHOT
|
[INFO] Building simplestPOM 1.0-SNAPSHOT
|
||||||
[INFO] --------------------------------[ jar ]---------------------------------
|
|
||||||
[INFO]
|
[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]
|
[INFO]
|
||||||
Effective POMs, after inheritance, interpolation, and profiles are applied:
|
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' -->
|
<!-- 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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.baeldung</groupId>
|
<groupId>com.baeldung</groupId>
|
||||||
<artifactId>simplestPOM</artifactId>
|
<artifactId>simplestPOM</artifactId>
|
||||||
@ -247,9 +253,12 @@ Effective POMs, after inheritance, interpolation, and profiles are applied:
|
|||||||
</project>
|
</project>
|
||||||
|
|
||||||
|
|
||||||
[INFO] ------------------------------------------------------------------------
|
[INFO]
|
||||||
|
------------------------------------------------------------------------
|
||||||
[INFO] BUILD SUCCESS
|
[INFO] BUILD SUCCESS
|
||||||
[INFO] ------------------------------------------------------------------------
|
[INFO]
|
||||||
|
------------------------------------------------------------------------
|
||||||
[INFO] Total time: 1.346 s
|
[INFO] Total time: 1.346 s
|
||||||
[INFO] Finished at: 2021-05-15T17:28:30+03:00
|
[INFO] Finished at: 2021-05-15T17:28:30+03:00
|
||||||
[INFO] ------------------------------------------------------------------------
|
[INFO]
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
@ -1,23 +1,15 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<!--
|
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
||||||
Licensed to the Apache Software Foundation (ASF) under one
|
license agreements. See the NOTICE file distributed with this work for additional
|
||||||
or more contributor license agreements. See the NOTICE file
|
information regarding copyright ownership. The ASF licenses this file to
|
||||||
distributed with this work for additional information
|
you under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
regarding copyright ownership. The ASF licenses this file
|
this file except in compliance with the License. You may obtain a copy of
|
||||||
to you under the Apache License, Version 2.0 (the
|
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
|
||||||
"License"); you may not use this file except in compliance
|
by applicable law or agreed to in writing, software distributed under the
|
||||||
with the License. You may obtain a copy of the License at
|
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
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
language governing permissions and limitations under the License. -->
|
||||||
|
|
||||||
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 -->
|
<!-- START SNIPPET: superpom -->
|
||||||
<project>
|
<project>
|
||||||
@ -54,10 +46,13 @@ under the License.
|
|||||||
<directory>${project.basedir}/target</directory>
|
<directory>${project.basedir}/target</directory>
|
||||||
<outputDirectory>${project.build.directory}/classes</outputDirectory>
|
<outputDirectory>${project.build.directory}/classes</outputDirectory>
|
||||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
<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>
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
||||||
<scriptSourceDirectory>${project.basedir}/src/main/scripts</scriptSourceDirectory>
|
<scriptSourceDirectory>${project.basedir}/src/main/scripts
|
||||||
<testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>
|
</scriptSourceDirectory>
|
||||||
|
<testSourceDirectory>${project.basedir}/src/test/java
|
||||||
|
</testSourceDirectory>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>${project.basedir}/src/main/resources</directory>
|
<directory>${project.basedir}/src/main/resources</directory>
|
||||||
@ -69,8 +64,10 @@ under the License.
|
|||||||
</testResource>
|
</testResource>
|
||||||
</testResources>
|
</testResources>
|
||||||
<pluginManagement>
|
<pluginManagement>
|
||||||
<!-- NOTE: These plugins will be removed from future versions of the super POM -->
|
<!-- NOTE: These plugins will be removed from future versions of the super
|
||||||
<!-- They are kept for the moment as they are very unlikely to conflict with lifecycle mappings (MNG-4453) -->
|
POM -->
|
||||||
|
<!-- They are kept for the moment as they are very unlikely to conflict
|
||||||
|
with lifecycle mappings (MNG-4453) -->
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
@ -97,7 +94,8 @@ under the License.
|
|||||||
</reporting>
|
</reporting>
|
||||||
|
|
||||||
<profiles>
|
<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>
|
<profile>
|
||||||
<id>release-profile</id>
|
<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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.baeldung</groupId>
|
<groupId>com.baeldung</groupId>
|
||||||
<artifactId>simplestPOM</artifactId>
|
<artifactId>maven-pom-types</artifactId>
|
||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user