Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

I'm trying to generate a plugin based on http://dev.joget.org/community/display/KBv2/Developing+PluginsImage Removed

When running the command:

C:\work\jogetsource>wflow-plugin-archetype\create-plugin.bat com.company.plugin.test TestPlugin 4.0-SNAPSHOT

It outputs:

Wiki Markup\[INFO\] Scanning for projects... \
[INFO\] \
[INFO\] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1 \
[INFO\] \
[INFO\] \ -----------------------------------------------------------------------\- \
[INFO\] Building Maven Stub Project (No POM) 1 \
[INFO\] \ -----------------------------------------------------------------------\- \
[INFO\] \
[INFO\] >>> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom >>> \
[INFO\] \
[INFO\] <<< maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom <<< \
[INFO\] \
[INFO\] \- -\- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom \ --\- \
[INFO\] Generating project in Interactive mode \
[WARNING\] Archetype not found in any catalog. Falling back to central repository (http://repo1.maven.org/maven2). \
[WARNING\] Use \ -DarchetypeRepository=<your repository> if archetype's repository is elsewhere.
Downloading: http://repo1.maven.org/maven2/org/joget/wflow-plugin-archetype/4.0-SNAPSHOT/maven-metadata.xml \
[INFO\] Using property: groupId = com.company.plugin.test \
[INFO\] Using property: artifactId = TestPlugin
Define value for property 'version': &nbsp;1 1.0-SNAPSHOT: : \
[INFO\] Using property: package = com.company.plugin.test
Confirm properties configuration:
groupId: com.company.plugin.test
artifactId: TestPlugin
version: 1.0-SNAPSHOT
package: com.company.plugin.test &nbsp;Y: : \
 Y: :
[INFO\] \ ---------------------------------------------------------------------------\- \
[INFO\] Using following parameters for creating project from Old (1.x) Archetype: wflow-plugin-archetype:4.0-SNAPSHOT \
[INFO\] \ ---------------------------------------------------------------------------\- \
[INFO\] Parameter: groupId, Value: com.company.plugin.test \
[INFO\] Parameter: packageName, Value: com.company.plugin.test \
[INFO\] Parameter: package, Value: com.company.plugin.test \
[INFO\] Parameter: artifactId, Value: TestPlugin \
[INFO\] Parameter: basedir, Value: C:\work\jogetsource \
[INFO\] Parameter: version, Value: 1.0-SNAPSHOT \
[INFO\] project created from Old (1.x) Archetype in dir: C:\work\jogetsource\TestPlugin \
[INFO\] \ -----------------------------------------------------------------------\- \
[INFO\] BUILD SUCCESS \
[INFO\] \ -----------------------------------------------------------------------\- \
[INFO\] Total time: 32.104 s \
[INFO\] Finished at: 2014-04-01T10:24:13+10:00 \
[INFO\] Final Memory: 14M/489M \
[INFO\] \ -----------------------------------------------------------------------\- \
[INFO\] Scanning for projects...

Wiki Markup\[INFO\]unmigrated-wiki-markup

\[INFO\] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1unmigrated-wiki-markup

\[INFO\]unmigrated-wiki-markup

\[INFO\] \ -----------------------------------------------------------------------\-

Wiki Markup\[INFO\] Building Maven Stub Project (No POM) 1unmigrated-wiki-markup

\[INFO\] \ -----------------------------------------------------------------------\-

Wiki Markup\[INFO\]

Wiki Markup\[INFO\] >>> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom >>>

Wiki Markup\[INFO\]

Wiki Markup\[INFO\] <<< maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom <<<unmigrated-wiki-markup

\[INFO\]

Wiki Markup\[INFO\] \ --\- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom \- -\-

Wiki Markup\[INFO\] Generating project in Interactive modeunmigrated-wiki-markup

\[WARNING\] Archetype not found in any catalog. Falling back to central repository (http://repo1.maven.org/maven2).

Wiki Markup\[WARNING\] Use \ -DarchetypeRepository=<your repository> if archetype's repository is elsewhere.

Downloading: http://repo1.maven.org/maven2/org/joget/wflow-plugin-archetype/4.0-SNAPSHOT/maven-metadata.xmlImage Removed

Wiki Markup\[INFO\] Using property: groupId = com.company.plugin.testunmigrated-wiki-markup

\[INFO\] Using property: artifactId = TestPlugin

Define value for property 'version':  1.0-SNAPSHOT: :

Wiki Markup\[INFO\] Using property: package = com.company.plugin.test

Confirm properties configuration:

...

package: com.company.plugin.test

 Y: :unmigrated-wiki-markup

\[INFO\] \ ---------------------------------------------------------------------------\-

Wiki Markup\[INFO\] Using following parameters for creating project from Old (1.x) Archetype: wflow-plugin-archetype:4.0-SNAPSHOTunmigrated-wiki-markup

\[INFO\] \ ---------------------------------------------------------------------------\-

Wiki Markup\[INFO\] Parameter: groupId, Value: com.company.plugin.testunmigrated-wiki-markup

\[INFO\] Parameter: packageName, Value: com.company.plugin.test Wiki Markup

\[INFO\] Parameter: package, Value: com.company.plugin.testunmigrated-wiki-markup

\[INFO\] Parameter: artifactId, Value: TestPlugin

Wiki Markup\[INFO\] Parameter: basedir, Value: C:\work\jogetsourceunmigrated-wiki-markup

\[INFO\] Parameter: version, Value: 1.0-SNAPSHOT

Wiki Markup\[INFO\] project created from Old (1.x) Archetype in dir: C:\work\jogetsource\TestPluginunmigrated-wiki-markup

\[INFO\] \ -----------------------------------------------------------------------\-

Wiki Markup\[INFO\] BUILD SUCCESSunmigrated-wiki-markup

\[INFO\] \ -----------------------------------------------------------------------\-

Wiki Markup\[INFO\] Total time: 32.104 sunmigrated-wiki-markup

\[INFO\] Finished at: 2014-04-01T10:24:13+10:00unmigrated-wiki-markup

\[INFO\] Final Memory: 14M/489Munmigrated-wiki-markup

\[INFO\] \ -----------------------------------------------------------------------\-

But the generated C:\work\jogetsource\TestPlugin only contains C:\work\jogetsource\TestPlugin\src\main\java\com\company\plugin\test\Activator.java no other files as I'd expect including TestPlugin.

...