diff --git a/.circleci/config.yml b/.circleci/config.yml index 41d1b63..0c72330 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,15 @@ jobs: key: typescript-mapper-{{ checksum "pom.xml" }} # gets the project dependencies - - run: mvn dependency:go-offline + # + # Add the verify goal (from see https://issues.apache.org/jira/browse/MDEP-516): + # + # "It can be solved by using mvn package dependency:go-offline which creates a reactor and will works as expected. + # But you can also use mvn compile dependency:go-offline but with the drawback that you can't do a mvn -o package + # cause all things which are done after the life cycle phase compile will not being downloaded.." + # For example if you do mvn package dependency:go-offline and afterwards you do mvn -o deploy your build will fail + # cause maven-install-plugin can't be found, cause it has not been solved...." + - run: mvn verify dependency:go-offline # saves the project dependencies - save_cache: @@ -30,18 +38,21 @@ jobs: - deploy: name: "Create GitHub release" command: | - hub release create -a target/typescript-mapper-$CIRCLE_TAG-javadoc.jar -F CHANGELOG_LATEST.md $CIRCLE_TAG + hub release create -a typescript-mapper-core/target/typescript-mapper-core-$CIRCLE_TAG-javadoc.jar -a typescript-mapper-maven-plugin/target/typescript-mapper-maven-plugin-$CIRCLE_TAG-javadoc.jar -F CHANGELOG_LATEST.md $CIRCLE_TAG # Upload test coverage - run: bash <(curl -s https://codecov.io/bash) # uploads the test metadata from the `target/surefire-reports` directory so that it can show up in the CircleCI dashboard. - store_test_results: - path: target/surefire-reports + path: typescript-mapper-core/target/surefire-reports # store the jar as an artifact - store_artifacts: - path: target/typescript-mapper-{{ .Environment.CIRCLE_TAG }}.jar + path: typescript-mapper-core/target/typescript-mapper-core-{{ .Environment.CIRCLE_TAG }}.jar + + - store_artifacts: + path: typescript-mapper-maven-plugin/target/typescript-mapper-maven-plugin-{{ .Environment.CIRCLE_TAG }}.jar workflows: version: 2 diff --git a/pom.xml b/pom.xml index e3839b4..82a913a 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.github.daniloarcidiacono.typescriptmapper typescript-mapper - 0.0.1-SNAPSHOT + 0.1.0 pom TypeScript mapper from Java classes TypeScript mapper from Java classes diff --git a/typescript-mapper-core/pom.xml b/typescript-mapper-core/pom.xml index ac085fd..f1eccaf 100644 --- a/typescript-mapper-core/pom.xml +++ b/typescript-mapper-core/pom.xml @@ -7,7 +7,7 @@ typescript-mapper io.github.daniloarcidiacono.typescriptmapper - 0.0.1-SNAPSHOT + 0.1.0 typescript-mapper-core diff --git a/typescript-mapper-maven-plugin/pom.xml b/typescript-mapper-maven-plugin/pom.xml index ed0dd83..9a166f5 100644 --- a/typescript-mapper-maven-plugin/pom.xml +++ b/typescript-mapper-maven-plugin/pom.xml @@ -7,7 +7,7 @@ typescript-mapper io.github.daniloarcidiacono.typescriptmapper - 0.0.1-SNAPSHOT + 0.1.0 typescript-mapper-maven-plugin @@ -49,6 +49,19 @@ + + docs + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + + + ossrh