File tree Expand file tree Collapse file tree 3 files changed +31
-3
lines changed
src/main/java/pro/akvel/spring/converter/xml Expand file tree Collapse file tree 3 files changed +31
-3
lines changed Original file line number Diff line number Diff line change 1+ ![ GitHub release (latest by date including pre-releases)] ( https://img.shields.io/github/v/release/akvel/spring-xml-to-java-converter?include_prereleases )
12[ ![ Build Status] ( https://travis-ci.com/Akvel/spring-xml-to-java-converter.svg?branch=master )] ( https://travis-ci.com/Akvel/spring-xml-to-java-converter )
23[ ![ Quality Gate Status] ( https://sonarcloud.io/api/project_badges/measure?project=Akvel_spring-xml-to-java-converter&metric=alert_status )] ( https://sonarcloud.io/dashboard?id=Akvel_spring-xml-to-java-converter )
4+ ![ GitHub all releases] ( https://img.shields.io/github/downloads/akvel/spring-xml-to-java-converter/total )
5+ ![ GitHub] ( https://img.shields.io/github/license/akvel/spring-xml-to-java-converter )
36
47# spring-xml-to-java-converter
58Tool for convert Spring xml configurations to Spring java based configurations.
69
710Currently tested only on * java 11*
811
9- Convertor does not has real bean classes, so it has some limitation:
12+ Converter does not has real bean classes, so it has some limitation:
1013* Not convert bean configs with named construct-Args (because converter doesn't know constructor params order)
1114* If constructor-arg does not has type attribute - value will be String type by default. Supported only String, Integer and Long
1215* Property tag only support: ref and value
Original file line number Diff line number Diff line change @@ -8,8 +8,14 @@ plugins {
88 id ' net.researchgate.release' version ' 2.8.1'
99 id ' io.spring.dependency-management' version ' 1.0.10.RELEASE'
1010 id " org.sonarqube" version " 3.3"
11+ id " maven-publish"
1112}
1213
14+ group = ' pro.akvel.spring.converter'
15+ version = ' 1.0.0'
16+ sourceCompatibility = 11
17+ targetCompatibility = 11
18+
1319
1420jacoco {
1521 toolVersion = " 0.8.5"
@@ -132,4 +138,23 @@ sonarqube {
132138 }
133139}
134140
135- jar. dependsOn test
141+ jar. dependsOn test
142+
143+
144+ publishing {
145+ repositories {
146+ maven {
147+ name = " GitHubPackages"
148+ url = uri(" https://maven.pkg.github.com/Akvel/spring-xml-to-java-converter" )
149+ credentials {
150+ username = System . getenv(" USERNAME" )
151+ password = System . getenv(" TOKEN" )
152+ }
153+ }
154+ }
155+ publications {
156+ gpr(MavenPublication ) {
157+ from(components. java)
158+ }
159+ }
160+ }
Original file line number Diff line number Diff line change 2222import static java .util .Objects .requireNonNull ;
2323
2424/**
25- * Convertor from {@link BeanDefinition} to {@link ConfigurationData}
25+ * Converter from {@link BeanDefinition} to {@link ConfigurationData}
2626 *
2727 * @author akvel
2828 * @since 22.10.2020
You can’t perform that action at this time.
0 commit comments