steveblackmon commented on code in PR #9:
URL: https://github.com/apache/streams-activitypub/pull/9#discussion_r1497978417


##########
streams-activitypub-api/pom.xml:
##########
@@ -63,6 +63,27 @@
             </testResource>
         </testResources>
         <plugins>
+            <!-- tried to acquire the nodeinfo schema this way,
+                 but the schema at the below url is invalid -->
+            <plugin>
+                <groupId>com.googlecode.maven-download-plugin</groupId>
+                <artifactId>download-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>download-schemas</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>wget</goal>
+                        </goals>
+                        <configuration>
+                            
<url>https://raw.githubusercontent.com/jaywink/nodeinfo2/master/schemas/1.0/schema.json</url>
+                            <unpack>false</unpack>
+                            
<outputDirectory>${project.build.directory}/download/jsonschema</outputDirectory>
+                            <outputFileName>nodeinfo2.json</outputFileName>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
             <plugin>

Review Comment:
   left this in here in case we want it later but the actual schema is in:
   
streams-activitypub-api/src/main/jsonschema/org/apache/streams/activitypub/api/pojo/NodeinfoQueryResponse.json



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@streams.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to