Questions tagged [mojo]

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.

244 questions
0
votes
1 answer

Can't call method "text" on an undefined value at sample.pl line 11

use strict; # safety net use warnings; # safety net use feature 'say'; # a better "print" use Mojo; my $dom = Mojo::DOM->new; my $ua = Mojo::UserAgent->new; $dom= $ua->get('http://search.cpan.org/faq.html')->res->dom; my…
Chella
  • 43
  • 6
0
votes
0 answers

Auto-create XSD for Maven plugin mojo

I am creating a new Maven plugin, following the instructions here. I can create a new parameter, as per the documentation, like this: @Parameter( property = "sayhi.greeting", defaultValue = "Hello World!" ) private String greeting; Now I want to…
tom
  • 1,331
  • 1
  • 15
  • 28
0
votes
0 answers

Use sql-maven-plugin inside my own plugin implementation

I'm developing in Java a maven plugin which needs to run different SQL scripts, among other things. I don't know how to run existing SQL Scripts from Java so I started to wonder if I can use the sql-maven-plugin inside my own plugin implementation…
Nana89
  • 432
  • 4
  • 21
0
votes
1 answer

Custom mojos with maven modules

I have a simple Maven multi-module project Parent project ---Child project 1 ---Child project 2 (depends on child project 1) In the first project, I have a custom MOJO defined that I can call like…
0
votes
1 answer

Does Mojo Helpdesk keep support for legacy API?

Before starting the maintenance of a project, I'm concerned about the timespan where the mother company (http://www.mojohelpdesk.com) offers support to its legacy version of their time tracking product. My client is using legacy API v1 and legacy UI…
PPC
  • 1,734
  • 1
  • 21
  • 41
0
votes
1 answer

Maven keytool-plugin (mojo) exception during clean install

org.codehaus.mojo keytool-maven-plugin 1.6-SNAPSHOT>/version> generateKeyPair
0
votes
0 answers

how to create a new lifecycle for develop maven plugin 2

i am a maven newer i use maven-mojo create a new maven-plugin project; for example: 3 java file: mojo1.java,mojo2.java,mojo3.java mojo1.java with @Mojo(name="test01") mojo2.java with @Mojo(name="test02") mojo3.java with @Mojo(name="test03") how can…
janice
  • 31
  • 7
0
votes
0 answers

Maven Mojo exection

I have maven mojo plugin to get all Absolute path for module. I have sample application with 3 modules and each module has 3 sub modules example. --Parent module-- Module 1--- --> In this pom i dont have Parent Artifacts. …
chethan
  • 25
  • 7
0
votes
2 answers

Unit Testing GMavenPlus Groovy Mojos - project.basedir not being expanded

I am currently attempting to write a Maven plugin using GMavenPlus (thank you @Keegan!) and Groovy 2.4.3. In a nutshell, the plugin parses a directory of SQL DDLs and generates output from those parsed DDLs The Mojo itself works just fine when…
medge
  • 598
  • 5
  • 16
0
votes
1 answer

Maven MOJO - use a parameter in another parameter

Is it possible to use a defined parameter in another parameter? For example I tried this and figured out this is not allowed: @Parameter(required = true) private String semester; @Parameter(defaultValue = "${basedir}/src/main/resources/" +…
Danny Lo
  • 1,553
  • 4
  • 26
  • 48
0
votes
1 answer

Maven MOJO Execution Failed while Building

I'm trying to run OpenOLAT LMS Project (an Open Source Learning Platform written in Java) from source but I got the following maven error in netbeans output and I can't build the project. Failed to execute goal…
Aboud Zakaria
  • 567
  • 9
  • 25
0
votes
1 answer

How can I have dependencies installed automatically when using Module::Build::Mojolicious?

I'm trying to package up a Mojolicious App I wrote and have been following the instructions with Mojolicious::Plugin::InstallablePaths. My Build.PL looks something like this; use Module::Build::Mojolicious clean_install => 1; my $builder =…
user1768233
  • 1,409
  • 3
  • 20
  • 28
0
votes
1 answer

Injecting maven properties into mojo with Sisu

I have two plugins that are using same duplicated methods. I want to refactor then and move that methods to a shared class and host it in a dependency jar. Those method required some maven properties as MavenProject, PluginDescriptor and some…
Cristiano
  • 1,414
  • 15
  • 22
0
votes
1 answer

how to filter inputs before sending it to a xmlhttp request?

I have following two input boxes which type is "tel". maxlength is set to 10. now, if user insert one or both number less than of length 10, then the alert should display about wrong number. if one number is of exact length of 10 digit and other is…
0
votes
1 answer

Maven Mojo & SCM Plugin: Add file to ignore list / set SVN property

I'm using maven-scm-plugin from within an own Maven Mojo via an injected ScmManager object and am trying to figure out how to add a file to the SCM ignore list. The methods that ScmManager provides don't seem to support this. An ideal solution would…
Patrick Bergner
  • 623
  • 8
  • 23