Author: tcurdt
Date: Sat Aug 12 00:20:34 2006
New Revision: 430988
URL: http://svn.apache.org/viewvc?rev=430988&view=rev
Log:
moving the fam outside of core, standard layout
Added:
jakarta/commons/sandbox/jci/trunk/core/src/main/
jakarta/commons/sandbox/jci/trunk/core/src/main/java/
- copied from r429126, jakarta/commons/sandbox/jci/trunk/core/src/java/
jakarta/commons/sandbox/jci/trunk/core/src/test/
jakarta/commons/sandbox/jci/trunk/core/src/test/java/
jakarta/commons/sandbox/jci/trunk/core/src/test/java/org/
jakarta/commons/sandbox/jci/trunk/core/src/test/java/org/apache/
jakarta/commons/sandbox/jci/trunk/core/src/test/java/org/apache/commons/
jakarta/commons/sandbox/jci/trunk/core/src/test/java/org/apache/commons/jci/
jakarta/commons/sandbox/jci/trunk/core/src/test/resources/
jakarta/commons/sandbox/jci/trunk/fam/
jakarta/commons/sandbox/jci/trunk/fam/pom.xml (with props)
jakarta/commons/sandbox/jci/trunk/fam/src/
jakarta/commons/sandbox/jci/trunk/fam/src/main/
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/jci/
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationListener.java
(with props)
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java
(with props)
Removed:
jakarta/commons/sandbox/jci/trunk/core/src/java/
jakarta/commons/sandbox/jci/trunk/core/src/main/java/org/apache/commons/jci/monitor/
Modified:
jakarta/commons/sandbox/jci/trunk/core/pom.xml
jakarta/commons/sandbox/jci/trunk/core/src/main/java/org/apache/commons/jci/compilers/JavaCompilerSettings.java
jakarta/commons/sandbox/jci/trunk/pom.xml
Modified: jakarta/commons/sandbox/jci/trunk/core/pom.xml
URL:
http://svn.apache.org/viewvc/jakarta/commons/sandbox/jci/trunk/core/pom.xml?rev=430988&r1=430987&r2=430988&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/core/pom.xml (original)
+++ jakarta/commons/sandbox/jci/trunk/core/pom.xml Sat Aug 12 00:20:34 2006
@@ -17,9 +17,21 @@
<artifactId>commons-jci-core</artifactId>
<version>1.0-SNAPSHOT</version>
- <name>Core</name>
+ <name>core</name>
<dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-jci-fam</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </dependency>
<dependency>
<groupId>commons-io</groupId>
Modified:
jakarta/commons/sandbox/jci/trunk/core/src/main/java/org/apache/commons/jci/compilers/JavaCompilerSettings.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/sandbox/jci/trunk/core/src/main/java/org/apache/commons/jci/compilers/JavaCompilerSettings.java?rev=430988&r1=429126&r2=430988&view=diff
==============================================================================
---
jakarta/commons/sandbox/jci/trunk/core/src/main/java/org/apache/commons/jci/compilers/JavaCompilerSettings.java
(original)
+++
jakarta/commons/sandbox/jci/trunk/core/src/main/java/org/apache/commons/jci/compilers/JavaCompilerSettings.java
Sat Aug 12 00:20:34 2006
@@ -16,5 +16,31 @@
package org.apache.commons.jci.compilers;
-public interface JavaCompilerSettings {
+
+public class JavaCompilerSettings {
+
+ public void setTargetVersion( final String pTargetVersion ) {
+
+ }
+
+ public void setSourceVersion( final String pSourceVersion ) {
+
+ }
+
+ public void setSourceEncoding( final String pSourceEncoding ) {
+
+ }
+
+ public void setWarnings( final boolean pWarnings ) {
+
+ }
+
+ public void setDeprecations( final boolean pDeprecations ) {
+
+ }
+
+ public void setVerbose( final boolean pVerbose ) {
+
+ }
+
}
Added: jakarta/commons/sandbox/jci/trunk/fam/pom.xml
URL:
http://svn.apache.org/viewvc/jakarta/commons/sandbox/jci/trunk/fam/pom.xml?rev=430988&view=auto
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/fam/pom.xml (added)
+++ jakarta/commons/sandbox/jci/trunk/fam/pom.xml Sat Aug 12 00:20:34 2006
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>
+ <packaging>jar</packaging>
+
+ <parent>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-jci</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-jci-fam</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <name>fam</name>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>1.1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging-api</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>3.1</version>
+ </dependency>
+
+ </dependencies>
+
+</project>
Propchange: jakarta/commons/sandbox/jci/trunk/fam/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: jakarta/commons/sandbox/jci/trunk/fam/pom.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added:
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationListener.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationListener.java?rev=430988&view=auto
==============================================================================
---
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationListener.java
(added)
+++
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationListener.java
Sat Aug 12 00:20:34 2006
@@ -0,0 +1,34 @@
+/*
+ * Copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+package org.apache.commons.jci.monitor;
+
+import java.io.File;
+
+/**
+ * @author tcurdt
+ *
+ */
+public interface FilesystemAlterationListener {
+ File getRepository(); // FIXME: ugly!!!!
+ void onStart();
+ void onCreateFile( final File file );
+ void onChangeFile( final File file );
+ void onDeleteFile( final File file );
+ void onCreateDirectory( final File dir );
+ void onChangeDirectory( final File dir );
+ void onDeleteDirectory( final File dir );
+ void onStop();
+}
Propchange:
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationListener.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationListener.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added:
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java?rev=430988&view=auto
==============================================================================
---
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java
(added)
+++
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java
Sat Aug 12 00:20:34 2006
@@ -0,0 +1,438 @@
+/*
+ * Copyright 1999-2004 The Apache Software Foundation. Licensed 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.
+ */
+package org.apache.commons.jci.monitor;
+
+import java.io.File;
+import java.io.FileFilter;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Set;
+import org.apache.commons.collections.MultiHashMap;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+/**
+ * @author tcurdt
+ */
+public final class FilesystemAlterationMonitor implements Runnable {
+
+ private final static Log log =
LogFactory.getLog(FilesystemAlterationMonitor.class);
+
+ public class Entry {
+
+ private final File root;
+ private final File file;
+ private long lastModified;
+ private Set paths = new HashSet();
+ private Set childs = new HashSet();
+ private final boolean isDirectory;
+
+
+ public Entry(final File pRoot, final File pFile) {
+ root = pRoot;
+ file = pFile;
+ lastModified = -1;
+ isDirectory = file.isDirectory();
+ }
+
+
+ public boolean hasChanged() {
+ final long modified = file.lastModified();
+ return modified != lastModified;
+ }
+
+
+ public boolean isDelected() {
+ return !file.exists();
+ }
+
+
+ public boolean isDirectory() {
+ return isDirectory;
+ }
+
+
+ public Entry[] getChilds() {
+ final Entry[] r = new Entry[childs.size()];
+ childs.toArray(r);
+ return r;
+ }
+
+
+ private FileFilter getFileFilter() {
+ return new FileFilter() {
+
+ public boolean accept( final File pathname ) {
+ final String p = pathname.getAbsolutePath();
+ return !paths.contains(p);
+ }
+ };
+ }
+
+
+ public Entry[] getNonChilds() {
+ final File[] newFiles = file.listFiles(getFileFilter());
+ final Entry[] r = new Entry[newFiles.length];
+ for (int i = 0; i < newFiles.length; i++) {
+ r[i] = new Entry(root, newFiles[i]);
+ }
+ return r;
+ }
+
+
+ public void add( final Entry entry ) {
+ childs.add(entry);
+ paths.add(entry.toString());
+ onCreate(root, entry);
+ }
+
+
+ private void deleteChilds() {
+ final Entry[] childs = this.getChilds();
+ for (int i = 0; i < childs.length; i++) {
+ final Entry child = childs[i];
+ delete(child);
+ }
+ }
+
+
+ public void delete( final Entry entry ) {
+ childs.remove(entry);
+ paths.remove(entry.toString());
+ entry.deleteChilds();
+ onDelete(root, entry);
+ }
+
+
+ public File getFile() {
+ return file;
+ }
+
+
+ public void markNotChanged() {
+ lastModified = file.lastModified();
+ }
+
+
+ public String toString() {
+ return file.getAbsolutePath();
+ }
+ }
+
+ public static class UniqueMultiHashMap extends MultiHashMap {
+
+ private static final long serialVersionUID = 1L;
+
+ public UniqueMultiHashMap() {
+ super();
+ }
+
+ public UniqueMultiHashMap(Map copy) {
+ super(copy);
+ }
+
+ protected Collection createCollection( Collection copy ) {
+ if (copy != null) {
+ return new HashSet(copy);
+ }
+ return new HashSet();
+ }
+
+ }
+
+ private Map listeners = new UniqueMultiHashMap();
+ private Map directories = new UniqueMultiHashMap();
+ private Map entries = new HashMap();
+ private final Object mutexListeners = new Object();
+ private final Object mutexRunning = new Object();
+ private long delay = 3000;
+ private boolean running = true;
+ private Thread thread;
+
+
+ public FilesystemAlterationMonitor() {
+ }
+
+
+ public void start() {
+ thread = new Thread(this);
+ thread.start();
+ }
+
+
+ public void stop() {
+ synchronized (mutexRunning) {
+ running = false;
+ }
+ try {
+ thread.join(delay);
+ } catch (InterruptedException e) {
+ }
+ }
+
+
+ public void setInterval( final long pDelay ) {
+ delay = pDelay;
+ }
+
+
+ public void addListener( final FilesystemAlterationListener pListener ) {
+ final File directory = pListener.getRepository();
+ synchronized (mutexListeners) {
+ // listerner -> dir1, dir2, dir3
+ final UniqueMultiHashMap newListeners = new
UniqueMultiHashMap(listeners);
+ newListeners.put(pListener, directory);
+ listeners = newListeners;
+ // directory -> listener1, listener2, listener3
+ final UniqueMultiHashMap newDirectories = new
UniqueMultiHashMap(directories);
+ newDirectories.put(directory, pListener);
+ directories = newDirectories;
+ }
+ }
+
+ public Collection getListeners() {
+ synchronized (mutexListeners) {
+ return listeners.keySet();
+ }
+ }
+
+ public Collection getListenersFor( final File pRepository ) {
+ synchronized (mutexListeners) {
+ return (Collection) directories.get(pRepository);
+ }
+ }
+
+ public void removeListener( final FilesystemAlterationListener listener ) {
+ synchronized (mutexListeners) {
+ // listerner -> dir1, dir2, dir3
+ final UniqueMultiHashMap newListeners = new
UniqueMultiHashMap(listeners);
+ Collection d = (Collection) newListeners.remove(listener);
+ listeners = newListeners;
+ if (d != null) {
+ // directory -> listener1, listener2, listener3
+ final UniqueMultiHashMap newDirectories = new
UniqueMultiHashMap(directories);
+ for (Iterator it = d.iterator(); it.hasNext();) {
+ newDirectories.remove(it.next());
+ entries.remove(d);
+ }
+ directories = newDirectories;
+ }
+ }
+ }
+
+
+ private void onStart( final File root ) {
+ log.debug("start checking " + root);
+ Map directories;
+ synchronized (mutexListeners) {
+ directories = this.directories;
+ }
+ final Collection l = (Collection) directories.get(root);
+ if (l != null) {
+ for (Iterator it = l.iterator(); it.hasNext();) {
+ final FilesystemAlterationListener listener =
(FilesystemAlterationListener) it
+ .next();
+ listener.onStart();
+ }
+ }
+ }
+
+
+ private void onStop( final File root ) {
+ log.debug("stop checking " + root);
+ Map directories;
+ synchronized (mutexListeners) {
+ directories = this.directories;
+ }
+ final Collection l = (Collection) directories.get(root);
+ if (l != null) {
+ for (Iterator it = l.iterator(); it.hasNext();) {
+ final FilesystemAlterationListener listener =
(FilesystemAlterationListener) it
+ .next();
+ listener.onStop();
+ }
+ }
+ }
+
+
+ private void onCreate( final File root, final Entry entry ) {
+ log.debug("created " + ((entry.isDirectory()) ? "dir " : "file ") +
entry);
+ Map directories;
+ synchronized (mutexListeners) {
+ directories = this.directories;
+ }
+ final Collection l = (Collection) directories.get(root);
+ if (l != null) {
+ if (entry.isDirectory()) {
+ for (Iterator it = l.iterator(); it.hasNext();) {
+ final FilesystemAlterationListener listener =
(FilesystemAlterationListener) it
+ .next();
+ listener.onCreateDirectory(entry.getFile());
+ }
+ } else {
+ for (Iterator it = l.iterator(); it.hasNext();) {
+ final FilesystemAlterationListener listener =
(FilesystemAlterationListener) it
+ .next();
+ listener.onCreateFile(entry.getFile());
+ }
+ }
+ }
+ entry.markNotChanged();
+ }
+
+
+ private void onChange( final File root, final Entry entry ) {
+ log.debug("changed " + ((entry.isDirectory()) ? "dir " : "file ") +
entry);
+ Map directories;
+ synchronized (mutexListeners) {
+ directories = this.directories;
+ }
+ final Collection l = (Collection) directories.get(root);
+ if (l != null) {
+ if (entry.isDirectory()) {
+ for (Iterator it = l.iterator(); it.hasNext();) {
+ final FilesystemAlterationListener listener =
(FilesystemAlterationListener) it
+ .next();
+ listener.onChangeDirectory(entry.getFile());
+ }
+ } else {
+ for (Iterator it = l.iterator(); it.hasNext();) {
+ final FilesystemAlterationListener listener =
(FilesystemAlterationListener) it
+ .next();
+ listener.onChangeFile(entry.getFile());
+ }
+ }
+ }
+ entry.markNotChanged();
+ }
+
+
+ private void onDelete( final File root, final Entry entry ) {
+ log.debug("deleted " + ((entry.isDirectory()) ? "dir " : "file ") +
entry);
+ Map directories;
+ synchronized (mutexListeners) {
+ directories = this.directories;
+ }
+ final Collection l = (Collection) directories.get(root);
+ if (l != null) {
+ if (entry.isDirectory()) {
+ for (Iterator it = l.iterator(); it.hasNext();) {
+ final FilesystemAlterationListener listener =
(FilesystemAlterationListener) it
+ .next();
+ listener.onDeleteDirectory(entry.getFile());
+ }
+ } else {
+ for (Iterator it = l.iterator(); it.hasNext();) {
+ final FilesystemAlterationListener listener =
(FilesystemAlterationListener) it
+ .next();
+ listener.onDeleteFile(entry.getFile());
+ }
+ }
+ }
+ entry.markNotChanged();
+ }
+
+
+ private void check( final File root, final Entry entry, final boolean
create ) {
+ // log.debug("checking " + entry);
+ if (entry.isDirectory()) {
+ final Entry[] currentChilds = entry.getChilds();
+ if (entry.hasChanged() || create) {
+ // log.debug(entry + " has changed");
+ if (!create) {
+ onChange(root, entry);
+ for (int i = 0; i < currentChilds.length; i++) {
+ final Entry child = currentChilds[i];
+ if (child.isDelected()) {
+ entry.delete(child);
+ currentChilds[i] = null;
+ }
+ }
+ }
+ final Entry[] newChilds = entry.getNonChilds();
+ for (int i = 0; i < newChilds.length; i++) {
+ final Entry child = newChilds[i];
+ entry.add(child);
+ }
+ if (!create) {
+ for (int i = 0; i < currentChilds.length; i++) {
+ final Entry child = currentChilds[i];
+ if (child != null) {
+ check(root, child, false);
+ }
+ }
+ }
+ for (int i = 0; i < newChilds.length; i++) {
+ final Entry child = newChilds[i];
+ check(root, child, true);
+ }
+ } else {
+ // log.debug(entry + " has not changed");
+ for (int i = 0; i < currentChilds.length; i++) {
+ final Entry child = currentChilds[i];
+ check(root, child, false);
+ }
+ }
+ } else {
+ if (entry.isDelected()) {
+ onDelete(root, entry);
+ } else if (entry.hasChanged()) {
+ onChange(root, entry);
+ }
+ }
+ }
+
+
+ public void run() {
+ log.debug("fam running");
+ while (true) {
+ synchronized (mutexRunning) {
+ if (!running) {
+ break;
+ }
+ }
+ Map directories;
+ synchronized (mutexListeners) {
+ directories = this.directories;
+ }
+ for (Iterator it = directories.keySet().iterator(); it.hasNext();)
{
+ final File directory = (File) it.next();
+ if (directory.exists()) {
+ onStart(directory);
+ Entry root;
+ synchronized (mutexListeners) {
+ root = (Entry) entries.get(directory);
+ if (root == null) {
+ root = new Entry(directory, directory);
+ entries.put(directory, root);
+ }
+ }
+ check(directory, root, false);
+ onStop(directory);
+ }
+ }
+ try {
+ Thread.sleep(delay);
+ } catch (final InterruptedException e) {
+ }
+ }
+ log.debug("fam exiting");
+ }
+
+
+
+ public String toString() {
+ return listeners.toString() + directories.toString();
+ }
+
+
+}
Propchange:
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
jakarta/commons/sandbox/jci/trunk/fam/src/main/java/org/apache/commons/jci/monitor/FilesystemAlterationMonitor.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Modified: jakarta/commons/sandbox/jci/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/jakarta/commons/sandbox/jci/trunk/pom.xml?rev=430988&r1=430987&r2=430988&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/pom.xml (original)
+++ jakarta/commons/sandbox/jci/trunk/pom.xml Sat Aug 12 00:20:34 2006
@@ -11,7 +11,7 @@
<artifactId>commons-jci</artifactId>
<version>1.0-SNAPSHOT</version>
- <name>Jakarta Commons JCI</name>
+ <name>jci</name>
<url>http://jakarta.apache.org/commons/sandbox/jci</url>
<description>
Common java compiler interface
@@ -27,6 +27,7 @@
<modules>
<module>core</module>
+ <module>fam</module>
<module>compilers/eclipse</module>
<module>compilers/janino</module>
<module>compilers/groovy</module>
@@ -37,6 +38,7 @@
</modules>
<repositories>
+<!--
<repository>
<id>apache-snapshots</id>
<name>Apache Maven2 Repository</name>
@@ -47,8 +49,28 @@
<name>Maven snapshot Repository</name>
<url>http://snapshots.maven.codehaus.org/maven2</url>
</repository>
+-->
</repositories>
+ <distributionManagement>
+<!--
+ <repository>
+ <id>apache-maven-snapshot</id>
+ <name>repository</name>
+
<url>scpexe://people.apache.org/x1/www/people.apache.org/maven-snapshot-repository</url>
+ </repository>
+ <snapshotRepository>
+ <id>apache-maven-snapshot</id>
+ <name>repository</name>
+
<url>scpexe://people.apache.org/x1/www/people.apache.org/maven-snapshot-repository</url>
+ </snapshotRepository>
+-->
+ <site>
+ <id>website</id>
+
<url>scpexe://people.apache.org/www/jakarta.apache.org/commons/sandbox/jci</url>
+ </site>
+ </distributionManagement>
+
<organization>
<name>The Apache Software Foundation</name>
<url>http://www.apache.org/</url>
@@ -58,7 +80,7 @@
<developer>
<id>tcurdt</id>
<name>Torsten Curdt</name>
- <email>tcurdt at apache.org</email>
+ <email>tcurdt at apache.org</email>
<organization>ASF</organization>
<organizationUrl>http://www.apache.org/</organizationUrl>
<timezone>+10</timezone>
@@ -108,27 +130,7 @@
<url>http://svn.apache.org/viewvc/jakarta/commons/sandbox/jci/trunk</url>
</scm>
- <distributionManagement>
- <repository>
- <id>apache-maven-snapshot</id>
- <name>repository</name>
-
<url>scpexe://people.apache.org/x1/www/people.apache.org/maven-snapshot-repository</url>
- </repository>
- <snapshotRepository>
- <id>apache-maven-snapshot</id>
- <name>repository</name>
-
<url>scpexe://people.apache.org/x1/www/people.apache.org/maven-snapshot-repository</url>
- </snapshotRepository>
- <site>
- <id>website</id>
-
<url>scpexe://people.apache.org/www/jakarta.apache.org/commons/sandbox/jci</url>
- </site>
- </distributionManagement>
-
<build>
- <sourceDirectory>src/java</sourceDirectory>
- <testSourceDirectory>src/test</testSourceDirectory>
-
<plugins>
<plugin>
<artifactId>maven-site-plugin</artifactId>
@@ -148,7 +150,7 @@
<reporting>
<excludeDefaults>true</excludeDefaults>
-
+<!--
<plugins>
<plugin>
@@ -166,12 +168,11 @@
</configuration>
</plugin>
-<!--
<plugin>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.0</version>
</plugin>
--->
+
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.0</version>
@@ -204,9 +205,7 @@
<reports>
<report>project-team</report>
<report>mailing-list</report>
-<!--
<report>dependencies</report>
--->
<report>issue-tracking</report>
<report>license</report>
<report>scm</report>
@@ -215,5 +214,6 @@
</reportSets>
</plugin>
</plugins>
+ -->
</reporting>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]