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,255 +1,264 @@
|
|||||||
|
|
||||||
[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]
|
--------------------------------[ jar ]---------------------------------
|
||||||
[INFO] --- maven-help-plugin:3.2.0:effective-pom (default-cli) @ simplestPOM ---
|
[INFO]
|
||||||
[INFO]
|
[INFO] --- maven-help-plugin:3.2.0:effective-pom (default-cli) @ simplestPOM
|
||||||
|
---
|
||||||
|
[INFO]
|
||||||
Effective POMs, after inheritance, interpolation, and profiles are applied:
|
Effective POMs, after inheritance, interpolation, and profiles are applied:
|
||||||
|
|
||||||
<?xml version="1.0" encoding="Cp1252"?>
|
<?xml version="1.0" encoding="Cp1252"?>
|
||||||
<!-- ====================================================================== -->
|
<!-- ====================================================================== -->
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<!-- Generated by Maven Help Plugin on 2021-05-15T17:28:30+03:00 -->
|
<!-- Generated by Maven Help Plugin on 2021-05-15T17:28:30+03:00 -->
|
||||||
<!-- See: http://maven.apache.org/plugins/maven-help-plugin/ -->
|
<!-- See: http://maven.apache.org/plugins/maven-help-plugin/ -->
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<!-- ====================================================================== -->
|
<!-- ====================================================================== -->
|
||||||
<!-- ====================================================================== -->
|
<!-- ====================================================================== -->
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<!-- 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"
|
||||||
<modelVersion>4.0.0</modelVersion>
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<groupId>com.baeldung</groupId>
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<artifactId>simplestPOM</artifactId>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<version>1.0-SNAPSHOT</version>
|
<groupId>com.baeldung</groupId>
|
||||||
<repositories>
|
<artifactId>simplestPOM</artifactId>
|
||||||
<repository>
|
<version>1.0-SNAPSHOT</version>
|
||||||
<snapshots>
|
<repositories>
|
||||||
<enabled>false</enabled>
|
<repository>
|
||||||
</snapshots>
|
<snapshots>
|
||||||
<id>central</id>
|
<enabled>false</enabled>
|
||||||
<name>Central Repository</name>
|
</snapshots>
|
||||||
<url>https://repo.maven.apache.org/maven2</url>
|
<id>central</id>
|
||||||
</repository>
|
<name>Central Repository</name>
|
||||||
</repositories>
|
<url>https://repo.maven.apache.org/maven2</url>
|
||||||
<pluginRepositories>
|
</repository>
|
||||||
<pluginRepository>
|
</repositories>
|
||||||
<releases>
|
<pluginRepositories>
|
||||||
<updatePolicy>never</updatePolicy>
|
<pluginRepository>
|
||||||
</releases>
|
<releases>
|
||||||
<snapshots>
|
<updatePolicy>never</updatePolicy>
|
||||||
<enabled>false</enabled>
|
</releases>
|
||||||
</snapshots>
|
<snapshots>
|
||||||
<id>central</id>
|
<enabled>false</enabled>
|
||||||
<name>Central Repository</name>
|
</snapshots>
|
||||||
<url>https://repo.maven.apache.org/maven2</url>
|
<id>central</id>
|
||||||
</pluginRepository>
|
<name>Central Repository</name>
|
||||||
</pluginRepositories>
|
<url>https://repo.maven.apache.org/maven2</url>
|
||||||
<build>
|
</pluginRepository>
|
||||||
<sourceDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\src\main\java</sourceDirectory>
|
</pluginRepositories>
|
||||||
<scriptSourceDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\src\main\scripts</scriptSourceDirectory>
|
<build>
|
||||||
<testSourceDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\src\test\java</testSourceDirectory>
|
<sourceDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\src\main\java</sourceDirectory>
|
||||||
<outputDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\customTarget\classes</outputDirectory>
|
<scriptSourceDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\src\main\scripts</scriptSourceDirectory>
|
||||||
<testOutputDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\customTarget\test-classes</testOutputDirectory>
|
<testSourceDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\src\test\java</testSourceDirectory>
|
||||||
<resources>
|
<outputDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\customTarget\classes</outputDirectory>
|
||||||
<resource>
|
<testOutputDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\customTarget\test-classes</testOutputDirectory>
|
||||||
<directory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\src\main\resources</directory>
|
<resources>
|
||||||
</resource>
|
<resource>
|
||||||
</resources>
|
<directory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\src\main\resources</directory>
|
||||||
<testResources>
|
</resource>
|
||||||
<testResource>
|
</resources>
|
||||||
<directory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\src\test\resources</directory>
|
<testResources>
|
||||||
</testResource>
|
<testResource>
|
||||||
</testResources>
|
<directory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\src\test\resources</directory>
|
||||||
<directory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\customTarget</directory>
|
</testResource>
|
||||||
<finalName>simplestPOM-1.0-SNAPSHOT</finalName>
|
</testResources>
|
||||||
<pluginManagement>
|
<directory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\customTarget</directory>
|
||||||
<plugins>
|
<finalName>simplestPOM-1.0-SNAPSHOT</finalName>
|
||||||
<plugin>
|
<pluginManagement>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<plugins>
|
||||||
<version>1.3</version>
|
<plugin>
|
||||||
</plugin>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<plugin>
|
<version>1.3</version>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
</plugin>
|
||||||
<version>2.2-beta-5</version>
|
<plugin>
|
||||||
</plugin>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<plugin>
|
<version>2.2-beta-5</version>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
</plugin>
|
||||||
<version>2.8</version>
|
<plugin>
|
||||||
</plugin>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
<plugin>
|
<version>2.8</version>
|
||||||
<artifactId>maven-release-plugin</artifactId>
|
</plugin>
|
||||||
<version>2.5.3</version>
|
<plugin>
|
||||||
</plugin>
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
</plugins>
|
<version>2.5.3</version>
|
||||||
</pluginManagement>
|
</plugin>
|
||||||
<plugins>
|
</plugins>
|
||||||
<plugin>
|
</pluginManagement>
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
<plugins>
|
||||||
<version>2.5</version>
|
<plugin>
|
||||||
<executions>
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
<execution>
|
<version>2.5</version>
|
||||||
<id>default-clean</id>
|
<executions>
|
||||||
<phase>clean</phase>
|
<execution>
|
||||||
<goals>
|
<id>default-clean</id>
|
||||||
<goal>clean</goal>
|
<phase>clean</phase>
|
||||||
</goals>
|
<goals>
|
||||||
</execution>
|
<goal>clean</goal>
|
||||||
</executions>
|
</goals>
|
||||||
</plugin>
|
</execution>
|
||||||
<plugin>
|
</executions>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
</plugin>
|
||||||
<version>2.6</version>
|
<plugin>
|
||||||
<executions>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<execution>
|
<version>2.6</version>
|
||||||
<id>default-testResources</id>
|
<executions>
|
||||||
<phase>process-test-resources</phase>
|
<execution>
|
||||||
<goals>
|
<id>default-testResources</id>
|
||||||
<goal>testResources</goal>
|
<phase>process-test-resources</phase>
|
||||||
</goals>
|
<goals>
|
||||||
</execution>
|
<goal>testResources</goal>
|
||||||
<execution>
|
</goals>
|
||||||
<id>default-resources</id>
|
</execution>
|
||||||
<phase>process-resources</phase>
|
<execution>
|
||||||
<goals>
|
<id>default-resources</id>
|
||||||
<goal>resources</goal>
|
<phase>process-resources</phase>
|
||||||
</goals>
|
<goals>
|
||||||
</execution>
|
<goal>resources</goal>
|
||||||
</executions>
|
</goals>
|
||||||
</plugin>
|
</execution>
|
||||||
<plugin>
|
</executions>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
</plugin>
|
||||||
<version>2.4</version>
|
<plugin>
|
||||||
<executions>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<execution>
|
<version>2.4</version>
|
||||||
<id>default-jar</id>
|
<executions>
|
||||||
<phase>package</phase>
|
<execution>
|
||||||
<goals>
|
<id>default-jar</id>
|
||||||
<goal>jar</goal>
|
<phase>package</phase>
|
||||||
</goals>
|
<goals>
|
||||||
</execution>
|
<goal>jar</goal>
|
||||||
</executions>
|
</goals>
|
||||||
</plugin>
|
</execution>
|
||||||
<plugin>
|
</executions>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
</plugin>
|
||||||
<version>3.1</version>
|
<plugin>
|
||||||
<executions>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<execution>
|
<version>3.1</version>
|
||||||
<id>default-compile</id>
|
<executions>
|
||||||
<phase>compile</phase>
|
<execution>
|
||||||
<goals>
|
<id>default-compile</id>
|
||||||
<goal>compile</goal>
|
<phase>compile</phase>
|
||||||
</goals>
|
<goals>
|
||||||
</execution>
|
<goal>compile</goal>
|
||||||
<execution>
|
</goals>
|
||||||
<id>default-testCompile</id>
|
</execution>
|
||||||
<phase>test-compile</phase>
|
<execution>
|
||||||
<goals>
|
<id>default-testCompile</id>
|
||||||
<goal>testCompile</goal>
|
<phase>test-compile</phase>
|
||||||
</goals>
|
<goals>
|
||||||
</execution>
|
<goal>testCompile</goal>
|
||||||
</executions>
|
</goals>
|
||||||
</plugin>
|
</execution>
|
||||||
<plugin>
|
</executions>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
</plugin>
|
||||||
<version>2.12.4</version>
|
<plugin>
|
||||||
<executions>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<execution>
|
<version>2.12.4</version>
|
||||||
<id>default-test</id>
|
<executions>
|
||||||
<phase>test</phase>
|
<execution>
|
||||||
<goals>
|
<id>default-test</id>
|
||||||
<goal>test</goal>
|
<phase>test</phase>
|
||||||
</goals>
|
<goals>
|
||||||
</execution>
|
<goal>test</goal>
|
||||||
</executions>
|
</goals>
|
||||||
</plugin>
|
</execution>
|
||||||
<plugin>
|
</executions>
|
||||||
<artifactId>maven-install-plugin</artifactId>
|
</plugin>
|
||||||
<version>2.4</version>
|
<plugin>
|
||||||
<executions>
|
<artifactId>maven-install-plugin</artifactId>
|
||||||
<execution>
|
<version>2.4</version>
|
||||||
<id>default-install</id>
|
<executions>
|
||||||
<phase>install</phase>
|
<execution>
|
||||||
<goals>
|
<id>default-install</id>
|
||||||
<goal>install</goal>
|
<phase>install</phase>
|
||||||
</goals>
|
<goals>
|
||||||
</execution>
|
<goal>install</goal>
|
||||||
</executions>
|
</goals>
|
||||||
</plugin>
|
</execution>
|
||||||
<plugin>
|
</executions>
|
||||||
<artifactId>maven-deploy-plugin</artifactId>
|
</plugin>
|
||||||
<version>2.7</version>
|
<plugin>
|
||||||
<executions>
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
<execution>
|
<version>2.7</version>
|
||||||
<id>default-deploy</id>
|
<executions>
|
||||||
<phase>deploy</phase>
|
<execution>
|
||||||
<goals>
|
<id>default-deploy</id>
|
||||||
<goal>deploy</goal>
|
<phase>deploy</phase>
|
||||||
</goals>
|
<goals>
|
||||||
</execution>
|
<goal>deploy</goal>
|
||||||
</executions>
|
</goals>
|
||||||
</plugin>
|
</execution>
|
||||||
<plugin>
|
</executions>
|
||||||
<artifactId>maven-site-plugin</artifactId>
|
</plugin>
|
||||||
<version>3.3</version>
|
<plugin>
|
||||||
<executions>
|
<artifactId>maven-site-plugin</artifactId>
|
||||||
<execution>
|
<version>3.3</version>
|
||||||
<id>default-site</id>
|
<executions>
|
||||||
<phase>site</phase>
|
<execution>
|
||||||
<goals>
|
<id>default-site</id>
|
||||||
<goal>site</goal>
|
<phase>site</phase>
|
||||||
</goals>
|
<goals>
|
||||||
<configuration>
|
<goal>site</goal>
|
||||||
<outputDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\customTarget\site</outputDirectory>
|
</goals>
|
||||||
<reportPlugins>
|
<configuration>
|
||||||
<reportPlugin>
|
<outputDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\customTarget\site</outputDirectory>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<reportPlugins>
|
||||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
<reportPlugin>
|
||||||
</reportPlugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
</reportPlugins>
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||||
</configuration>
|
</reportPlugin>
|
||||||
</execution>
|
</reportPlugins>
|
||||||
<execution>
|
</configuration>
|
||||||
<id>default-deploy</id>
|
</execution>
|
||||||
<phase>site-deploy</phase>
|
<execution>
|
||||||
<goals>
|
<id>default-deploy</id>
|
||||||
<goal>deploy</goal>
|
<phase>site-deploy</phase>
|
||||||
</goals>
|
<goals>
|
||||||
<configuration>
|
<goal>deploy</goal>
|
||||||
<outputDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\customTarget\site</outputDirectory>
|
</goals>
|
||||||
<reportPlugins>
|
<configuration>
|
||||||
<reportPlugin>
|
<outputDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\customTarget\site</outputDirectory>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<reportPlugins>
|
||||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
<reportPlugin>
|
||||||
</reportPlugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
</reportPlugins>
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||||
</configuration>
|
</reportPlugin>
|
||||||
</execution>
|
</reportPlugins>
|
||||||
</executions>
|
</configuration>
|
||||||
<configuration>
|
</execution>
|
||||||
<outputDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\customTarget\site</outputDirectory>
|
</executions>
|
||||||
<reportPlugins>
|
<configuration>
|
||||||
<reportPlugin>
|
<outputDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\customTarget\site</outputDirectory>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<reportPlugins>
|
||||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
<reportPlugin>
|
||||||
</reportPlugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
</reportPlugins>
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||||
</configuration>
|
</reportPlugin>
|
||||||
</plugin>
|
</reportPlugins>
|
||||||
</plugins>
|
</configuration>
|
||||||
</build>
|
</plugin>
|
||||||
<reporting>
|
</plugins>
|
||||||
<outputDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\customTarget\site</outputDirectory>
|
</build>
|
||||||
</reporting>
|
<reporting>
|
||||||
|
<outputDirectory>C:\Users\emicu\Desktop\tutorials\maven-modules\maven-pom-types\customTarget\site</outputDirectory>
|
||||||
|
</reporting>
|
||||||
</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,150 +1,148 @@
|
|||||||
<?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>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>central</id>
|
<id>central</id>
|
||||||
<name>Central Repository</name>
|
<name>Central Repository</name>
|
||||||
<url>https://repo.maven.apache.org/maven2</url>
|
<url>https://repo.maven.apache.org/maven2</url>
|
||||||
<layout>default</layout>
|
<layout>default</layout>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>false</enabled>
|
<enabled>false</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>central</id>
|
<id>central</id>
|
||||||
<name>Central Repository</name>
|
<name>Central Repository</name>
|
||||||
<url>https://repo.maven.apache.org/maven2</url>
|
<url>https://repo.maven.apache.org/maven2</url>
|
||||||
<layout>default</layout>
|
<layout>default</layout>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>false</enabled>
|
<enabled>false</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
<releases>
|
<releases>
|
||||||
<updatePolicy>never</updatePolicy>
|
<updatePolicy>never</updatePolicy>
|
||||||
</releases>
|
</releases>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<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
|
||||||
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
</testOutputDirectory>
|
||||||
<scriptSourceDirectory>${project.basedir}/src/main/scripts</scriptSourceDirectory>
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
||||||
<testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>
|
<scriptSourceDirectory>${project.basedir}/src/main/scripts
|
||||||
<resources>
|
</scriptSourceDirectory>
|
||||||
<resource>
|
<testSourceDirectory>${project.basedir}/src/test/java
|
||||||
<directory>${project.basedir}/src/main/resources</directory>
|
</testSourceDirectory>
|
||||||
</resource>
|
<resources>
|
||||||
</resources>
|
<resource>
|
||||||
<testResources>
|
<directory>${project.basedir}/src/main/resources</directory>
|
||||||
<testResource>
|
</resource>
|
||||||
<directory>${project.basedir}/src/test/resources</directory>
|
</resources>
|
||||||
</testResource>
|
<testResources>
|
||||||
</testResources>
|
<testResource>
|
||||||
<pluginManagement>
|
<directory>${project.basedir}/src/test/resources</directory>
|
||||||
<!-- NOTE: These plugins will be removed from future versions of the super POM -->
|
</testResource>
|
||||||
<!-- They are kept for the moment as they are very unlikely to conflict with lifecycle mappings (MNG-4453) -->
|
</testResources>
|
||||||
<plugins>
|
<pluginManagement>
|
||||||
<plugin>
|
<!-- NOTE: These plugins will be removed from future versions of the super
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
POM -->
|
||||||
<version>1.3</version>
|
<!-- They are kept for the moment as they are very unlikely to conflict
|
||||||
</plugin>
|
with lifecycle mappings (MNG-4453) -->
|
||||||
<plugin>
|
<plugins>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<plugin>
|
||||||
<version>2.2-beta-5</version>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
</plugin>
|
<version>1.3</version>
|
||||||
<plugin>
|
</plugin>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<plugin>
|
||||||
<version>2.8</version>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
</plugin>
|
<version>2.2-beta-5</version>
|
||||||
<plugin>
|
</plugin>
|
||||||
<artifactId>maven-release-plugin</artifactId>
|
<plugin>
|
||||||
<version>2.5.3</version>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
</plugin>
|
<version>2.8</version>
|
||||||
</plugins>
|
</plugin>
|
||||||
</pluginManagement>
|
<plugin>
|
||||||
</build>
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
|
<version>2.5.3</version>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</pluginManagement>
|
||||||
|
</build>
|
||||||
|
|
||||||
<reporting>
|
<reporting>
|
||||||
<outputDirectory>${project.build.directory}/site</outputDirectory>
|
<outputDirectory>${project.build.directory}/site</outputDirectory>
|
||||||
</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
|
||||||
<profile>
|
the super POM -->
|
||||||
<id>release-profile</id>
|
<profile>
|
||||||
|
<id>release-profile</id>
|
||||||
|
|
||||||
<activation>
|
<activation>
|
||||||
<property>
|
<property>
|
||||||
<name>performRelease</name>
|
<name>performRelease</name>
|
||||||
<value>true</value>
|
<value>true</value>
|
||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<inherited>true</inherited>
|
<inherited>true</inherited>
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-sources</id>
|
<id>attach-sources</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>jar-no-fork</goal>
|
<goal>jar-no-fork</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<inherited>true</inherited>
|
<inherited>true</inherited>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-javadocs</id>
|
<id>attach-javadocs</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>jar</goal>
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<inherited>true</inherited>
|
<inherited>true</inherited>
|
||||||
<artifactId>maven-deploy-plugin</artifactId>
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<updateReleaseInfo>true</updateReleaseInfo>
|
<updateReleaseInfo>true</updateReleaseInfo>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
<!-- END SNIPPET: superpom -->
|
<!-- END SNIPPET: superpom -->
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
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>
|
||||||
<directory>${project.basedir}/customTarget</directory>
|
<directory>${project.basedir}/customTarget</directory>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
Loading…
x
Reference in New Issue
Block a user