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
Context: dotnet/android#8649
Add a new `Java.Interop.Tools.Maven.dll` assembly that contains
functionality for:
- Retrieving artifacts from Maven
- Parsing and understanding POM files
This assembly is used by dotnet/android#8649 and replaces
our previous usage of [`MavenNet.dll`][0].
`Java.Interop.Tools.Maven.dll` contains a binding of
[`maven-4.0.0.xsd`][1], generated via [dotnet-xscgen][2].
To update the binding:
# Install the binding utility
% dotnet tool install -g dotnet-xscgen
# Grab the version of `maven*.xsd` you want to bind/update to
% curl -o maven-4.0.0.xsd https://maven.apache.org/xsd/maven-4.0.0.xsd
# `dotnet tool install` installs into e.g. `$HOME/.dotnet/tools`, which might not be in `$PATH`…
# Run the `UpdateProjectSchema` target
% PATH=$HOME/.dotnet/tools:$PATH dotnet build -t:UpdateProjectSchema \
src/Java.Interop.Tools.Maven/Java.Interop.Tools.Maven.csproj \
-p:MavenXsd=`pwd`/maven-4.0.0.xsd
[0]: https://www.nuget.org/packages/MavenNet
[1]: https://maven.apache.org/xsd/maven-4.0.0.xsd
[2]: https://www.nuget.org/packages/dotnet-xscgen
0 commit comments