4.0.0 mindplot jar Mindmap Draw JavaScript Library org.wisemapping wisemapping ../pom.xml 5.0.2-SNAPSHOT org.wisemapping web2d ${com.wisemapping.version} runtime jstd-maven-plugin google code repo http://jstd-maven-plugin.googlecode.com/svn/maven2 org.codehaus.gmaven gmaven-plugin 1.4 generate-resources execute def outdir = new File(project.basedir, 'src/main/javascript'); if (project.packaging != 'pom') { def dir = new File(project.basedir, 'src/main/resources/'); dir.eachFile { file -> def matcher = file.name =~ /messages_(.+)\.properties/; def lang = matcher[0][1]; def outfile = new File(outdir, "MessageBundle_${lang}.js"); println "Converting ${file.name} to ${outfile.name}"; outfile.withWriter('UTF-8') { out -> out.writeLine "mindplot.Messages.BUNDLES['${lang.toLowerCase()}'] = { "; file.eachLine('UTF-8') { line -> if (line.trim() != "" && line[0] != '#') { matcher = line =~ /(.+)=(.+)/; out.writeLine("'${matcher[0][1]}' : \"${matcher[0][2]}\","); } } out.writeLine("'DUMMY' : '' "); out.writeLine "};" } } } maven-antrun-plugin merge-js-resources generate-resources run net.alchim31.maven yuicompressor-maven-plugin generate-resources compress ${basedir}/src/main/javascript ${basedir}/target/compress/ true libraries/**/*.js ${project.build.directory}/classes/mindplot-min.js ${basedir}/target/compress header.js Events.js Options.js ${basedir}/../web2d/target/classes/web2d.svg-min.js Messages.js TopicEventDispatcher.js model/IMindmap.js model/Mindmap.js model/INodeModel.js model/NodeModel.js model/RelationshipModel.js ActionDispatcher.js StandaloneActionDispatcher.js DesignerModel.js Designer.js ScreenManager.js Workspace.js ShrinkConnector.js Keyboard.js DesignerKeyboard.js Keyboard.js TopicStyle.js NodeGraph.js Topic.js CentralTopic.js MainTopic.js DragTopic.js DragManager.js DragPivot.js ConnectionLine.js Relationship.js DragConnector.js TextEditor.js MultilineTextEditor.js TextEditorFactory.js util/Shape.js util/FadeEffect.js persistence/ModelCodeName.js persistence/XMLSerializer_Pela.js persistence/XMLSerializer_Tango.js persistence/Pela2TangoMigrator.js persistence/XMLSerializer_Beta.js persistence/Beta2PelaMigrator.js persistence/XMLSerializerFactory.js PersistenceManager.js RestPersistenceManager.js LocalStorageManager.js EditorProperties.js IconGroup.js Icon.js LinkIcon.js NoteIcon.js ActionIcon.js ImageIcon.js model/FeatureModel.js model/IconModel.js model/LinkModel.js model/NoteModel.js Command.js DesignerActionRunner.js DesignerUndoManager.js ControlPoint.js EditorOptions.js RelationshipPivot.js TopicFeature.js commands/GenericFunctionCommand.js commands/DeleteCommand.js commands/DragTopicCommand.js commands/AddTopicCommand.js commands/ChangeFeatureToTopicCommand.js commands/RemoveFeatureFromTopicCommand.js commands/AddFeatureToTopicCommand.js commands/AddRelationshipCommand.js commands/MoveControlPointCommand.js widget/ModalDialogNotifier.js widget/ToolbarNotifier.js widget/ToolbarItem.js widget/ToolbarPaneItem.js widget/NoteEditor.js widget/LinkEditor.js widget/FloatingTip.js widget/LinkIconTooltip.js widget/KeyboardShortcutTooltip.js widget/ColorPalettePanel.js widget/ListToolbarPanel.js widget/FontFamilyPanel.js widget/FontSizePanel.js widget/TopicShapePanel.js widget/IconPanel.js widget/IMenu.js widget/Menu.js TopicFeature.js layout/EventBusDispatcher.js layout/ChangeEvent.js layout/LayoutManager.js layout/Node.js layout/RootedTreeSet.js layout/ChildrenSorterStrategy.js layout/AbstractBasicSorter.js layout/BalancedSorter.js layout/SymmetricSorter.js layout/GridSorter.js layout/OriginalLayout.js layout/EventBus.js MessageBundle_en.js MessageBundle_es.js MessageBundle_de.js MessageBundle_fr.js MessageBundle_pt_BR.js MessageBundle_zh_CN.js MessageBundle_zh_TW.js MessageBundle_ca.js footer.js false false UTF-8 false org.apache.maven.plugins maven-surefire-plugin true com.github.searls jasmine-maven-plugin 1.3.1.5 net.sourceforge.htmlunit htmlunit 2.15 org.openqa.selenium.phantomjs.PhantomJSDriver phantomjs.binary.path ${phantomjs.binary} libraries/mootools/mootools-core-1.4.5-full-nocompat-yc.js lib/jquery.js lib/core.js/ lib/web2d.svg-min.js libraries/hotkeys/jquery.hotkeys.js libraries/underscorejs/underscore-min.js libraries/bootstrap/js/bootstrap.js header.js Events.js Messages.js TopicEventDispatcher.js model/IMindmap.js model/Mindmap.js model/INodeModel.js model/NodeModel.js model/RelationshipModel.js ActionDispatcher.js StandaloneActionDispatcher.js DesignerModel.js Designer.js ScreenManager.js Workspace.js ShrinkConnector.js Keyboard.js DesignerKeyboard.js Keyboard.js TopicStyle.js NodeGraph.js Topic.js CentralTopic.js MainTopic.js DragTopic.js DragManager.js DragPivot.js ConnectionLine.js Relationship.js DragConnector.js TextEditor.js MultilineTextEditor.js TextEditorFactory.js util/Shape.js util/FadeEffect.js persistence/ModelCodeName.js persistence/XMLSerializer_Pela.js persistence/XMLSerializer_Tango.js persistence/Pela2TangoMigrator.js persistence/XMLSerializer_Beta.js persistence/Beta2PelaMigrator.js persistence/XMLSerializerFactory.js PersistenceManager.js RestPersistenceManager.js LocalStorageManager.js EditorProperties.js IconGroup.js Icon.js LinkIcon.js NoteIcon.js ActionIcon.js ImageIcon.js model/FeatureModel.js model/IconModel.js model/LinkModel.js model/NoteModel.js Command.js DesignerActionRunner.js DesignerUndoManager.js ControlPoint.js EditorOptions.js RelationshipPivot.js TopicFeature.js commands/GenericFunctionCommand.js commands/DeleteCommand.js commands/DragTopicCommand.js commands/AddTopicCommand.js commands/ChangeFeatureToTopicCommand.js commands/RemoveFeatureFromTopicCommand.js commands/AddFeatureToTopicCommand.js commands/AddRelationshipCommand.js commands/MoveControlPointCommand.js widget/ModalDialogNotifier.js widget/ToolbarNotifier.js widget/ToolbarItem.js widget/ToolbarPaneItem.js widget/NoteEditor.js widget/LinkEditor.js widget/FloatingTip.js widget/LinkIconTooltip.js widget/KeyboardShortcutTooltip.js widget/ColorPalettePanel.js widget/ListToolbarPanel.js widget/FontFamilyPanel.js widget/FontSizePanel.js widget/TopicShapePanel.js widget/IconPanel.js widget/IMenu.js widget/Menu.js TopicFeature.js layout/EventBusDispatcher.js layout/ChangeEvent.js layout/LayoutManager.js layout/Node.js layout/RootedTreeSet.js layout/ChildrenSorterStrategy.js layout/AbstractBasicSorter.js layout/BalancedSorter.js layout/SymmetricSorter.js layout/GridSorter.js layout/OriginalLayout.js layout/EventBus.js MessageBundle_en.js MessageBundle_es.js MessageBundle_de.js MessageBundle_fr.js MessageBundle_pt_BR.js MessageBundle_zh_CN.js MessageBundle_zh_TW.js MessageBundle_ca.js footer.js static/test/*.js simpleTest.js com.github.klieber phantomjs-maven-plugin 0.5 install 1.9.2