Skip to content

Commit

Permalink
chore: version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
daniloarcidiacono committed Jan 13, 2019
1 parent 15f8c78 commit 062b9e1
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 7 deletions.
19 changes: 15 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.github.daniloarcidiacono.typescriptmapper</groupId>
<artifactId>typescript-mapper</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.1.0</version>
<packaging>pom</packaging>
<name>TypeScript mapper from Java classes</name>
<description>TypeScript mapper from Java classes</description>
Expand Down
2 changes: 1 addition & 1 deletion typescript-mapper-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>typescript-mapper</artifactId>
<groupId>io.github.daniloarcidiacono.typescriptmapper</groupId>
<version>0.0.1-SNAPSHOT</version>
<version>0.1.0</version>
</parent>

<artifactId>typescript-mapper-core</artifactId>
Expand Down
15 changes: 14 additions & 1 deletion typescript-mapper-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>typescript-mapper</artifactId>
<groupId>io.github.daniloarcidiacono.typescriptmapper</groupId>
<version>0.0.1-SNAPSHOT</version>
<version>0.1.0</version>
</parent>

<artifactId>typescript-mapper-maven-plugin</artifactId>
Expand Down Expand Up @@ -49,6 +49,19 @@
</dependencies>

<profiles>
<profile>
<id>docs</id>
<build>
<plugins>
<!-- Export Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>ossrh</id>
<build>
Expand Down

0 comments on commit 062b9e1

Please sign in to comment.