Hi to all, there is a way to call an Appian process directly from a robot written in java?
Thank you!
Discussion posts and replies are publicly visible
Not works...
C:\Users\myUser\Desktop\RPA\TAD ROBOTS\RobotBrowserClass - Package - 2020-09-09_0804\RobotBrowserClass>mvn clean install [INFO] Scanning for projects... Downloading from jidoka: https://company.appiancloud.com/rpa-repo/repository/jidoka/com/novayre/jidoka/robot/jidoka-robot-parent/7.1.0/jidoka-robot-parent-7.1.0.pom Downloading from central: https://repo.maven.apache.org/maven2/com/novayre/jidoka/robot/jidoka-robot-parent/7.1.0/jidoka-robot-parent-7.1.0.pom [ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM for com.novayre.jidoka.robot.test:RobotBrowserClass:0.0.1: Could not find artifact com.novayre.jidoka.robot:jidoka-robot-parent:pom:7.1.0 in jidoka (https://company.appiancloud.com/rpa-repo/repository/jidoka/) and 'parent.relati vePath' points at wrong local POM @ line 12, column 10 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.novayre.jidoka.robot.test:RobotBrowserClass:0.0.1 (C:\Users\myUser\Desktop\RPA\TAD ROBOTS\RobotBrowserClass - Package - 2020-09-09_0804\RobotBrowserClass\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for com.novayre.jidoka.robot.test:RobotBrowserClass:0.0.1: Could not find artifact com.novayre.jidoka.robot:jidoka-robot-parent:pom:7.1.0 in jidoka (https://company.appiancloud.com/rpa-repo/repository/jidoka/) and 'parent.re lativePath' points at wrong local POM @ line 12, column 10 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
At the line 12 of pom there is a parent element with version.
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.novayre.jidoka.robot.test</groupId> <artifactId>RobotBrowserClass</artifactId> <packaging>jar</packaging> <version>0.0.1</version> <name>browser</name> <parent> <groupId>com.novayre.jidoka.robot</groupId> <artifactId>jidoka-robot-parent</artifactId> <version>7.1.0</version> <!-- VC --> </parent> <profiles> <profile> <id>jidoka-repo</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>jidoka</id> <url>https://company.appiancloud.com/rpa-repo/repository/jidoka/</url> <releases> </releases> <snapshots> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>jidoka</id> <url>https://company.appiancloud.com/rpa-repo/repository/jidoka/</url> <releases> </releases> <snapshots> </snapshots> </pluginRepository> </pluginRepositories> <distributionManagement> <repository> <id>jidoka</id> <url>https://company.appiancloud.com/rpa-repo/repository/jidoka/</url> <layout>default</layout> </repository> </distributionManagement> </profile> </profiles> <dependencies> <dependency> <groupId>com.novayre.jidoka.module</groupId> <artifactId>jidoka-browser-api</artifactId> <version>${jidoka.version}</version> </dependency> </dependencies> </project>
The problem is that maven try to download jidoka-robot-parent from:
Downloading from central: https://repo.maven.apache.org/maven2/com/novayre/jidoka/robot/jidoka-robot-parent/7.1.0/jidoka-robot-parent-7.1.0.pom
but in that address repo.maven.apache.org/.../ there isn't novayre folder:
The jidoka-robot-parent-7.1.0.pom artifact must be downloaded from your Appian RPA repository, in your example https://company.appiancloud.com/rpa-repo/repository/jidoka/ .
If maven try to look for the artifact in https://repo.maven.apache.org/ is due to it was not found in the previous repository.
Do you have access to your Appian RPA repository using the Web Browser?
Yes, I have access to repository but the version 7.1.0 there isn't.
If there is not what should I do?
Thank you
Please change in your pom.xml
<parent> <groupId>com.novayre.jidoka.robot</groupId> <artifactId>jidoka-robot-parent</artifactId> <version>7.0.0</version> <!-- VC --> </parent>
I think it is going to work...Please talk to your administrator to upload the version 7.1.0 to your repository....
Currently I have solved in this way, but I don't understand how to update Nexus repository, if I click on the upgrade link it takes me back to the sonatype page from which I can download a zip file. How can I update the repository if it is on the Appian cloud?