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