-
Notifications
You must be signed in to change notification settings - Fork 33
add push-to-atr profile #584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -137,6 +137,7 @@ under the License. | |
| <version.maven-source-plugin>3.4.0</version.maven-source-plugin> | ||
| <!-- for surefire, failsafe and surefire-report --> | ||
| <version.maven-surefire>3.5.6</version.maven-surefire> | ||
| <version.tooling.atr>1.0.0-alpha-1</version.tooling.atr> | ||
| <surefire.version>${version.maven-surefire}</surefire.version> | ||
| <version.maven-war-plugin>3.5.1</version.maven-war-plugin> | ||
| </properties> | ||
|
|
@@ -355,6 +356,11 @@ under the License. | |
| </dependency> | ||
| </dependencies> | ||
| </plugin> | ||
| <plugin> | ||
| <groupId>org.apache.tooling</groupId> | ||
| <artifactId>atr-maven-plugin</artifactId> | ||
| <version>${version.tooling.atr}</version> | ||
| </plugin> | ||
| </plugins> | ||
| </pluginManagement> | ||
| <plugins> | ||
|
|
@@ -526,6 +532,38 @@ under the License. | |
| </build> | ||
| </profile> | ||
| <!-- END SNIPPET: release-profile --> | ||
| <profile> | ||
| <id>push-to-atr</id> | ||
| <build> | ||
| <plugins> | ||
| <plugin> | ||
| <groupId>org.apache.tooling</groupId> | ||
| <artifactId>atr-maven-plugin</artifactId> | ||
| <executions> | ||
| <execution> | ||
| <id>atr-check-composing</id> | ||
| <goals> | ||
| <goal>check-composing</goal> | ||
| </goals> | ||
| </execution> | ||
| <execution> | ||
| <id>upload-to-atr</id> | ||
| <goals> | ||
| <goal>upload</goal> | ||
| </goals> | ||
| <configuration> | ||
| <files> | ||
| <file>${project.build.directory}/${project.artifactId}-${project.version}-source-release.zip</file> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I realize this is already merged and I'm late to review, but hard-coding the paths to upload in the plugin config seems like a problem if the hard-coded path is a zip file. zip files don't preserve POSIX execute bits on scripts and other contents, so many projects create a source-release tarball instead, which is configurable in the maven-release-plugin configuration in this parent POM. Any ATR plugin profile should also be similarly capable of being able to handle that. |
||
| <file>${project.build.directory}/${project.artifactId}-${project.version}-source-release.zip.sha512</file> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this supposed to be the sha512 generated by the net.nicoulaj.maven.plugins:checksum-maven-plugin ? That plugin generates checksums for all artifacts with the classifier |
||
| <file>${project.build.directory}/${project.artifactId}-${project.version}-source-release.zip.asc</file> | ||
| </files> | ||
| </configuration> | ||
| </execution> | ||
| </executions> | ||
| </plugin> | ||
| </plugins> | ||
| </build> | ||
| </profile> | ||
| <profile> | ||
| <id>jdk8</id> | ||
| <activation> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
by default we only help to upload files other steps need to done in ATR before release start
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as previous: don't get what action you expect from that comment