SDK for development of webOS 1.x and 2.x apps using JavaScript and HTML. or... Most commonly used to designate plugin development in Maven (Java build tool). For the Perl web toolkit, use [tag:mojolicious] Mojo is also a programming language and superset of Python. Check https://www.modular.com/mojo for more details.
Questions tagged [mojo]
244 questions
4
votes
1 answer
Trying to process 100 URL requests. Should I use perl CPAN HTTP::Async? Mojo?
I'm trying to create a program that can connect to 100 URLs at a time, and depending on the output of each connection (ie, success on an HTTP connect) then the perl script would go to function x, or what not. The best I could come up with, is this…

Lukas Nelson
- 81
- 1
- 7
4
votes
1 answer
Maven Mojo Mapping Complex Objects
I'm trying to write a maven plugin, including a mapping of a custom class in mvn configuration parameters.
Does anybody know how the equivalent class "Person" would look…

Fabian Köbel
- 457
- 1
- 7
- 21
4
votes
1 answer
Detect Maven build status (SUCCESS/ERROR) from a Maven plugin
I am wondering how would one get the status of a build (ERROR/SUCCESS) from a Maven plugin ?

Rich
- 41
- 2
4
votes
2 answers
Maven docs after codehaus terminated?
Where can I get all the org.codehaus.mojo Maven plugins docs and sources once Codehaus.org was terminated?

Ondra Žižka
- 43,948
- 41
- 217
- 277
4
votes
1 answer
How to use keytool API from org.codehaus.mojo?
I am trying to use mojo keytool API from codehaus - http://mojo.codehaus.org/keytool/keytool-api/index.html
I have set up a sample project and just trying to perform changeAlias request through API.
Here is my sample code:
KeyToolChangeAliasRequest…

Onkar
- 45
- 4
4
votes
1 answer
Cannot set parameter using annotations on a maven plugin
I'm trying to develop a maven plugin and it does not work when I use @Parameter annotation.
My dependencies:
...
org.apache.maven
maven-plugin-api
…

Bruno Krebs
- 3,059
- 1
- 24
- 36
4
votes
2 answers
Generate jaxb Xsd schema for class files from a jar
I would like to generate jaxb xsd schema from class files in jar. Currently, I am using jaxb2-maven-plugin to generate schema using java files.
org.codehaus.mojo
…

White Roses
- 309
- 1
- 6
- 16
4
votes
2 answers
Perl Mojolicious & Socket.IO doesn't play well
I was trying to experiment with Socket.IO and Perl's Mojolicious. while I was able to perform the same with WebSockets I tried to do the same with Socket.IO (due to wider browser support that I need) it didn't play well.
I'm using the Morbo server.…

snoofkin
- 8,725
- 14
- 49
- 86
4
votes
1 answer
Parallel requests in Mojolicious application
I have perl application which, for example, parallel searching in google:
use Mojo::UserAgent;
use Mojo::IOLoop;
my $ua = Mojo::UserAgent->new();
my $delay = Mojo::IOLoop->delay(sub { say 'DONE1 (should be before render)'; });
foreach my $i ( 1…

Tema
- 55
- 1
- 3
4
votes
1 answer
Can't post json in a Mojo::UserAgent request
I can't get the following Mojo::UserAgent call to post JSON to the server:
use Mojo::UserAgent;
my $ua=Mojo::UserAgent->new;
my $json = $ua->post("localhost:6767" => {} => json =>{ val=>10 })->res->json;
Using a fake debug server on the other side…

ojosilva
- 1,984
- 2
- 15
- 21
4
votes
2 answers
Is it possible to use Mojolicious tag helpers in external JS files?
I am currently working on cleaning up a little web app I've written in Mojolicious. As part of that cleanup I am separating out my javascript into the public directory from my html.ep files.
The problem I have though is I don't seem to be able to…

user1768233
- 1,409
- 3
- 20
- 28
4
votes
1 answer
Mojo development - Handling unresolved dependencies in multi module projects
I have a mojo annotated with @requiresDependencyResolution test.
It works for multi-module projects with a single layer of nesting, but a user has reported an issue with a structure such as below.
-- my_project
|
-- pom.xml
--…

henry
- 5,923
- 29
- 46
4
votes
2 answers
How to configure Selenium HTML Reports in Jenkins
We have a Java MOJO configured in Jenkins. Once the code is build in CI, surefire reports would be generated. We have Junit and Selenium test cases to test the application.
I need to present the results coming from the test cases in a HTML format.…
user1741005
4
votes
1 answer
Dynamically adding mojo-generated code to source path
I have authored a mojo that generates code and sticks it under {root}/target/generated-sources/foo. When I execute:
mvn clean install
I get errors indicating that the generated sources are not being included in the build path (the generated files…

Kent Boogaart
- 175,602
- 35
- 392
- 393
3
votes
0 answers
How to extract the international dial code together with the input?
I wanted to optimize the registration process and I have added the international dial input.
I want to extract the input together with the dial code value.(I was thinking to do a concatenation between the element value and input, but I don't know…

Marinescu
- 429
- 3
- 18