Skip to content

Commit

Permalink
Include package version in code file for Java API review (#7333)
Browse files Browse the repository at this point in the history
Co-authored-by: praveenkuttappan <[email protected]>
  • Loading branch information
praveenkuttappan and praveenkuttappan authored Nov 22, 2023
1 parent ecd3e5a commit 5c00475
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/dotnet/APIView/APIViewWeb/APIViewWeb.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<AssemblyName>APIViewWeb</AssemblyName>
<UserSecretsId>79cceff6-d533-4370-a0ee-f3321a343907</UserSecretsId>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<JavaProcessor>..\..\..\java\apiview-java-processor\target\apiview-java-processor-1.30.0.jar</JavaProcessor>
<JavaProcessor>..\..\..\java\apiview-java-processor\target\apiview-java-processor-1.31.0.jar</JavaProcessor>
<PythonProcessor>..\..\..\..\packages\python-packages\apiview-stub-generator\dist\api_stub_generator-0.1.0-py3-none-any.whl</PythonProcessor>
<GoProcessor>..\..\..\go\apiviewgo.exe</GoProcessor>
<JavaScriptProcessor>..\..\..\..\tools\apiview\parsers\js-api-parser\</JavaScriptProcessor>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class JavaLanguageService : LanguageProcessor
public override string Name { get; } = "Java";
public override string[] Extensions { get; } = { ".jar" };
public override string ProcessName { get; } = "java";
public override string VersionString { get; } = "apiview-java-processor-1.30.0.jar";
public override string VersionString { get; } = "apiview-java-processor-1.31.0.jar";

public override string GetProcessorArguments(string originalName, string tempDirectory, string jsonPath)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class XmlLanguageService : LanguageProcessor
public override string Name { get; } = "Xml";
public override string[] Extensions { get; } = { ".xml" };
public override string ProcessName { get; } = "java";
public override string VersionString { get; } = "apiview-java-processor-1.30.0.jar";
public override string VersionString { get; } = "apiview-java-processor-1.31.0.jar";

public override string GetProcessorArguments(string originalName, string tempDirectory, string jsonPath)
{
Expand Down
2 changes: 1 addition & 1 deletion src/java/apiview-java-processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.azure</groupId>
<artifactId>apiview-java-processor</artifactId>
<version>1.30.0</version>
<version>1.31.0</version>

<properties>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class APIListing {
@JsonProperty("PackageName")
private String packageName;

@JsonIgnore//("PackageVersion")
@JsonProperty("PackageVersion")
private String packageVersion;

// This string is taken from here:
Expand Down

0 comments on commit 5c00475

Please sign in to comment.