wisemapping-open-source/mindplot/pom.xml

314 lines
21 KiB
XML
Raw Permalink Normal View History

2009-06-07 20:59:43 +02:00
<project>
<modelVersion>4.0.0</modelVersion>
<artifactId>mindplot</artifactId>
<packaging>jar</packaging>
<name>Mindmap Draw JavaScript Library</name>
<parent>
<groupId>org.wisemapping</groupId>
<artifactId>wisemapping</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>org.wisemapping</groupId>
<artifactId>web2d</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
2011-04-02 19:22:49 +02:00
<!-- <dependency>
2011-03-24 19:00:51 +01:00
<groupId>com.google.jstestdriver</groupId>
<artifactId>maven-jstestdriver-plugin</artifactId>
<version>1.2.2-SNAPSHOT</version>
<scope>test</scope>
2011-04-02 19:22:49 +02:00
</dependency> -->
2009-06-07 20:59:43 +02:00
</dependencies>
2011-03-24 19:00:51 +01:00
<repositories>
<repository>
<id>jstd-maven-plugin google code repo</id>
<url>http://jstd-maven-plugin.googlecode.com/svn/maven2</url>
</repository>
</repositories>
2009-06-07 20:59:43 +02:00
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>merge-js-resources</id>
<phase>generate-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<mkdir dir="${basedir}/target/classes"/>
2009-07-09 22:09:56 +02:00
<!-- Generated for debug -->
<concat destfile="${basedir}/target/tmp/mindplot.js" append="false">
<filelist dir="${basedir}/src/main/javascript/" files="header.js"/>
2011-03-17 16:51:40 +01:00
<filelist dir="${basedir}/src/main/javascript/" files="EventBus.js"/>
2009-07-09 22:09:56 +02:00
<filelist dir="${basedir}/src/main/javascript/" files="Mindmap.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="NodeModel.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="RelationshipModel.js"/>
2009-07-09 22:09:56 +02:00
<filelist dir="${basedir}/src/main/javascript/" files="MindmapDesigner.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="ScreenManager.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="Workspace.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="ShrinkConnector.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="NodeGraph.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="Topic.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="CentralTopic.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="MainTopic.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="DragTopic.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="DragManager.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="DragPivot.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="TopicBoard.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="CentralTopicBoard.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="MainTopicBoard.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="ConnectionLine.js"/>
2010-12-23 15:38:22 +01:00
<filelist dir="${basedir}/src/main/javascript/" files="RelationshipLine.js"/>
2009-07-09 22:09:56 +02:00
<filelist dir="${basedir}/src/main/javascript/" files="DragTopicPositioner.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="Board.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="TextEditor.js"/>
2011-04-17 20:04:02 +02:00
<filelist dir="${basedir}/src/main/javascript/" files="RichTextEditor.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="TextEditorFactory.js"/>
2009-07-09 22:09:56 +02:00
<filelist dir="${basedir}/src/main/javascript/" files="VariableDistanceBoard.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="util/Shape.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="FixedDistanceBoard.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="BoardEntry.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="ModelCodeName.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="XMLMindmapSerializer_Pela.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="XMLMindmapSerializer_Beta.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="Beta2PelaMigrator.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="XMLMindmapSerializerFactory.js"/>
2009-07-09 22:09:56 +02:00
<filelist dir="${basedir}/src/main/javascript/" files="PersistanceManager.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="EditorProperties.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="IconGroup.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="BubbleTip.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="Tip.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="Icon.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="LinkIcon.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="Note.js"/>
2011-04-12 14:59:03 +02:00
<filelist dir="${basedir}/src/main/javascript/" files="ActionIcon.js"/>
2009-07-09 22:09:56 +02:00
<filelist dir="${basedir}/src/main/javascript/" files="ImageIcon.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="IconModel.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="LinkModel.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="NoteModel.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="Command.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="DesignerActionRunner.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="DesignerUndoManager.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="ControlPoint.js"/>
2011-03-17 16:51:40 +01:00
<filelist dir="${basedir}/src/main/javascript/" files="EditorOptions.js"/>
2009-07-09 22:09:56 +02:00
<filelist dir="${basedir}/src/main/javascript/"
files="commands/GenericFunctionCommand.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="commands/DeleteTopicCommand.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="commands/DragTopicCommand.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="commands/AddTopicCommand.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="commands/AddLinkToTopicCommand.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="commands/RemoveLinkFromTopicCommand.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="commands/AddIconToTopicCommand.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="commands/RemoveIconFromTopicCommand.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="commands/AddNoteToTopicCommand.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="commands/RemoveNoteFromTopicCommand.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="commands/AddRelationshipCommand.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="commands/MoveControlPointCommand.js"/>
2011-04-08 16:31:40 +02:00
<filelist dir="${basedir}/src/main/javascript/"
files="commands/freeMind/DragTopicCommand.js"/>
2011-04-12 14:59:03 +02:00
<filelist dir="${basedir}/src/main/javascript/"
files="commands/freeMind/ReconnectTopicCommand.js"/>
2011-03-24 19:00:51 +01:00
<filelist dir="${basedir}/src/main/javascript/"
files="layoutManagers/boards/Board.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="layoutManagers/boards/freeMindBoards/Board.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="layoutManagers/boards/freeMindBoards/Entry.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="layoutManagers/boards/freeMindBoards/CentralTopicBoard.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="layoutManagers/boards/freeMindBoards/MainTopicBoard.js"/>
2011-03-17 16:51:40 +01:00
<filelist dir="${basedir}/src/main/javascript/"
files="layoutManagers/BaseLayoutManager.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="layoutManagers/OriginalLayoutManager.js"/>
2011-03-24 19:00:51 +01:00
<filelist dir="${basedir}/src/main/javascript/"
files="layoutManagers/FreeMindLayoutManager.js"/>
2011-03-17 16:51:40 +01:00
<filelist dir="${basedir}/src/main/javascript/"
files="layoutManagers/LayoutManagerFactory.js"/>
2011-03-24 19:00:51 +01:00
2009-07-09 22:09:56 +02:00
<filelist dir="${basedir}/src/main/javascript/" files="footer.js"/>
</concat>
<concat destfile="${basedir}/target/classes/mindplot.svg.js" append="false">
<filelist dir="${basedir}/../web2d/target/classes/"
files="web2d.svg-min.js"/>
<filelist dir="${basedir}/target/tmp/"
files="mindplot.js"/>
</concat>
2009-06-07 20:59:43 +02:00
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.sf.alchim</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>compress</goal>
</goals>
<configuration>
<sourceDirectory>src/main/javascript/</sourceDirectory>
<outputDirectory>target/tmp/</outputDirectory>
<aggregations>
<aggregation>
<output>${basedir}/target/tmp/mindplot-min.js</output>
<includes>
<include>header-min.js</include>
2011-03-17 16:51:40 +01:00
<include>EventBus-min.js</include>
2009-06-07 20:59:43 +02:00
<include>Mindmap-min.js</include>
<include>NodeModel-min.js</include>
<include>RelationshipModel-min.js</include>
2009-06-07 20:59:43 +02:00
<include>MindmapDesigner-min.js</include>
<include>ScreenManager-min.js</include>
<include>Workspace-min.js</include>
<include>ShrinkConnector-min.js</include>
<include>NodeGraph-min.js</include>
<include>Topic-min.js</include>
<include>CentralTopic-min.js</include>
<include>MainTopic-min.js</include>
<include>DragTopic-min.js</include>
<include>DragManager-min.js</include>
<include>DragPivot-min.js</include>
<include>TopicBoard-min.js</include>
<include>CentralTopicBoard-min.js</include>
<include>MainTopicBoard-min.js</include>
<include>ConnectionLine-min.js</include>
2010-12-23 15:38:22 +01:00
<include>RelationshipLine-min.js</include>
2009-06-07 20:59:43 +02:00
<include>DragTopicPositioner-min.js</include>
<include>Board-min.js</include>
<include>TextEditor-min.js</include>
2011-04-17 20:04:02 +02:00
<include>RichTextEditor-min.js</include>
<include>TextEditorFactory-min.js</include>
2009-06-07 20:59:43 +02:00
<include>VariableDistanceBoard-min.js</include>
<include>util/Shape-min.js</include>
<include>FixedDistanceBoard-min.js</include>
<include>BoardEntry-min.js</include>
<include>ModelCodeName-min.js</include>
<include>XMLMindmapSerializer_Beta-min.js</include>
<include>XMLMindmapSerializer_Pela-min.js</include>
<include>Beta2PelaMigrator-min.js</include>
<include>XMLMindmapSerializerFactory-min.js</include>
2009-06-07 20:59:43 +02:00
<include>PersistanceManager-min.js</include>
<include>EditorProperties-min.js</include>
<include>IconGroup-min.js</include>
<include>BubbleTip-min.js</include>
<include>Tip-min.js</include>
<include>Icon-min.js</include>
<include>LinkIcon-min.js</include>
<include>Note-min.js</include>
2011-04-12 14:59:03 +02:00
<include>ActionIcon-min.js</include>
2009-06-07 20:59:43 +02:00
<include>ImageIcon-min.js</include>
<include>IconModel-min.js</include>
<include>LinkModel-min.js</include>
<include>NoteModel-min.js</include>
2011-03-17 16:51:40 +01:00
<include>EditorOptions-min.js</include>
2009-06-07 20:59:43 +02:00
<include>Command-min.js</include>
<include>DesignerActionRunner-min.js</include>
<include>DesignerUndoManager-min.js</include>
<include>commands/GenericFunctionCommand-min.js</include>
<include>commands/DeleteTopicCommand-min.js</include>
<include>commands/DragTopicCommand-min.js</include>
<include>commands/AddTopicCommand-min.js</include>
<include>commands/AddLinkToTopicCommand-min.js</include>
<include>commands/RemoveLinkFromTopicCommand-min.js</include>
<include>commands/AddIconToTopicCommand-min.js</include>
<include>commands/RemoveIconFromTopicCommand-min.js</include>
<include>commands/AddNoteToTopicCommand-min.js</include>
<include>commands/RemoveNoteFromTopicCommand-min.js</include>
<include>commands/AddRelationshipCommand-min.js</include>
<include>commands/MoveControlPointCommand-min.js</include>
2011-04-08 16:31:40 +02:00
<include>commands/freeMind/DragTopicCommand-min.js</include>
2011-04-12 14:59:03 +02:00
<include>commands/freeMind/ReconnectTopicCommand-min.js</include>
2009-06-07 20:59:43 +02:00
2011-03-24 19:00:51 +01:00
<include>layoutManagers/boards/Board-min.js</include>
<include>layoutManagers/boards/freeMindBoards/Board-min.js</include>
<include>layoutManagers/boards/freeMindBoards/Entry-min.js</include>
<include>layoutManagers/boards/freeMindBoards/CentralTopicBoard-min.js</include>
<include>layoutManagers/boards/freeMindBoards/MainTopicBoard-min.js</include>
2011-03-17 16:51:40 +01:00
<include>layoutManagers/BaseLayoutManager-min.js</include>
<include>layoutManagers/OriginalLayoutManager-min.js</include>
2011-03-24 19:00:51 +01:00
<include>layoutManagers/FreeMindLayoutManager-min.js</include>
2011-03-17 16:51:40 +01:00
<include>layoutManagers/LayoutManagerFactory-min.js</include>
2009-06-07 20:59:43 +02:00
<include>footer-min.js</include>
</includes>
</aggregation>
<aggregation>
2009-07-09 22:09:56 +02:00
<output>${basedir}/target/classes/mindplot.svg-min.js</output>
2009-06-07 20:59:43 +02:00
<includes>
<include>${basedir}/../web2d/target/classes/web2d.svg-min.js</include>
<include>${basedir}/target/tmp/mindplot-min.js</include>
</includes>
</aggregation>
</aggregations>
<nomunge>true</nomunge>
<jswarn>false</jswarn>
</configuration>
</execution>
</executions>
</plugin>
2011-03-24 19:00:51 +01:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.2</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
2011-04-02 19:22:49 +02:00
<!-- <plugin>
2011-03-24 19:00:51 +01:00
<groupId>com.google.jstestdriver</groupId>
<artifactId>maven-jstestdriver-plugin</artifactId>
<version>1.2.2-SNAPSHOT</version>
<executions>
<execution>
<id>run-tests</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
2011-03-25 17:48:29 +01:00
<config>${basedir}/src/test/jsTestDriver.conf</config>
2011-03-24 19:00:51 +01:00
</configuration>
</execution>
</executions>
2011-04-02 19:22:49 +02:00
</plugin> -->
2009-06-07 20:59:43 +02:00
</plugins>
</build>
</project>