Eonian Parent POM: JAR

Eonian Parent POM.

Лицензия

Лицензия

Категории

Категории

Ant Компиляция и сборка
Группа

Группа

com.eoniantech.build
Идентификатор

Идентификатор

jar-parent-pom
Последняя версия

Последняя версия

1.4
Дата

Дата

Тип

Тип

pom
Описание

Описание

Eonian Parent POM: JAR
Eonian Parent POM.
Ссылка на сайт

Ссылка на сайт

https://github.com/eonian-technologies/parent-pom
Система контроля версий

Система контроля версий

https://github.com/eonian-technologies/parent-pom

Скачать jar-parent-pom

Имя Файла Размер
jar-parent-pom-1.4.pom 26 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.eoniantech.build/jar-parent-pom/ -->
<dependency>
    <groupId>com.eoniantech.build</groupId>
    <artifactId>jar-parent-pom</artifactId>
    <version>1.4</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.eoniantech.build/jar-parent-pom/
implementation 'com.eoniantech.build:jar-parent-pom:1.4'
// https://jarcasting.com/artifacts/com.eoniantech.build/jar-parent-pom/
implementation ("com.eoniantech.build:jar-parent-pom:1.4")
'com.eoniantech.build:jar-parent-pom:pom:1.4'
<dependency org="com.eoniantech.build" name="jar-parent-pom" rev="1.4">
  <artifact name="jar-parent-pom" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.eoniantech.build', module='jar-parent-pom', version='1.4')
)
libraryDependencies += "com.eoniantech.build" % "jar-parent-pom" % "1.4"
[com.eoniantech.build/jar-parent-pom "1.4"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

  • war-parent-pom

Eonian Parent POM

Parent POM providing child projects with pipelining capabilities.

JAR projects.

<parent>
    <groupId>com.eoniantech.build</groupId>
    <artifactId>jar-parent-pom</artifactId>
    <version>1.4</version>
</parent>

WAR projects.

<parent>
    <groupId>com.eoniantech.build</groupId>
    <artifactId>war-parent-pom</artifactId>
    <version>1.4</version>
</parent>

Discrete Pipeline Steps

The plugins that make up the pipeline steps are bound to the Maven Lifecycle. So a command like mvn install will execute them by default. But when pipelining, we want to execute a series of smaller, more granular steps, and make judgments on whether or not to proceed based on their output. A lifecycle goal like mvn install does too much. If the CI job running the command breaks there are several things that could have gone wrong. Could it not compile? Could it not run tests? Did the tests fail? Which tests failed, unit tests or integration tests? So when setting up the child project’s CI pipeline you should create discrete pipeline steps which directly call their corresponding Maven plugins. For more details on building continuous integration pipelines using Maven, see our article Maven For Pipelining.

Build

mvn -DskipTests clean verify

Unit Test

mvn jacoco:prepare-agent@preTest surefire:test jacoco:report@postTest

Integration Test (JAR projects)

mvn jacoco:prepare-agent-integration@preIT failsafe:integration-test jacoco:report-integration@postIT failsafe:verify

Integration Test (WAR projects)

mvn jacoco:prepare-agent-integration@preIT cargo:start@preIT failsafe:integration-test jacoco:dump@postIT cargo:stop@postIT jacoco:report-integration@postIT failsafe:verify

Code Analysis

mvn sonar:sonar -Dsonar.host.url=URL -Dsonar.login=TOKEN 

Publish Artifacts

mvn deploy:deploy-file -DpomFile=pom.xml -Dfile=target/ARTIFACT -Durl=REPO_URL -DrepositoryId=REPO_ID
com.eoniantech.build

Eonian Technologies

Engineering | DevOps | Cloud

Версии библиотеки

Версия
1.4
1.3
1.2
1.1
1.0