1
0
-1

Hi all. I am staring with create new plugin via command line but exiting error.

My command here " sudo ./create-plugin.sh org.joget.plugin.user user-plugin 7.0-SNAPSHOT "

with error

[INFO] Scanning for projects...

[INFO] ------------------< org.joget:wflow-plugin-archetype >------------------

[INFO] Building wflow-plugin-archetype 7.0-SNAPSHOT

[INFO] --------------------------------[ jar ]---------------------------------

[INFO] >>> maven-archetype-plugin:3.2.1:generate (default-cli) > generate-sources @ wflow-plugin-archetype >>>

[INFO] <<< maven-archetype-plugin:3.2.1:generate (default-cli) < generate-sources @ wflow-plugin-archetype <<<

[INFO] --- maven-archetype-plugin:3.2.1:generate (default-cli) @ wflow-plugin-archetype ---

[INFO] Generating project in Interactive mode

[WARNING] Archetype not found in any catalog. Falling back to central repository.
[WARNING] Add a repository with id 'archetype' in your settings.xml if archetype's repository is elsewhere.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  11:52 min
[INFO] Finished at: 2023-02-09T15:07:02+07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate (default-cli) on project wflow-plugin-archetype: The desired archetype does not exist (org.joget:wflow-plugin-archetype:7.0-SNAPSHOT) -> [Help 1]
[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/MojoFailureException

I see some thing

- Wait quite long

- Error not exit version

Please share your ideas and some solution for help.

Thanks.

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      HI Anders Thanks for your help me create new plugin but

      While I run Docker command to create new plugin and open Project in IDE.  Exiting  not found with


      <dependency>
      <groupId>org.joget</groupId>
      <artifactId>wflow-core</artifactId>
      <version>7.0-SNAPSHOT</version>
      <exclusions>
      <exclusion>
      <groupId>javax.servlet</groupId>
      <artifactId>javax.servlet-api</artifactId>
      </exclusion>
      </exclusions>
      <scope>provided</scope>
      </dependency>

      How can I to do next. Thanks and regards

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi, did you set up your development environment first? You will need to build the project first following instructions from Joget Open Source. Alternatively you could try Build Plugin Source Code using Docker.


          CommentAdd your comment...