Author: veithen Date: Sun Dec 28 16:34:26 2008 New Revision: 729817 URL: http://svn.apache.org/viewvc?rev=729817&view=rev Log: Added POM files to build TCPMon using Maven 2 (including the Eclipse and IDEA plugins).
Added: webservices/commons/trunk/modules/tcpmon/modules/ webservices/commons/trunk/modules/tcpmon/modules/tcpmon-core/ webservices/commons/trunk/modules/tcpmon/modules/tcpmon-core/pom.xml webservices/commons/trunk/modules/tcpmon/modules/tcpmon-eclipse-plugin/ webservices/commons/trunk/modules/tcpmon/modules/tcpmon-eclipse-plugin/pom.xml webservices/commons/trunk/modules/tcpmon/modules/tcpmon-idea-plugin/ webservices/commons/trunk/modules/tcpmon/modules/tcpmon-idea-plugin/pom.xml webservices/commons/trunk/modules/tcpmon/modules/tcpmon-idea-plugin/src/ webservices/commons/trunk/modules/tcpmon/modules/tcpmon-idea-plugin/src/main/ webservices/commons/trunk/modules/tcpmon/modules/tcpmon-idea-plugin/src/main/assembly/ webservices/commons/trunk/modules/tcpmon/modules/tcpmon-idea-plugin/src/main/assembly/plugin-assembly.xml webservices/commons/trunk/modules/tcpmon/modules/tcpmon-ui/ webservices/commons/trunk/modules/tcpmon/modules/tcpmon-ui/pom.xml webservices/commons/trunk/modules/tcpmon/pom.xml Added: webservices/commons/trunk/modules/tcpmon/modules/tcpmon-core/pom.xml URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/tcpmon/modules/tcpmon-core/pom.xml?rev=729817&view=auto ============================================================================== --- webservices/commons/trunk/modules/tcpmon/modules/tcpmon-core/pom.xml (added) +++ webservices/commons/trunk/modules/tcpmon/modules/tcpmon-core/pom.xml Sun Dec 28 16:34:26 2008 @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, + ~ software distributed under the License is distributed on an + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + ~ KIND, either express or implied. See the License for the + ~ specific language governing permissions and limitations + ~ under the License. + --> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.ws.commons.tcpmon</groupId> + <artifactId>tcpmon</artifactId> + <version>SNAPSHOT</version> + <relativePath>../../pom.xml</relativePath> + </parent> + <artifactId>tcpmon-core</artifactId> + <name>Apache TCPMon - Core classes</name> + <packaging>jar</packaging> + <description>TCPMon is a utility that allows the messages to be viewed and resent. It is very much useful + as a debug tool. It has originally being part of Axis1 and now stands as an independent project.</description> + <build> + <sourceDirectory>../../src</sourceDirectory> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.3</source> + <target>1.3</target> + <includes> + <include>org/apache/ws/commons/tcpmon/SlowLinkSimulator.java</include> + </includes> + </configuration> + </plugin> + <plugin> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + <configuration> + <attach>true</attach> + </configuration> + </plugin> + </plugins> + </build> +</project> Added: webservices/commons/trunk/modules/tcpmon/modules/tcpmon-eclipse-plugin/pom.xml URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/tcpmon/modules/tcpmon-eclipse-plugin/pom.xml?rev=729817&view=auto ============================================================================== --- webservices/commons/trunk/modules/tcpmon/modules/tcpmon-eclipse-plugin/pom.xml (added) +++ webservices/commons/trunk/modules/tcpmon/modules/tcpmon-eclipse-plugin/pom.xml Sun Dec 28 16:34:26 2008 @@ -0,0 +1,98 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, + ~ software distributed under the License is distributed on an + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + ~ KIND, either express or implied. See the License for the + ~ specific language governing permissions and limitations + ~ under the License. + --> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.ws.commons.tcpmon</groupId> + <artifactId>tcpmon</artifactId> + <version>SNAPSHOT</version> + <relativePath>../../pom.xml</relativePath> + </parent> + <artifactId>tcpmon-eclipse-plugin</artifactId> + <name>Apache TCPMon - Eclipse plugin</name> + <packaging>bundle</packaging> + <description>TCPMon is a utility that allows the messages to be viewed and resent. It is very much useful + as a debug tool. It has originally being part of Axis1 and now stands as an independent project.</description> + <properties> + <eclipse.version>3.2.0</eclipse.version> + </properties> + <dependencies> + <dependency> + <groupId>org.apache.ws.commons.tcpmon</groupId> + <artifactId>tcpmon-core</artifactId> + <version>${pom.version}</version> + </dependency> + <dependency> + <groupId>org.eclipse.ui</groupId> + <artifactId>org.eclipse.ui.workbench</artifactId> + <version>${eclipse.version}</version> + </dependency> + <dependency> + <groupId>org.eclipse.swt</groupId> + <artifactId>org.eclipse.swt.win32.win32.x86</artifactId> + <version>${eclipse.version}</version> + </dependency> + </dependencies> + <repositories> + <repository> + <id>eclipse-repo</id> + <name>Eclipse Maven repository</name> + <url>http://repo1.maven.org/eclipse</url> + </repository> + </repositories> + <build> + <sourceDirectory>../../src</sourceDirectory> + <resources> + <resource> + <directory>../../resources/eclipse</directory> + </resource> + </resources> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.3</source> + <target>1.3</target> + <includes> + <include>org/apache/ws/commons/tcpmon/eclipse/**/*.java</include> + </includes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <instructions> + <Bundle-Version>1.1.0000</Bundle-Version> + <Bundle-SymbolicName>${groupId}.${artifactId};singleton:=true</Bundle-SymbolicName> + <Export-Package> + org.apache.ws.commons.tcpmon, + org.apache.ws.commons.tcpmon.eclipse.* + </Export-Package> + <Bundle-Activator>org.apache.ws.commons.tcpmon.eclipse.plugin.TcpmonitorPlugin</Bundle-Activator> + <Bundle-Localization>plugin</Bundle-Localization> + <Eclipse-LazyStart>true</Eclipse-LazyStart> + </instructions> + </configuration> + </plugin> + </plugins> + </build> +</project> Added: webservices/commons/trunk/modules/tcpmon/modules/tcpmon-idea-plugin/pom.xml URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/tcpmon/modules/tcpmon-idea-plugin/pom.xml?rev=729817&view=auto ============================================================================== --- webservices/commons/trunk/modules/tcpmon/modules/tcpmon-idea-plugin/pom.xml (added) +++ webservices/commons/trunk/modules/tcpmon/modules/tcpmon-idea-plugin/pom.xml Sun Dec 28 16:34:26 2008 @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, + ~ software distributed under the License is distributed on an + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + ~ KIND, either express or implied. See the License for the + ~ specific language governing permissions and limitations + ~ under the License. + --> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.ws.commons.tcpmon</groupId> + <artifactId>tcpmon</artifactId> + <version>SNAPSHOT</version> + <relativePath>../../pom.xml</relativePath> + </parent> + <artifactId>tcpmon-idea-plugin</artifactId> + <name>Apache TCPMon - IntelliJ IDEA plugin</name> + <packaging>jar</packaging> + <description>TCPMon is a utility that allows the messages to be viewed and resent. It is very much useful + as a debug tool. It has originally being part of Axis1 and now stands as an independent project.</description> + <properties> + <intellij.version>5.0</intellij.version> + </properties> + <dependencies> + <dependency> + <groupId>org.apache.ws.commons.tcpmon</groupId> + <artifactId>tcpmon-ui</artifactId> + <version>${pom.version}</version> + </dependency> + <dependency> + <groupId>com.intellij</groupId> + <artifactId>openapi</artifactId> + <version>${intellij.version}</version> + </dependency> + </dependencies> + <build> + <sourceDirectory>../../src</sourceDirectory> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.3</source> + <target>1.3</target> + <includes> + <include>org/apache/ws/commons/tcpmon/idea/**/*.java</include> + </includes> + </configuration> + </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.2-beta-2</version> + <executions> + <execution> + <id>plugin-assembly</id> + <phase>package</phase> + <goals> + <goal>attached</goal> + </goals> + <configuration> + <descriptors> + <descriptor>src/main/assembly/plugin-assembly.xml</descriptor> + </descriptors> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> Added: webservices/commons/trunk/modules/tcpmon/modules/tcpmon-idea-plugin/src/main/assembly/plugin-assembly.xml URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/tcpmon/modules/tcpmon-idea-plugin/src/main/assembly/plugin-assembly.xml?rev=729817&view=auto ============================================================================== --- webservices/commons/trunk/modules/tcpmon/modules/tcpmon-idea-plugin/src/main/assembly/plugin-assembly.xml (added) +++ webservices/commons/trunk/modules/tcpmon/modules/tcpmon-idea-plugin/src/main/assembly/plugin-assembly.xml Sun Dec 28 16:34:26 2008 @@ -0,0 +1,43 @@ +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, + ~ software distributed under the License is distributed on an + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + ~ KIND, either express or implied. See the License for the + ~ specific language governing permissions and limitations + ~ under the License. + --> +<assembly> + <includeBaseDirectory>false</includeBaseDirectory> + <formats> + <format>zip</format> + </formats> + <fileSets> + <fileSet> + <directory>${project.build.outputDirectory}</directory> + <outputDirectory>classes</outputDirectory> + </fileSet> + <fileSet> + <directory>${basedir}/../../resources/idea</directory> + <outputDirectory>META-INF</outputDirectory> + </fileSet> + </fileSets> + <dependencySets> + <dependencySet> + <useProjectArtifact>false</useProjectArtifact> + <outputDirectory>lib</outputDirectory> + <excludes> + <exclude>com.intellij:*</exclude> + </excludes> + </dependencySet> + </dependencySets> +</assembly> Added: webservices/commons/trunk/modules/tcpmon/modules/tcpmon-ui/pom.xml URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/tcpmon/modules/tcpmon-ui/pom.xml?rev=729817&view=auto ============================================================================== --- webservices/commons/trunk/modules/tcpmon/modules/tcpmon-ui/pom.xml (added) +++ webservices/commons/trunk/modules/tcpmon/modules/tcpmon-ui/pom.xml Sun Dec 28 16:34:26 2008 @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, + ~ software distributed under the License is distributed on an + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + ~ KIND, either express or implied. See the License for the + ~ specific language governing permissions and limitations + ~ under the License. + --> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.ws.commons.tcpmon</groupId> + <artifactId>tcpmon</artifactId> + <version>SNAPSHOT</version> + <relativePath>../../pom.xml</relativePath> + </parent> + <artifactId>tcpmon-ui</artifactId> + <name>Apache TCPMon - Swing UI</name> + <packaging>jar</packaging> + <description>TCPMon is a utility that allows the messages to be viewed and resent. It is very much useful + as a debug tool. It has originally being part of Axis1 and now stands as an independent project.</description> + <dependencies> + <dependency> + <groupId>org.apache.ws.commons.tcpmon</groupId> + <artifactId>tcpmon-core</artifactId> + <version>${pom.version}</version> + </dependency> + </dependencies> + <build> + <sourceDirectory>../../src</sourceDirectory> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.3</source> + <target>1.3</target> + <includes> + <include>org/apache/ws/commons/tcpmon/AdminPane.java</include> + <include>org/apache/ws/commons/tcpmon/Connection.java</include> + <include>org/apache/ws/commons/tcpmon/Listener.java</include> + <include>org/apache/ws/commons/tcpmon/Sender.java</include> + <include>org/apache/ws/commons/tcpmon/SocketRR.java</include> + <include>org/apache/ws/commons/tcpmon/SocketWaiter.java</include> + <include>org/apache/ws/commons/tcpmon/TCPMon.java</include> + </includes> + </configuration> + </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.2-beta-2</version> + <executions> + <execution> + <id>jar-with-dependencies</id> + <phase>package</phase> + <goals> + <goal>attached</goal> + </goals> + <configuration> + <descriptorRefs> + <descriptorRef>jar-with-dependencies</descriptorRef> + </descriptorRefs> + <archive> + <manifest> + <mainClass>org.apache.ws.commons.tcpmon.TCPMon</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> Added: webservices/commons/trunk/modules/tcpmon/pom.xml URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/tcpmon/pom.xml?rev=729817&view=auto ============================================================================== --- webservices/commons/trunk/modules/tcpmon/pom.xml (added) +++ webservices/commons/trunk/modules/tcpmon/pom.xml Sun Dec 28 16:34:26 2008 @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, + ~ software distributed under the License is distributed on an + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + ~ KIND, either express or implied. See the License for the + ~ specific language governing permissions and limitations + ~ under the License. + --> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.ws.commons.tcpmon</groupId> + <artifactId>tcpmon</artifactId> + <name>Apache TCPMon</name> + <version>SNAPSHOT</version> + <packaging>pom</packaging> + <description>TCPMon is a utility that allows the messages to be viewed and resent. It is very much useful + as a debug tool. It has originally being part of Axis1 and now stands as an independent project.</description> + <url>http://ws.apache.org/commons/tcpmon</url> + <organization> + <name>The Apache Software Foundation</name> + <url>http://www.apache.org/</url> + </organization> + <inceptionYear>2006</inceptionYear> + <issueManagement> + <system>JIRA</system> + <url>http://issues.apache.org/jira/browse/WS-COMMONS</url> + </issueManagement> + <mailingLists> + <mailingList> + <name>WS Commons Developers</name> + <subscribe>commons-dev-subscr...@ws.apache.org</subscribe> + <unsubscribe>commons-dev-unsubscr...@ws.apache.org</unsubscribe> + <post>commons-dev@ws.apache.org</post> + <archive>http://mail-archives.apache.org/mod_mbox/ws-commons-dev/</archive> + </mailingList> + </mailingLists> + <licenses> + <license> + <name>The Apache Software License, Version 2.0</name> + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> + <distribution>repo</distribution> + </license> + </licenses> + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/webservices/commons/trunk/modules/tcpmon</connection> + <developerConnection> + scm:svn:https://svn.apache.org/repos/asf/webservices/commons/trunk/modules/tcpmon</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/webservices/commons/trunk/modules/tcpmon</url> + </scm> + <modules> + <module>modules/tcpmon-core</module> + <module>modules/tcpmon-ui</module> + <module>modules/tcpmon-eclipse-plugin</module> + <module>modules/tcpmon-idea-plugin</module> + </modules> + <distributionManagement> + <repository> + <id>apache-repo</id> + <name>Maven Central Repository</name> + <url>scpexe://people.apache.org//www/people.apache.org/repo/m2-ibiblio-rsync-repository</url> + </repository> + <snapshotRepository> + <id>apache-snapshots</id> + <name>Apache Development Repository</name> + <url>scpexe://people.apache.org//www/people.apache.org/repo/m2-snapshot-repository</url> + <uniqueVersion>false</uniqueVersion> + </snapshotRepository> + <site> + <id>website</id> + <url>scpexe://people.apache.org/www/ws.apache.org/commons/tcpmon</url> + </site> + </distributionManagement> +</project>