You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Xamarin.Android.Build.Tasks/Properties/Resources.resx
+50Lines changed: 50 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1008,4 +1008,54 @@ To use a custom JDK path for a command line build, set the 'JavaSdkDirectory' MS
1008
1008
<value>The Android Support libraries are not supported in .NET 9 and later, please migrate to AndroidX. See https://aka.ms/xamarin/androidx for more details.</value>
1009
1009
<comment>The following are literal names and should not be translated: Android Support, AndroidX, .NET.</comment>
1010
1010
</data>
1011
+
<dataname="XA4240"xml:space="preserve">
1012
+
<value>Could not verify Java dependencies for artifact '{0}' due to missing POM file(s). See other error(s) for details.</value>
1013
+
<comment>The following are literal names and should not be translated: Java, POM.
1014
+
{0} - Maven artifact id</comment>
1015
+
</data>
1016
+
<dataname="XA4241"xml:space="preserve">
1017
+
<value>Java dependency '{0}' is not satisfied.</value>
1018
+
<comment>The following are literal names and should not be translated: Java.
1019
+
{0} - Maven dependency id</comment>
1020
+
</data>
1021
+
<dataname="XA4242"xml:space="preserve">
1022
+
<value>Java dependency '{0}' is not satisfied. Microsoft maintains the NuGet package '{1}' that could fulfill this dependency.</value>
1023
+
<comment>The following are literal names and should not be translated: Java, Microsoft, NuGet.
1024
+
{0} - Maven dependency id
1025
+
{1} - NuGet package id</comment>
1026
+
</data>
1027
+
<dataname="XA4243"xml:space="preserve">
1028
+
<value>Attribute '{0}' is required when using '{1}' for '{2}' item '{3}'.</value>
1029
+
<comment>{0}, {1} - MSBuild XML attribute
1030
+
{2} - MSBuild XML element name
1031
+
{3} - MSBuild ItemSpec value</comment>
1032
+
</data>
1033
+
<dataname="XA4244"xml:space="preserve">
1034
+
<value>Attribute '{0}' cannot be empty for '{1}' item '{2}'.</value>
1035
+
<comment>{0} - MSBuild XML attribute
1036
+
{1} - MSBuild XML element name
1037
+
{2} - MSBuild ItemSpec value</comment>
1038
+
</data>
1039
+
<dataname="XA4245"xml:space="preserve">
1040
+
<value>Specified POM file '{0}' does not exist.</value>
1041
+
<comment>The following are literal names and should not be translated: POM.
1042
+
{0} - File path to POM file</comment>
1043
+
</data>
1044
+
<dataname="XA4246"xml:space="preserve">
1045
+
<value>Could not parse POM file '{0}': '{1}'.</value>
1046
+
<comment>The following are literal names and should not be translated: POM.
1047
+
{0} - File path to POM file
1048
+
{1} - Exception message</comment>
1049
+
</data>
1050
+
<dataname="XA4247"xml:space="preserve">
1051
+
<value>Could not resolve POM file for artifact '{0}'.</value>
1052
+
<comment>The following are literal names and should not be translated: POM.
1053
+
{0} - Java artifact id</comment>
1054
+
</data>
1055
+
<dataname="XA4248"xml:space="preserve">
1056
+
<value>Could not find NuGet package '{0}' version '{1}' in lock file. Ensure NuGet Restore has run since this <PackageReference> was added.</value>
1057
+
<comment>The following are literal names and should not be translated: NuGet, PackageReference.
log.LogWarning("Could not determine required version of Java dependency '{0}:{1}'. Validation of this dependency will not take version into account.",dependency.GroupId,dependency.ArtifactId);
132
+
log.LogMessage("Could not determine required version of Java dependency '{0}:{1}'. Validation of this dependency will not take version into account.",dependency.GroupId,dependency.ArtifactId);
// Message if we couldn't determine the required version
146
-
if(!dependency.Version.HasValue()){
147
-
if(suggestionisstringnuget)
148
-
log.LogError("Java dependency '{0}:{1}' is not satisfied. Microsoft maintains the NuGet package '{2}' that could fulfill this dependency.",dependency.GroupId,dependency.ArtifactId,nuget);
149
-
else
150
-
log.LogError("Java dependency '{0}:{1}' is not satisfied.",dependency.GroupId,dependency.ArtifactId);
151
-
152
-
returnfalse;
153
-
}
154
-
155
-
// Message if we could determine the required version
156
-
if(suggestionisstringnuget2)
157
-
log.LogError("Java dependency '{0}:{1}' version '{2}' is not satisfied. Microsoft maintains the NuGet package '{3}' that could fulfill this dependency.",dependency.GroupId,dependency.ArtifactId,dependency.Version,nuget2);
log.LogError("Could not find NuGet package '{0}' version '{1}' in lock file. Ensure NuGet Restore has run since this <PackageReference> was added.",library,version);
0 commit comments