|
38 | 38 | expect(clean_output(app.output)).to include(<<~OUTPUT) |
39 | 39 | remote: -----> Installing Maven #{UNKNOWN_MAVEN_VERSION}... |
40 | 40 | remote: |
41 | | - remote: ! ERROR: You have defined an unsupported Maven version in the system.properties file. |
| 41 | + remote: ! Error: The requested Maven version isn't available. |
42 | 42 | remote: ! |
43 | | - remote: ! The default supported version is #{DEFAULT_MAVEN_VERSION} |
| 43 | + remote: ! Your app's system.properties file specifies a Maven version |
| 44 | + remote: ! of #{UNKNOWN_MAVEN_VERSION}, however, we couldn't find that version in the |
| 45 | + remote: ! Maven repository. |
| 46 | + remote: ! |
| 47 | + remote: ! Check that this Maven version has been released upstream: |
| 48 | + remote: ! https://maven.apache.org/docs/history.html |
| 49 | + remote: ! |
| 50 | + remote: ! If it has, make sure that you are using the latest version |
| 51 | + remote: ! of this buildpack, and haven't pinned to an older release: |
| 52 | + remote: ! https://devcenter.heroku.com/articles/managing-buildpacks#view-your-buildpacks |
| 53 | + remote: ! https://devcenter.heroku.com/articles/managing-buildpacks#classic-buildpacks-references |
| 54 | + remote: ! |
| 55 | + remote: ! We also strongly recommend using the Maven Wrapper instead of |
| 56 | + remote: ! pinning to an exact Maven version such as #{UNKNOWN_MAVEN_VERSION}. |
| 57 | + remote: ! Remove the maven.version property from your system.properties file |
| 58 | + remote: ! and set up Maven Wrapper in your project, which will automatically |
| 59 | + remote: ! download and use the correct Maven version. |
| 60 | + remote: ! |
| 61 | + remote: ! Learn more about Maven Wrapper: |
| 62 | + remote: ! https://maven.apache.org/wrapper/ |
| 63 | + remote: ! |
| 64 | + remote: ! The default supported version is #{DEFAULT_MAVEN_VERSION}. |
44 | 65 | remote: |
45 | 66 | remote: ! Push rejected, failed to compile Java app. |
46 | 67 | OUTPUT |
|
73 | 94 | expect(clean_output(app.output)).to include(<<~OUTPUT) |
74 | 95 | remote: -----> Installing Maven #{UNKNOWN_MAVEN_VERSION}... |
75 | 96 | remote: |
76 | | - remote: ! ERROR: You have defined an unsupported Maven version in the system.properties file. |
| 97 | + remote: ! Error: The requested Maven version isn't available. |
| 98 | + remote: ! |
| 99 | + remote: ! Your app's system.properties file specifies a Maven version |
| 100 | + remote: ! of #{UNKNOWN_MAVEN_VERSION}, however, we couldn't find that version in the |
| 101 | + remote: ! Maven repository. |
| 102 | + remote: ! |
| 103 | + remote: ! Check that this Maven version has been released upstream: |
| 104 | + remote: ! https://maven.apache.org/docs/history.html |
| 105 | + remote: ! |
| 106 | + remote: ! If it has, make sure that you are using the latest version |
| 107 | + remote: ! of this buildpack, and haven't pinned to an older release: |
| 108 | + remote: ! https://devcenter.heroku.com/articles/managing-buildpacks#view-your-buildpacks |
| 109 | + remote: ! https://devcenter.heroku.com/articles/managing-buildpacks#classic-buildpacks-references |
| 110 | + remote: ! |
| 111 | + remote: ! We also strongly recommend using the Maven Wrapper instead of |
| 112 | + remote: ! pinning to an exact Maven version such as #{UNKNOWN_MAVEN_VERSION}. |
| 113 | + remote: ! Remove the maven.version property from your system.properties file |
| 114 | + remote: ! and set up Maven Wrapper in your project, which will automatically |
| 115 | + remote: ! download and use the correct Maven version. |
| 116 | + remote: ! |
| 117 | + remote: ! Learn more about Maven Wrapper: |
| 118 | + remote: ! https://maven.apache.org/wrapper/ |
77 | 119 | remote: ! |
78 | | - remote: ! The default supported version is #{DEFAULT_MAVEN_VERSION} |
| 120 | + remote: ! The default supported version is #{DEFAULT_MAVEN_VERSION}. |
79 | 121 | remote: |
80 | 122 | remote: ! Push rejected, failed to compile Java app. |
81 | 123 | OUTPUT |
|
0 commit comments