sebawagner commented on PR #175:
URL: https://github.com/apache/openmeetings/pull/175#issuecomment-1109440818
Trying ...
mvn exec:java -Dexec.args="~/.token ${OM_SOURCES}/"
But your project fails to run any command:
```
[ERROR] Failed to execute goal on project om-poeditor: Could not resolve
dependencies for project org.apache.solomax:om-poeditor:jar:1.0-SNAPSHOT: Could
not find artifact org.apache.openmeetings:openmeetings-db:jar:6.0.0 in central
(https://repo.maven.apache.org/maven2) -> [Help 1]
```
I changed it then to 7.0.0-SNAPSHOT, which I have in my local ~/.m2 repo
since I build this version locally before on the same machine.
But then the new error is:
```
INFO 04-26 19:11:38.498 o.a.solomax.App:221 [omax.App.main()] - Specific
language can be specified after 'put', for ex. 'ar'
[WARNING]
java.nio.file.NoSuchFileException: ~/.token
```
But there is a token:
```
sebastianwagner@Sebastians-MacBook-Pro om-poeditor % ls -alh ~/.token
-rw-r--r-- 1 sebastianwagner staff 33B 26 Apr 19:04
/Users/sebastianwagner/.token
```
So I changed the command to:
```
mvn exec:java -Dexec.args="/Users/sebastianwagner/.token ${OM_SOURCES}/"
```
Then the command works but the POEditor response is then the error is:
```
INFO 04-26 19:19:50.885 o.a.c.s.W.RESP_IN:84 [omax.App.main()] - RESP_IN
Address: https://api.poeditor.com/v2/projects/export
Content-Type: application/json; charset=utf-8
ResponseCode: 200
ExchangeId: 70e3fef4-1b6b-4607-ba5b-a2387b223e86
Headers: {Strict-Transport-Security=max-age=31536000; includeSubDomains;
preload, Server=Apache/2.4.29 (Ubuntu), content-type=application/json;
charset=utf-8, Content-Length=105, Date=Tue, 26 Apr 2022 07:19:50 GMT}
Payload: {"response":{"status":"fail","code":"403","message":"You don't
have permission to access this resource"}}
ERROR 04-26 19:19:50.898 o.a.solomax.App:93 [omax.App.main()] - call to
projects/export was unsuccessful
{"response":{"status":"fail","code":"403","message":"You don't have permission
to access this resource"}}
```
Which makes sense cause my API Token is just contributor. I can't export the
files via the API
Can you add me as an admin in POEditor:
https://poeditor.com/kb/how-to-add-an-administrator ?
Also we could just setup a Jenkins job to run the job and then create a zip
file to download. However the dependency on openmeetings-db-x-x-x.jar will
likely fail on Jenkins.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]