diff options
author | Joakim Erdfelt <joakime@apache.org> | 2007-02-05 00:30:59 +0000 |
---|---|---|
committer | Joakim Erdfelt <joakime@apache.org> | 2007-02-05 00:30:59 +0000 |
commit | 0d3707a11b467af55e40c29934926331070af9cd (patch) | |
tree | d58942a3a5b07e9ebd0fe8b093f7e35368a830ad | |
parent | cc267c0ad763b138d3272e4fe62594995d56bcc7 (diff) | |
download | archiva-0d3707a11b467af55e40c29934926331070af9cd.tar.gz archiva-0d3707a11b467af55e40c29934926331070af9cd.zip |
Overhauling download link.
* Adding <archiva:downloadArtifact /> taglib.
* Adding ability to download sources, javadoc, and client jars too.
* Adding ActiveManagedRepositories class to aide in anonymous artifact handling.
* Adding test-repository for maven 2.x j2ee artifacts with sources / javadoc / client jars.
* Adding ManagedArtifact class to track this relationship between main artifact and attached artifacts.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@503520 13f79535-47bb-0310-9956-ffa450edef68
208 files changed, 3423 insertions, 123 deletions
diff --git a/archiva-core/pom.xml b/archiva-core/pom.xml index 91f0f8eca..ae3e6616e 100644 --- a/archiva-core/pom.xml +++ b/archiva-core/pom.xml @@ -59,6 +59,11 @@ <version>1.0-alpha-4-SNAPSHOT</version> </dependency> <dependency> + <groupId>org.codehaus.plexus.cache</groupId> + <artifactId>plexus-cache-ehcache</artifactId> + <version>1.0-alpha-1-SNAPSHOT</version> + </dependency> + <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-taskqueue</artifactId> <version>1.0-alpha-6-SNAPSHOT</version> diff --git a/archiva-core/src/main/java/org/apache/maven/archiva/artifact/ManagedArtifact.java b/archiva-core/src/main/java/org/apache/maven/archiva/artifact/ManagedArtifact.java new file mode 100644 index 000000000..940b6bde2 --- /dev/null +++ b/archiva-core/src/main/java/org/apache/maven/archiva/artifact/ManagedArtifact.java @@ -0,0 +1,76 @@ +package org.apache.maven.archiva.artifact; + +/* + * 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. + */ + +import org.apache.maven.artifact.Artifact; + +import java.util.HashMap; +import java.util.Map; + +/** + * ManagedArtifact + * + * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a> + * @version $Id$ + */ +public class ManagedArtifact +{ + private String repositoryId; + + private Artifact artifact; + + private String path; + + protected Map attached; + + public ManagedArtifact( String repoId, Artifact artifact, String path ) + { + super(); + this.repositoryId = repoId; + this.artifact = artifact; + this.path = path; + this.attached = new HashMap(); + } + + public Artifact getArtifact() + { + return artifact; + } + + public String getPath() + { + return path; + } + + public String getRepositoryId() + { + return repositoryId; + } + + public Map getAttached() + { + return attached; + } + + public void setAttached( Map attached ) + { + this.attached = attached; + } +} diff --git a/archiva-core/src/main/java/org/apache/maven/archiva/artifact/ManagedArtifactTypes.java b/archiva-core/src/main/java/org/apache/maven/archiva/artifact/ManagedArtifactTypes.java new file mode 100644 index 000000000..6cccfcd6a --- /dev/null +++ b/archiva-core/src/main/java/org/apache/maven/archiva/artifact/ManagedArtifactTypes.java @@ -0,0 +1,81 @@ +package org.apache.maven.archiva.artifact; + +/* + * 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. + */ + +import org.apache.commons.lang.StringUtils; + +import java.util.ArrayList; +import java.util.List; + +/** + * ManagedArtifactTypes - provides place to test an unknown artifact type. + * + * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a> + * @version $Id$ + */ +public class ManagedArtifactTypes +{ + public static final int GENERIC = 0; + + public static final int JAVA = 1; + + public static final int EJB = 2; + + private static List javaArtifacts; + + private static List ejbArtifacts; + + static + { + javaArtifacts = new ArrayList(); + javaArtifacts.add( "jar" ); + javaArtifacts.add( "war" ); + javaArtifacts.add( "sar" ); + javaArtifacts.add( "rar" ); + javaArtifacts.add( "ear" ); + + ejbArtifacts = new ArrayList(); + ejbArtifacts.add( "ejb" ); + ejbArtifacts.add( "ejb-client" ); + } + + public static int whichType( String type ) + { + if ( StringUtils.isBlank( type ) ) + { + // TODO: is an empty type even possible? + return GENERIC; + } + + type = type.toLowerCase(); + + if ( ejbArtifacts.contains( type ) ) + { + return EJB; + } + + if ( javaArtifacts.contains( type ) ) + { + return JAVA; + } + + return GENERIC; + } +} diff --git a/archiva-core/src/main/java/org/apache/maven/archiva/artifact/ManagedEjbArtifact.java b/archiva-core/src/main/java/org/apache/maven/archiva/artifact/ManagedEjbArtifact.java new file mode 100644 index 000000000..eacf1cbdf --- /dev/null +++ b/archiva-core/src/main/java/org/apache/maven/archiva/artifact/ManagedEjbArtifact.java @@ -0,0 +1,49 @@ +package org.apache.maven.archiva.artifact; + +/* + * 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. + */ + +import org.apache.maven.artifact.Artifact; + +/** + * ManagedEjbArtifact - adds the ability to reference the ejb-client jar too. + * + * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a> + * @version $Id$ + */ +public class ManagedEjbArtifact + extends ManagedJavaArtifact +{ + public static final String CLIENT = "client"; + + public ManagedEjbArtifact( String repoId, Artifact artifact, String path ) + { + super( repoId, artifact, path ); + } + + public String getClientPath() + { + return (String) super.attached.get( CLIENT ); + } + + public void setClientPath( String clientPath ) + { + super.attached.put( CLIENT, clientPath ); + } +} diff --git a/archiva-core/src/main/java/org/apache/maven/archiva/artifact/ManagedJavaArtifact.java b/archiva-core/src/main/java/org/apache/maven/archiva/artifact/ManagedJavaArtifact.java new file mode 100644 index 000000000..babb88420 --- /dev/null +++ b/archiva-core/src/main/java/org/apache/maven/archiva/artifact/ManagedJavaArtifact.java @@ -0,0 +1,62 @@ +package org.apache.maven.archiva.artifact; + +/* + * 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. + */ + +import org.apache.maven.artifact.Artifact; + +/** + * ManagedJavaArtifact - a ManagedArtifact with optional javadoc and source + * reference jars. + * + * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a> + * @version $Id$ + */ +public class ManagedJavaArtifact + extends ManagedArtifact +{ + public static final String JAVADOC = "javadoc"; + + public static final String SOURCES = "sources"; + + public ManagedJavaArtifact( String repoId, Artifact artifact, String path ) + { + super( repoId, artifact, path ); + } + + public String getJavadocPath() + { + return (String) super.attached.get( JAVADOC ); + } + + public void setJavadocPath( String javadocPath ) + { + super.attached.put( JAVADOC, javadocPath ); + } + + public String getSourcesPath() + { + return (String) super.attached.get( SOURCES ); + } + + public void setSourcesPath( String sourcesPath ) + { + super.attached.put( SOURCES, sourcesPath ); + } +} diff --git a/archiva-core/src/main/java/org/apache/maven/archiva/repositories/ActiveManagedRepositories.java b/archiva-core/src/main/java/org/apache/maven/archiva/repositories/ActiveManagedRepositories.java new file mode 100644 index 000000000..e519fa7a7 --- /dev/null +++ b/archiva-core/src/main/java/org/apache/maven/archiva/repositories/ActiveManagedRepositories.java @@ -0,0 +1,58 @@ +package org.apache.maven.archiva.repositories; + +/* + * 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. + */ + +import org.apache.maven.archiva.artifact.ManagedArtifact; +import org.apache.maven.archiva.configuration.RepositoryConfiguration; +import org.apache.maven.artifact.Artifact; +import org.apache.maven.artifact.repository.ArtifactRepository; +import org.apache.maven.project.MavenProject; +import org.apache.maven.project.ProjectBuildingException; + +/** + * ActiveManagedRepositories + * + * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a> + * @version $Id$ + */ +public interface ActiveManagedRepositories +{ + public static final String ROLE = ActiveManagedRepositories.class.getName(); + + /** + * Obtain the ArtifactRepository for the specified Repository ID. + * + * @param id the ID of the repository. + * @return the ArtifactRepository associated with the provided ID, or null if none found. + */ + public ArtifactRepository getArtifactRepository( String id ); + + public RepositoryConfiguration getRepositoryConfiguration( String id ); + + public MavenProject findProject( String groupId, String artifactId, String version ) + throws ProjectBuildingException; + + public ManagedArtifact findArtifact( String groupId, String artifactId, String version ) + throws ProjectBuildingException; + + public ManagedArtifact findArtifact( String groupId, String artifactId, String version, String type ); + + public ManagedArtifact findArtifact( Artifact artifact ); +} diff --git a/archiva-core/src/main/java/org/apache/maven/archiva/repositories/DefaultActiveManagedRepositories.java b/archiva-core/src/main/java/org/apache/maven/archiva/repositories/DefaultActiveManagedRepositories.java new file mode 100644 index 000000000..b85584d12 --- /dev/null +++ b/archiva-core/src/main/java/org/apache/maven/archiva/repositories/DefaultActiveManagedRepositories.java @@ -0,0 +1,284 @@ +package org.apache.maven.archiva.repositories; + +/* + * 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. + */ + +import org.apache.commons.lang.StringUtils; +import org.apache.maven.archiva.artifact.ManagedArtifact; +import org.apache.maven.archiva.artifact.ManagedArtifactTypes; +import org.apache.maven.archiva.artifact.ManagedEjbArtifact; +import org.apache.maven.archiva.artifact.ManagedJavaArtifact; +import org.apache.maven.archiva.configuration.Configuration; +import org.apache.maven.archiva.configuration.ConfigurationChangeException; +import org.apache.maven.archiva.configuration.ConfigurationChangeListener; +import org.apache.maven.archiva.configuration.ConfigurationStore; +import org.apache.maven.archiva.configuration.ConfigurationStoreException; +import org.apache.maven.archiva.configuration.ConfiguredRepositoryFactory; +import org.apache.maven.archiva.configuration.InvalidConfigurationException; +import org.apache.maven.archiva.configuration.RepositoryConfiguration; +import org.apache.maven.artifact.Artifact; +import org.apache.maven.artifact.factory.ArtifactFactory; +import org.apache.maven.artifact.repository.ArtifactRepository; +import org.apache.maven.model.Model; +import org.apache.maven.project.MavenProject; +import org.apache.maven.project.MavenProjectBuilder; +import org.apache.maven.project.ProjectBuildingException; +import org.codehaus.plexus.cache.Cache; +import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable; +import org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException; + +import java.io.File; +import java.util.Iterator; +import java.util.List; + +/** + * DefaultActiveManagedRepositories + * + * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a> + * @version $Id$ + * @plexus.component role="org.apache.maven.archiva.repositories.ActiveManagedRepositories" + */ +public class DefaultActiveManagedRepositories + implements ActiveManagedRepositories, ConfigurationChangeListener, Initializable +{ + /** + * @plexus.requirement role-hint="artifactCache" + */ + private Cache artifactCache; + + /** + * @plexus.requirement + */ + private ArtifactFactory artifactFactory; + + /** + * @plexus.requirement + */ + private ConfigurationStore configurationStore; + + /** + * @plexus.requirement + */ + private MavenProjectBuilder projectBuilder; + + /** + * @plexus.requirement role-hint="projectCache" + */ + private Cache projectCache; + + /** + * @plexus.requirement + */ + private ConfiguredRepositoryFactory repositoryFactory; + + private Configuration configuration; + + private ArtifactRepository localRepository; + + private List repositories; + + public Artifact createRelatedArtifact( Artifact artifact, String classifier, String type ) + { + String groupId = artifact.getGroupId(); + String artifactId = artifact.getArtifactId(); + String version = artifact.getVersion(); + String reltype = StringUtils.defaultIfEmpty( type, artifact.getType() ); + return artifactFactory.createArtifactWithClassifier( groupId, artifactId, version, reltype, classifier ); + } + + public ManagedArtifact findArtifact( Artifact artifact ) + { + ManagedArtifact managedArtifact = (ManagedArtifact) artifactCache.get( toKey( artifact ) ); + + if ( managedArtifact != null ) + { + return managedArtifact; + } + + boolean snapshot = artifact.isSnapshot(); + + for ( Iterator i = repositories.iterator(); i.hasNext(); ) + { + ArtifactRepository repository = (ArtifactRepository) i.next(); + if ( snapshot && !repository.getSnapshots().isEnabled() ) + { + // skip repo. + continue; + } + + String path = repository.pathOf( artifact ); + File f = new File( repository.getBasedir(), path ); + if ( f.exists() ) + { + // Found it. + managedArtifact = createManagedArtifact( repository, artifact, f ); + + artifactCache.put( toKey( artifact ), managedArtifact ); + + return managedArtifact; + } + } + + return null; + } + + public ManagedArtifact findArtifact( String groupId, String artifactId, String version ) + throws ProjectBuildingException + { + MavenProject project = findProject( groupId, artifactId, version ); + Model model = project.getModel(); + + return findArtifact( model.getGroupId(), model.getArtifactId(), model.getVersion(), model.getPackaging() ); + } + + public ManagedArtifact findArtifact( String groupId, String artifactId, String version, String type ) + { + Artifact artifact = artifactFactory.createBuildArtifact( groupId, artifactId, version, type ); + return findArtifact( artifact ); + } + + public MavenProject findProject( String groupId, String artifactId, String version ) + throws ProjectBuildingException + { + MavenProject project = (MavenProject) projectCache.get( toKey( groupId, artifactId, version ) ); + + if ( project != null ) + { + return project; + } + + Artifact projectArtifact = artifactFactory.createProjectArtifact( groupId, artifactId, version ); + + project = projectBuilder.buildFromRepository( projectArtifact, repositories, localRepository ); + + projectCache.put( toKey( groupId, artifactId, version ), project ); + + return project; + } + + public ArtifactRepository getArtifactRepository( String id ) + { + RepositoryConfiguration repoConfig = getRepositoryConfiguration( id ); + if ( repoConfig == null ) + { + return null; + } + + return repositoryFactory.createRepository( repoConfig ); + } + + public RepositoryConfiguration getRepositoryConfiguration( String id ) + { + return this.configuration.getRepositoryById( id ); + } + + public void initialize() + throws InitializationException + { + Configuration config; + try + { + config = configurationStore.getConfigurationFromStore(); + configureSelf( config ); + } + catch ( ConfigurationStoreException e ) + { + throw new InitializationException( "Unable to load configuration.", e ); + } + } + + public void notifyOfConfigurationChange( Configuration config ) + throws InvalidConfigurationException, ConfigurationChangeException + { + configureSelf( config ); + } + + private String toKey( Artifact artifact ) + { + if ( artifact == null ) + { + return null; + } + + return toKey( artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion() ); + } + + private String toKey( String groupId, String artifactId, String version ) + { + return groupId + ":" + artifactId + ":" + version; + } + + private void configureSelf( Configuration config ) + { + this.configuration = config; + this.artifactCache.clear(); + this.projectCache.clear(); + + repositories = repositoryFactory.createRepositories( this.configuration ); + localRepository = repositoryFactory.createLocalRepository( this.configuration ); + } + + private ManagedArtifact createManagedArtifact( ArtifactRepository repository, Artifact artifact, File f ) + { + artifact.isSnapshot(); + String path = repository.pathOf( artifact ); + + switch ( ManagedArtifactTypes.whichType( artifact.getType() ) ) + { + case ManagedArtifactTypes.EJB: + ManagedEjbArtifact managedEjbArtifact = new ManagedEjbArtifact( repository.getId(), artifact, path ); + + managedEjbArtifact.setJavadocPath( pathToRelatedArtifact( repository, artifact, "javadoc", "jar" ) ); + managedEjbArtifact.setSourcesPath( pathToRelatedArtifact( repository, artifact, "sources", "jar" ) ); + managedEjbArtifact.setClientPath( pathToRelatedArtifact( repository, artifact, "client", "jar" ) ); + + return managedEjbArtifact; + + case ManagedArtifactTypes.JAVA: + ManagedJavaArtifact managedJavaArtifact = new ManagedJavaArtifact( repository.getId(), artifact, path ); + + managedJavaArtifact.setJavadocPath( pathToRelatedArtifact( repository, artifact, "javadoc", "jar" ) ); + managedJavaArtifact.setSourcesPath( pathToRelatedArtifact( repository, artifact, "sources", "jar" ) ); + + return managedJavaArtifact; + + case ManagedArtifactTypes.GENERIC: + default: + return new ManagedArtifact( repository.getId(), artifact, path ); + } + } + + private String pathToRelatedArtifact( ArtifactRepository repository, Artifact artifact, String classifier, + String type ) + { + Artifact relatedArtifact = createRelatedArtifact( artifact, classifier, type ); + + relatedArtifact.isSnapshot(); + String path = repository.pathOf( relatedArtifact ); + + File relatedFile = new File( repository.getBasedir(), path ); + if ( !relatedFile.exists() ) + { + // Return null to set the ManagedArtifact related path to empty. + return null; + } + + return path; + } +} diff --git a/archiva-core/src/main/java/org/apache/maven/archiva/scheduler/executors/IndexerTaskExecutor.java b/archiva-core/src/main/java/org/apache/maven/archiva/scheduler/executors/IndexerTaskExecutor.java index 85801f781..6282e5c5e 100644 --- a/archiva-core/src/main/java/org/apache/maven/archiva/scheduler/executors/IndexerTaskExecutor.java +++ b/archiva-core/src/main/java/org/apache/maven/archiva/scheduler/executors/IndexerTaskExecutor.java @@ -241,8 +241,8 @@ public class IndexerTaskExecutor for ( int j = 0; j < artifacts.size(); j += ARTIFACT_BUFFER_SIZE ) { int end = j + ARTIFACT_BUFFER_SIZE; - List currentArtifacts = - artifacts.subList( j, end > artifacts.size() ? artifacts.size() : end ); + List currentArtifacts = artifacts.subList( j, end > artifacts.size() ? artifacts.size() + : end ); // TODO: proper queueing of this in case it was triggered externally (not harmful to do so at present, but not optimal) @@ -260,10 +260,10 @@ public class IndexerTaskExecutor MetadataFilter metadataFilter = new ReportingMetadataFilter( reporter ); - MetadataDiscoverer metadataDiscoverer = - (MetadataDiscoverer) metadataDiscoverers.get( layoutProperty ); - List metadata = - metadataDiscoverer.discoverMetadata( repository, blacklistedPatterns, metadataFilter ); + MetadataDiscoverer metadataDiscoverer = (MetadataDiscoverer) metadataDiscoverers + .get( layoutProperty ); + List metadata = metadataDiscoverer.discoverMetadata( repository, blacklistedPatterns, + metadataFilter ); if ( !metadata.isEmpty() ) { @@ -307,14 +307,18 @@ public class IndexerTaskExecutor { if ( projectBuilder != null ) { + getLogger().info( "projectBuilder is type " + projectBuilder.getClass().getName() ); + java.lang.reflect.Field f = projectBuilder.getClass().getDeclaredField( "rawProjectCache" ); f.setAccessible( true ); Map cache = (Map) f.get( projectBuilder ); + getLogger().info( "projectBuilder.raw is type " + cache.getClass().getName() ); cache.clear(); f = projectBuilder.getClass().getDeclaredField( "processedProjectCache" ); f.setAccessible( true ); cache = (Map) f.get( projectBuilder ); + getLogger().info( "projectBuilder.processed is type " + cache.getClass().getName() ); cache.clear(); } } diff --git a/archiva-core/src/main/resources/META-INF/plexus/components.xml b/archiva-core/src/main/resources/META-INF/plexus/components.xml index 46114b73d..1fe09e4ff 100644 --- a/archiva-core/src/main/resources/META-INF/plexus/components.xml +++ b/archiva-core/src/main/resources/META-INF/plexus/components.xml @@ -54,6 +54,44 @@ <name>indexer</name> </configuration> </component> + + <component> + <role>org.codehaus.plexus.cache.Cache</role> + <role-hint>artifactCache</role-hint> + <implementation>org.codehaus.plexus.cache.ehcache.EhcacheCache</implementation> + <description>EhcacheCache</description> + <configuration> + <disk-expiry-thread-interval-seconds>600</disk-expiry-thread-interval-seconds> + <disk-persistent>false</disk-persistent> + <disk-store-path>${appserver.base}/.cache/artifacts</disk-store-path> + <eternal>false</eternal> + <max-elements-in-memory>1000</max-elements-in-memory> + <memory-eviction-policy>LRU</memory-eviction-policy> + <name>artifact-cache</name> + <overflow-to-disk>false</overflow-to-disk> + <time-to-idle-seconds>600</time-to-idle-seconds> + <time-to-live-seconds>300</time-to-live-seconds> + </configuration> + </component> + + <component> + <role>org.codehaus.plexus.cache.Cache</role> + <role-hint>projectCache</role-hint> + <implementation>org.codehaus.plexus.cache.ehcache.EhcacheCache</implementation> + <description>EhcacheCache</description> + <configuration> + <disk-expiry-thread-interval-seconds>600</disk-expiry-thread-interval-seconds> + <disk-persistent>false</disk-persistent> + <disk-store-path>${appserver.base}/.cache/projects</disk-store-path> + <eternal>false</eternal> + <max-elements-in-memory>1000</max-elements-in-memory> + <memory-eviction-policy>LRU</memory-eviction-policy> + <name>project-cache</name> + <overflow-to-disk>false</overflow-to-disk> + <time-to-idle-seconds>600</time-to-idle-seconds> + <time-to-live-seconds>300</time-to-live-seconds> + </configuration> + </component> </components> </component-set> diff --git a/archiva-core/src/test/conf/archiva.xml b/archiva-core/src/test/conf/archiva.xml new file mode 100644 index 000000000..0eb7434ec --- /dev/null +++ b/archiva-core/src/test/conf/archiva.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + ~ 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. + --> + +<configuration> + <repositories> + <repository> + <urlName>test</urlName> + <directory>src/test/maven-2.x-repository</directory> + <id>test</id> + <name>Test Repository</name> + </repository> + </repositories> + <proxiedRepositories> + </proxiedRepositories> + <localRepository>target/local-repository</localRepository> + <indexPath>target/.index</indexPath> +</configuration> diff --git a/archiva-core/src/test/java/org/apache/maven/archiva/repositories/DefaultActiveManagedRepositoriesTest.java b/archiva-core/src/test/java/org/apache/maven/archiva/repositories/DefaultActiveManagedRepositoriesTest.java new file mode 100644 index 000000000..52a117d52 --- /dev/null +++ b/archiva-core/src/test/java/org/apache/maven/archiva/repositories/DefaultActiveManagedRepositoriesTest.java @@ -0,0 +1,205 @@ +package org.apache.maven.archiva.repositories; + +/* + * 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. + */ + +import org.apache.maven.archiva.artifact.ManagedArtifact; +import org.apache.maven.archiva.artifact.ManagedEjbArtifact; +import org.apache.maven.archiva.artifact.ManagedJavaArtifact; +import org.codehaus.plexus.PlexusTestCase; + +/** + * DefaultActiveManagedRepositoriesTest + * + * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a> + * @version $Id$ + */ +public class DefaultActiveManagedRepositoriesTest + extends PlexusTestCase +{ + private ActiveManagedRepositories managedRepos; + + protected void setUp() + throws Exception + { + super.setUp(); + + managedRepos = (DefaultActiveManagedRepositories) lookup( ActiveManagedRepositories.ROLE ); + } + + /** + * Test a simple java find artifact with extras (sources / javadoc). + */ + public void testFindArtifactJavaWithExtras() + { + ManagedArtifact artifact = managedRepos.findArtifact( "geronimo", "daytrader-wsappclient", "1.1", "jar" ); + assertNotNull( artifact ); + + if ( !( artifact instanceof ManagedJavaArtifact ) ) + { + fail( "Expected artifact to be type <" + ManagedJavaArtifact.class.getName() + "> but was actually <" + + artifact.getClass().getName() + ">." ); + } + + ManagedJavaArtifact javaArtifact = (ManagedJavaArtifact) artifact; + + assertEquals( "test", javaArtifact.getRepositoryId() ); + + String pathPrefix = "geronimo/daytrader-wsappclient/1.1"; + String pathArtifactVersion = "daytrader-wsappclient-1.1"; + + assertEquals( pathPrefix + "/" + pathArtifactVersion + ".jar", javaArtifact.getPath() ); + assertEquals( pathPrefix + "/" + pathArtifactVersion + "-javadoc.jar", javaArtifact.getJavadocPath() ); + assertEquals( pathPrefix + "/" + pathArtifactVersion + "-sources.jar", javaArtifact.getSourcesPath() ); + } + + /** + * Test a simple java find artifact with no extras. + */ + public void testFindArtifactJavaSimple() + { + ManagedArtifact artifact = managedRepos.findArtifact( "geronimo", "daytrader-streamer", "1.1", "jar" ); + assertNotNull( artifact ); + + if ( !( artifact instanceof ManagedJavaArtifact ) ) + { + fail( "Expected artifact to be type <" + ManagedJavaArtifact.class.getName() + "> but was actually <" + + artifact.getClass().getName() + ">." ); + } + + ManagedJavaArtifact javaArtifact = (ManagedJavaArtifact) artifact; + + assertEquals( "test", javaArtifact.getRepositoryId() ); + + String pathPrefix = "geronimo/daytrader-streamer/1.1"; + String pathArtifactVersion = "daytrader-streamer-1.1"; + + assertEquals( pathPrefix + "/" + pathArtifactVersion + ".jar", javaArtifact.getPath() ); + assertNull( "should have no javadoc jar.", javaArtifact.getJavadocPath() ); + assertNull( "should have no sources jar.", javaArtifact.getSourcesPath() ); + } + + /** + * Test a java find of a snapshot artifact that uses a timestamp format. + */ + public void testFindArtifactJavaSnapshotTimestamp() + { + ManagedArtifact artifact = managedRepos.findArtifact( "org.apache.geronimo.daytrader", "daytrader-wsappclient", + "2.0-20070201.183230-5", "jar" ); + assertNotNull( artifact ); + + if ( !( artifact instanceof ManagedJavaArtifact ) ) + { + fail( "Expected artifact to be type <" + ManagedJavaArtifact.class.getName() + "> but was actually <" + + artifact.getClass().getName() + ">." ); + } + + ManagedJavaArtifact javaArtifact = (ManagedJavaArtifact) artifact; + + assertEquals( "test", javaArtifact.getRepositoryId() ); + + String pathPrefix = "org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT"; + String pathArtifactVersion = "daytrader-wsappclient-2.0-20070201.183230-5"; + + assertEquals( pathPrefix + "/" + pathArtifactVersion + ".jar", javaArtifact.getPath() ); + assertEquals( pathPrefix + "/" + pathArtifactVersion + "-javadoc.jar", javaArtifact.getJavadocPath() ); + assertEquals( pathPrefix + "/" + pathArtifactVersion + "-sources.jar", javaArtifact.getSourcesPath() ); + } + + /** + * Test a java find of a snapshot artifact. + */ + public void testFindArtifactJavaSnapshot() + { + ManagedArtifact artifact = managedRepos.findArtifact( "org.apache.geronimo.daytrader", "daytrader-wsappclient", + "2.0-SNAPSHOT", "jar" ); + assertNotNull( artifact ); + + if ( !( artifact instanceof ManagedJavaArtifact ) ) + { + fail( "Expected artifact to be type <" + ManagedJavaArtifact.class.getName() + "> but was actually <" + + artifact.getClass().getName() + ">." ); + } + + ManagedJavaArtifact javaArtifact = (ManagedJavaArtifact) artifact; + + assertEquals( "test", javaArtifact.getRepositoryId() ); + + String pathPrefix = "org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT"; + String pathArtifactVersion = "daytrader-wsappclient-2.0-SNAPSHOT"; + + assertEquals( pathPrefix + "/" + pathArtifactVersion + ".jar", javaArtifact.getPath() ); + assertEquals( pathPrefix + "/" + pathArtifactVersion + "-javadoc.jar", javaArtifact.getJavadocPath() ); + assertEquals( pathPrefix + "/" + pathArtifactVersion + "-sources.jar", javaArtifact.getSourcesPath() ); + } + + /** + * Test a ejb find of a snapshot artifact that also has a client jar available. + */ + public void testFindArtifactEjbSnapshot() + { + ManagedArtifact artifact = managedRepos.findArtifact( "org.apache.geronimo.daytrader", "daytrader-ejb", + "2.0-SNAPSHOT", "ejb" ); + assertNotNull( artifact ); + + if ( !( artifact instanceof ManagedEjbArtifact ) ) + { + fail( "Expected artifact to be type <" + ManagedEjbArtifact.class.getName() + "> but was actually <" + + artifact.getClass().getName() + ">." ); + } + + ManagedEjbArtifact ejbArtifact = (ManagedEjbArtifact) artifact; + + assertEquals( "test", ejbArtifact.getRepositoryId() ); + + String pathPrefix = "org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT"; + String pathArtifactVersion = "daytrader-ejb-2.0-SNAPSHOT"; + + assertEquals( pathPrefix + "/" + pathArtifactVersion + ".jar", ejbArtifact.getPath() ); + assertEquals( pathPrefix + "/" + pathArtifactVersion + "-client.jar", ejbArtifact.getClientPath() ); + assertEquals( pathPrefix + "/" + pathArtifactVersion + "-javadoc.jar", ejbArtifact.getJavadocPath() ); + assertEquals( pathPrefix + "/" + pathArtifactVersion + "-sources.jar", ejbArtifact.getSourcesPath() ); + } + + /** + * Test a simple java find artifact with no extras. + */ + public void testFindArtifactWar() + { + ManagedArtifact artifact = managedRepos.findArtifact( "geronimo", "daytrader-web", "1.1", "war" ); + assertNotNull( artifact ); + + if ( !( artifact instanceof ManagedJavaArtifact ) ) + { + fail( "Expected artifact to be type <" + ManagedJavaArtifact.class.getName() + "> but was actually <" + + artifact.getClass().getName() + ">." ); + } + + ManagedJavaArtifact warArtifact = (ManagedJavaArtifact) artifact; + + assertEquals( "test", warArtifact.getRepositoryId() ); + + String pathPrefix = "geronimo/daytrader-web/1.1"; + String pathArtifactVersion = "daytrader-web-1.1"; + + assertEquals( pathPrefix + "/" + pathArtifactVersion + ".war", warArtifact.getPath() ); + assertEquals( pathPrefix + "/" + pathArtifactVersion + "-javadoc.jar", warArtifact.getJavadocPath() ); + assertNull( "should have no sources jar.", warArtifact.getSourcesPath() ); + } +} diff --git a/archiva-core/src/test/java/org/apache/maven/archiva/scheduler/executors/IndexerTaskExecutorTest.java b/archiva-core/src/test/java/org/apache/maven/archiva/scheduler/executors/IndexerTaskExecutorTest.java new file mode 100644 index 000000000..18cb1b01f --- /dev/null +++ b/archiva-core/src/test/java/org/apache/maven/archiva/scheduler/executors/IndexerTaskExecutorTest.java @@ -0,0 +1,75 @@ +package org.apache.maven.archiva.scheduler.executors; + +/* + * 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. + */ + +import org.apache.commons.io.FileUtils; +import org.apache.maven.archiva.configuration.Configuration; +import org.apache.maven.archiva.configuration.ConfigurationStore; +import org.apache.maven.archiva.configuration.ConfigurationStoreException; +import org.apache.maven.archiva.scheduler.task.IndexerTask; +import org.codehaus.plexus.PlexusTestCase; +import org.codehaus.plexus.taskqueue.execution.TaskExecutionException; +import org.codehaus.plexus.taskqueue.execution.TaskExecutor; + +import java.io.File; + +/** + * IndexerTaskExecutorTest + * + * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a> + * @version $Id$ + */ +public class IndexerTaskExecutorTest + extends PlexusTestCase +{ + private TaskExecutor taskExecutor; + + protected void setUp() + throws Exception + { + super.setUp(); + + taskExecutor = (TaskExecutor) lookup( "org.codehaus.plexus.taskqueue.execution.TaskExecutor", "indexer" ); + + ConfigurationStore configurationStore = (ConfigurationStore) lookup( ConfigurationStore.ROLE ); + Configuration configuration = configurationStore.getConfigurationFromStore(); + + File indexPath = new File( configuration.getIndexPath() ); + if ( indexPath.exists() ) + { + FileUtils.deleteDirectory( indexPath ); + } + } + + public void testIndexer() + throws TaskExecutionException + { + taskExecutor.executeTask( new TestIndexerTask() ); + } + + class TestIndexerTask + extends IndexerTask + { + public String getJobName() + { + return "TestIndexer"; + } + } +} diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.ear b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.ear Binary files differnew file mode 100644 index 000000000..80b49f711 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.ear diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.ear.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.ear.md5 new file mode 100644 index 000000000..01cad97dd --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.ear.md5 @@ -0,0 +1 @@ +4d677e8e95fb342512e3d05ea68a501d
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.ear.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.ear.sha1 new file mode 100644 index 000000000..85401c955 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.ear.sha1 @@ -0,0 +1 @@ +58f1e8ae41f12747947c947437e262d9f3bd3ce7
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.pom b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.pom new file mode 100644 index 000000000..a53bc5473 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.pom @@ -0,0 +1,91 @@ +<?xml version="1.0" encoding="UTF-8"?><project> + <parent> + <artifactId>daytrader</artifactId> + <groupId>geronimo</groupId> + <version>1.1</version> + </parent> + <modelVersion>4.0.0</modelVersion> + <artifactId>daytrader-ear</artifactId> + <packaging>ear</packaging> + <name>DayTrader :: Enterprise Application</name> + <version>1.1</version> + <description>Daytrader EAR</description> + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/ear</connection> + <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/ear</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/geronimo/daytrader/trunk/modules/ear</url> + </scm> + <build> + <plugins> + <plugin> + <artifactId>maven-ear-plugin</artifactId> + <configuration> + <displayName>DayTrader 1.1</displayName> + <description>DayTrader Stock Trading Performance Benchmark + Sample</description> + <version>1.4</version> + <modules> + <webModule> + <groupId>geronimo</groupId> + <artifactId>daytrader-web</artifactId> + <contextRoot>/daytrader</contextRoot> + <bundleFileName>web.war</bundleFileName> + </webModule> + <ejbModule> + <groupId>geronimo</groupId> + <artifactId>daytrader-ejb</artifactId> + <bundleFileName>dt-ejb.jar</bundleFileName> + </ejbModule> + <javaModule> + <groupId>geronimo</groupId> + <artifactId>daytrader-streamer</artifactId> + <bundleFileName>streamer.jar</bundleFileName> + <includeInApplicationXml>true</includeInApplicationXml> + </javaModule> + <javaModule> + <groupId>geronimo</groupId> + <artifactId>daytrader-wsappclient</artifactId> + <bundleFileName>wsappclient.jar</bundleFileName> + </javaModule> + </modules> + </configuration> + </plugin> + <plugin> + <artifactId>maven-one-plugin</artifactId> + <version>1.0</version> + <executions> + <execution> + <goals> + <goal>install-maven-one-repository</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>geronimo</groupId> + <artifactId>daytrader-web</artifactId> + <type>war</type> + </dependency> + <dependency> + <groupId>geronimo</groupId> + <artifactId>daytrader-ejb</artifactId> + <type>ejb</type> + </dependency> + <dependency> + <groupId>geronimo</groupId> + <artifactId>daytrader-streamer</artifactId> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>geronimo</groupId> + <artifactId>daytrader-wsappclient</artifactId> + <scope>compile</scope> + </dependency> + </dependencies> + <distributionManagement> + <status>deployed</status> + </distributionManagement> +</project>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.pom.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.pom.md5 new file mode 100644 index 000000000..0000c0edc --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.pom.md5 @@ -0,0 +1 @@ +506f014fdec1a0e02b4a40b6e7a9a40c
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.pom.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.pom.sha1 new file mode 100644 index 000000000..9a50839c3 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/1.1/daytrader-ear-1.1.pom.sha1 @@ -0,0 +1 @@ +7aa0572d8d06ed6c2d14b9a79f16427127f3a2dc
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/maven-metadata.xml new file mode 100644 index 000000000..5f2349953 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>geronimo</groupId> + <artifactId>daytrader-ear</artifactId> + <version>1.1</version> + <versioning> + <versions> + <version>1.1</version> + </versions> + <lastUpdated>20070201170106</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/maven-metadata.xml.md5 new file mode 100644 index 000000000..944f82522 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/maven-metadata.xml.md5 @@ -0,0 +1 @@ +162bb9adf25e1044c3e6bc4ab7a28963
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/maven-metadata.xml.sha1 new file mode 100644 index 000000000..c88cdfb3a --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ear/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +0c485c6093f11d16e8710d58b3f4fbe2184428ec
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-client.jar b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-client.jar Binary files differnew file mode 100644 index 000000000..c6fa8002a --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-client.jar diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-client.jar.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-client.jar.md5 new file mode 100644 index 000000000..8841283dd --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-client.jar.md5 @@ -0,0 +1 @@ +ece384b9ed97eb5ab3337022a2425738
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-client.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-client.jar.sha1 new file mode 100644 index 000000000..855b1189a --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-client.jar.sha1 @@ -0,0 +1 @@ +8c97bc705524dd2798c2bbdb0978bf20a09f4adb
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-javadoc.jar b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-javadoc.jar Binary files differnew file mode 100644 index 000000000..e3b7f7e53 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-javadoc.jar diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-javadoc.jar.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-javadoc.jar.md5 new file mode 100644 index 000000000..4ea375c01 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-javadoc.jar.md5 @@ -0,0 +1 @@ +d4fe361b7e0c648d127d8143003abdbc
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-javadoc.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-javadoc.jar.sha1 new file mode 100644 index 000000000..c2aa7d5b4 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-javadoc.jar.sha1 @@ -0,0 +1 @@ +4ebf4a3ff5ee70473284d2008df145905cd09b80
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-sources.jar b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-sources.jar Binary files differnew file mode 100644 index 000000000..d9eb50c99 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-sources.jar diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-sources.jar.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-sources.jar.md5 new file mode 100644 index 000000000..ea30a8369 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-sources.jar.md5 @@ -0,0 +1 @@ +b7b6eea84bc331c0f6485bc9cda1f263
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-sources.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-sources.jar.sha1 new file mode 100644 index 000000000..6edb60e58 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1-sources.jar.sha1 @@ -0,0 +1 @@ +a08204dc89d2b3324143ed6e73c0c79249920a6d
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.jar b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.jar Binary files differnew file mode 100644 index 000000000..aa71d37f6 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.jar diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.jar.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.jar.md5 new file mode 100644 index 000000000..e09cdb877 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.jar.md5 @@ -0,0 +1 @@ +95041ac6ca18e5d2edfd076a1db17260
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.jar.sha1 new file mode 100644 index 000000000..96cd1fdd5 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.jar.sha1 @@ -0,0 +1 @@ +241a1816ec34ac7199bdad4245aa23f26eff0dbc
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.pom b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.pom new file mode 100644 index 000000000..8a8978fd7 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.pom @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="UTF-8"?><project> + <parent> + <artifactId>daytrader</artifactId> + <groupId>geronimo</groupId> + <version>1.1</version> + <relativePath>../../pom.xml</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <groupId>geronimo</groupId> + <artifactId>daytrader-ejb</artifactId> + <packaging>ejb</packaging> + <name>DayTrader :: EJBs</name> + <version>1.1</version> + <description>Daytrader EJBs</description> + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/ejb</connection> + <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/ejb</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/geronimo/daytrader/trunk/modules/ejb</url> + </scm> + <build> + <resources> + <resource> + <filtering>true</filtering> + <directory>${basedir}/src/main/resources</directory> + </resource> + </resources> + <plugins> + <plugin> + <artifactId>maven-ejb-plugin</artifactId> + <configuration> + <generateClient>true</generateClient> + <archive> + <manifestEntries> + <Class-Path>wsappclient.jar</Class-Path> + </manifestEntries> + </archive> + </configuration> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>geronimo</groupId> + <artifactId>daytrader-wsappclient</artifactId> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-j2ee_1.4_spec</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + </dependencies> + <distributionManagement> + <status>deployed</status> + </distributionManagement> +</project>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.pom.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.pom.md5 new file mode 100644 index 000000000..8ca31a4b5 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.pom.md5 @@ -0,0 +1 @@ +f74a51504ccf227e4ef23e2e39a2b795
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.pom.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.pom.sha1 new file mode 100644 index 000000000..bc7889f63 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/1.1/daytrader-ejb-1.1.pom.sha1 @@ -0,0 +1 @@ +71ea326f41c0e11f213a31453eb295cdaafedaf3
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/maven-metadata.xml new file mode 100644 index 000000000..52ce17cdd --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>geronimo</groupId> + <artifactId>daytrader-ejb</artifactId> + <version>1.1</version> + <versioning> + <versions> + <version>1.1</version> + </versions> + <lastUpdated>20070201170050</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/maven-metadata.xml.md5 new file mode 100644 index 000000000..5212834f0 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/maven-metadata.xml.md5 @@ -0,0 +1 @@ +0ad0dd0c31b907837cd76d8d078fa1a7
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/maven-metadata.xml.sha1 new file mode 100644 index 000000000..9d6e02b2f --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-ejb/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +727eab340e25ac049dfd7e1440e36adbfa0b36c3
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.jar b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.jar Binary files differnew file mode 100644 index 000000000..e8d444a52 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.jar diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.jar.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.jar.md5 new file mode 100644 index 000000000..e3ca320c4 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.jar.md5 @@ -0,0 +1 @@ +a9307b318ad24de6968916fae2369b24
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.jar.sha1 new file mode 100644 index 000000000..a31ed7847 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.jar.sha1 @@ -0,0 +1 @@ +5797a7262ea7b78573e4417cb1580c4857331ad0
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.pom b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.pom new file mode 100644 index 000000000..73bb3a0e0 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.pom @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?><project> + <parent> + <artifactId>daytrader</artifactId> + <groupId>geronimo</groupId> + <version>1.1</version> + </parent> + <modelVersion>4.0.0</modelVersion> + <artifactId>daytrader-streamer</artifactId> + <name>DayTrader :: Quote Streamer</name> + <version>1.1</version> + <description>Streamer Application for Day Trader</description> + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/streamer</connection> + <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/streamer</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/geronimo/daytrader/trunk/modules/ear</url> + </scm> + <build> + <plugins> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifestEntries> + <class-path>dt-ejb.jar</class-path> + </manifestEntries> + <manifest> + <main-class>org.apache.geronimo.samples.daytrader.client.TradeClient</main-class> + </manifest> + </archive> + </configuration> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>geronimo</groupId> + <artifactId>daytrader-ejb</artifactId> + <version>1.1</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-j2ee_1.4_spec</artifactId> + <version>1.0</version> + <scope>provided</scope> + </dependency> + </dependencies> + <distributionManagement> + <status>deployed</status> + </distributionManagement> +</project>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.pom.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.pom.md5 new file mode 100644 index 000000000..5479d48d9 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.pom.md5 @@ -0,0 +1 @@ +05fa18418ae91126094fc348968f5998
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.pom.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.pom.sha1 new file mode 100644 index 000000000..031cd96fa --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/1.1/daytrader-streamer-1.1.pom.sha1 @@ -0,0 +1 @@ +4d31788221b2c52d706ed2f699ce1cef378f93fa
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/maven-metadata.xml new file mode 100644 index 000000000..76f531bb1 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>geronimo</groupId> + <artifactId>daytrader-streamer</artifactId> + <version>1.1</version> + <versioning> + <versions> + <version>1.1</version> + </versions> + <lastUpdated>20070201170053</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/maven-metadata.xml.md5 new file mode 100644 index 000000000..5a9b00ef2 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/maven-metadata.xml.md5 @@ -0,0 +1 @@ +967fd6db15ca4b281d3d7e17d2d42748
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/maven-metadata.xml.sha1 new file mode 100644 index 000000000..b0c4d2d06 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-streamer/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +8db116301bb933dd2bd84aa095d969915a518e71
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1-javadoc.jar b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1-javadoc.jar Binary files differnew file mode 100644 index 000000000..3752dcf71 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1-javadoc.jar diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1-javadoc.jar.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1-javadoc.jar.md5 new file mode 100644 index 000000000..579a6f6eb --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1-javadoc.jar.md5 @@ -0,0 +1 @@ +ce74ccd6ed0386fe1f5f864e9306b7ac
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1-javadoc.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1-javadoc.jar.sha1 new file mode 100644 index 000000000..dbf1c69fa --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1-javadoc.jar.sha1 @@ -0,0 +1 @@ +cfae8bc6d35bd3fcbd09645ec5f21cdb65af606a
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.pom b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.pom new file mode 100644 index 000000000..962789454 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.pom @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="UTF-8"?><project> + <parent> + <artifactId>daytrader</artifactId> + <groupId>geronimo</groupId> + <version>1.1</version> + </parent> + <modelVersion>4.0.0</modelVersion> + <artifactId>daytrader-web</artifactId> + <packaging>war</packaging> + <name>DayTrader :: Web Application</name> + <version>1.1</version> + <description>Daytrader Web</description> + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/web</connection> + <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/web</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/geronimo/daytrader/trunk/modules/web</url> + </scm> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>jspc-maven-plugin</artifactId> + <executions> + <execution> + <id>jspc</id> + <goals> + <goal>compile</goal> + </goals> + <configuration></configuration> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-war-plugin</artifactId> + <configuration> + <webXml>${basedir}/target/jspweb.xml</webXml> + <filters> + <filter>${basedir}/src/main/webapp/WEB-INF/classes/build.properties</filter> + </filters> + <archive> + <manifestEntries> + <Class-Path>dt-ejb.jar streamer.jar wsappclient.jar</Class-Path> + </manifestEntries> + </archive> + <resources> + <resource implementation="org.apache.maven.model.Resource"> + <filtering>true</filtering> + <directory>${basedir}/src/main/webapp/WEB-INF</directory> + <includes> + <include>web.xml</include> + </includes> + </resource> + </resources> + </configuration> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>geronimo</groupId> + <artifactId>daytrader-ejb</artifactId> + <type>ejb</type> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>geronimo</groupId> + <artifactId>daytrader-wsappclient</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>geronimo</groupId> + <artifactId>daytrader-streamer</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-j2ee_1.4_spec</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>taglibs</groupId> + <artifactId>standard</artifactId> + <version>1.1.1</version> + </dependency> + <dependency> + <groupId>org.codehaus.mojo</groupId> + <artifactId>jspc-maven-plugin</artifactId> + <version>1.4.4</version> + <scope>provided</scope> + </dependency> + </dependencies> + <distributionManagement> + <status>deployed</status> + </distributionManagement> +</project>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.pom.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.pom.md5 new file mode 100644 index 000000000..5123f66a6 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.pom.md5 @@ -0,0 +1 @@ +f64549509bac5f2c69892b06b7dcb051
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.pom.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.pom.sha1 new file mode 100644 index 000000000..8de81d8cd --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.pom.sha1 @@ -0,0 +1 @@ +390de11af26257916a4b769a1e99fcdb552c8b6b
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.war b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.war Binary files differnew file mode 100644 index 000000000..d2dd810a7 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.war diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.war.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.war.md5 new file mode 100644 index 000000000..78331abe7 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.war.md5 @@ -0,0 +1 @@ +a111f4992ee5d79118c90753fe90f454
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.war.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.war.sha1 new file mode 100644 index 000000000..64f43dddc --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/1.1/daytrader-web-1.1.war.sha1 @@ -0,0 +1 @@ +4719d0a316edce8be88aa49aecdda9279a57f6bf
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/maven-metadata.xml new file mode 100644 index 000000000..27fa0415f --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>geronimo</groupId> + <artifactId>daytrader-web</artifactId> + <version>1.1</version> + <versioning> + <versions> + <version>1.1</version> + </versions> + <lastUpdated>20070201170104</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/maven-metadata.xml.md5 new file mode 100644 index 000000000..3c646997f --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/maven-metadata.xml.md5 @@ -0,0 +1 @@ +66fccfaec7b4497965881d16ebc05440
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/maven-metadata.xml.sha1 new file mode 100644 index 000000000..39012b08f --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-web/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +8acf1d833362bb10815081a409e90cf1574da49b
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-javadoc.jar b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-javadoc.jar Binary files differnew file mode 100644 index 000000000..10a26f60a --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-javadoc.jar diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-javadoc.jar.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-javadoc.jar.md5 new file mode 100644 index 000000000..1acccca43 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-javadoc.jar.md5 @@ -0,0 +1 @@ +dfde38fb74217c2aa45cd06dbccf1eb4
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-javadoc.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-javadoc.jar.sha1 new file mode 100644 index 000000000..b209cc6e6 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-javadoc.jar.sha1 @@ -0,0 +1 @@ +cc4b661113efbc5e49504e69e5893b1bfcf30c22
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-sources.jar b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-sources.jar Binary files differnew file mode 100644 index 000000000..94766673f --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-sources.jar diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-sources.jar.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-sources.jar.md5 new file mode 100644 index 000000000..4f1689ae2 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-sources.jar.md5 @@ -0,0 +1 @@ +af58ccd15e4fdd7581037fd3efff9d39
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-sources.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-sources.jar.sha1 new file mode 100644 index 000000000..d1d28fd2b --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1-sources.jar.sha1 @@ -0,0 +1 @@ +fbf8eb5bab1378d1513dc31c93bed5cb4024d6a6
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.jar b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.jar Binary files differnew file mode 100644 index 000000000..3b5315317 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.jar diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.jar.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.jar.md5 new file mode 100644 index 000000000..fa1f324bc --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.jar.md5 @@ -0,0 +1 @@ +ec9f4f9b63e2005e91769c7144c97230
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.jar.sha1 new file mode 100644 index 000000000..65f6a5df4 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.jar.sha1 @@ -0,0 +1 @@ +b67e0befef623ec302d99cc0ccc8a6f51046dc2c
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.pom b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.pom new file mode 100644 index 000000000..ea751162c --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.pom @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?><project> + <parent> + <artifactId>daytrader</artifactId> + <groupId>geronimo</groupId> + <version>1.1</version> + </parent> + <modelVersion>4.0.0</modelVersion> + <artifactId>daytrader-wsappclient</artifactId> + <name>DayTrader :: WS Application Client</name> + <version>1.1</version> + <description>Client demonstrating Web Services</description> + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/wsappclient</connection> + <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/wsappclient</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/geronimo/daytrader/trunk/modules/wsappclient</url> + </scm> + <build> + <plugins> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifestEntries> + <class-path>dt-ejb.jar</class-path> + </manifestEntries> + <manifest> + <main-class>org.apache.geronimo.samples.daytrader.client.ws.ClientApp</main-class> + </manifest> + </archive> + </configuration> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-j2ee_1.4_spec</artifactId> + <version>1.0</version> + <scope>provided</scope> + </dependency> + </dependencies> + <distributionManagement> + <status>deployed</status> + </distributionManagement> +</project>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.pom.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.pom.md5 new file mode 100644 index 000000000..d0158b70c --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.pom.md5 @@ -0,0 +1 @@ +8a7724b36f3985aeab383cd606f0ff4e
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.pom.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.pom.sha1 new file mode 100644 index 000000000..aa867cbd6 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/1.1/daytrader-wsappclient-1.1.pom.sha1 @@ -0,0 +1 @@ +dede1bb862486b428417019c4d964aba36792b07
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/maven-metadata.xml new file mode 100644 index 000000000..c850220ee --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>geronimo</groupId> + <artifactId>daytrader-wsappclient</artifactId> + <version>1.1</version> + <versioning> + <versions> + <version>1.1</version> + </versions> + <lastUpdated>20070201170045</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/maven-metadata.xml.md5 new file mode 100644 index 000000000..a0f2d7c72 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/maven-metadata.xml.md5 @@ -0,0 +1 @@ +971ba8f9fdb30858c671346073cb9b33
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/maven-metadata.xml.sha1 new file mode 100644 index 000000000..9621ceb8b --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader-wsappclient/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +e5b14072df36ae9b0ad8ec79512bc632164a4148
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/1.1/daytrader-1.1.pom b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/1.1/daytrader-1.1.pom new file mode 100644 index 000000000..5897f84d6 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/1.1/daytrader-1.1.pom @@ -0,0 +1,205 @@ +<project> + <modelVersion>4.0.0</modelVersion> + <groupId>geronimo</groupId> + <artifactId>daytrader</artifactId> + <name>DayTrader :: Performance Benchmark Sample</name> + <packaging>pom</packaging> + <version>1.1</version> + <description>J2EE 1.4 Performance Benchmark Sample Application</description> + <issueManagement> + <system>jira</system> + <url>http://issues.apache.org/jira/browse/GERONIMO</url> + </issueManagement> + <ciManagement> + <system>continuum</system> + <url>http://ci.gbuild.org/continuum</url> + <notifiers> + <notifier> + <configuration> + <address>scm@geronimo.apache.org</address> + </configuration> + </notifier> + </notifiers> + </ciManagement> + <inceptionYear>2005</inceptionYear> + <properties> + <!-- + | + | daytrader module versions + | + --> + <daytraderVersion>1.1</daytraderVersion> + </properties> + + <developers> + <developer> + <name>Jeff Genender</name> + <id>jgenender</id> + <email>jgenender@apache.org</email> + <organization>Apache Software Foundation</organization> + <roles> + <role>Development</role> + </roles> + <timezone>+7</timezone> + </developer> + <developer> + <name>Matt Hogstrom</name> + <id>hogstrom</id> + <email>hogstrom@apache.org</email> + <organization>Apache Software Foundation</organization> + <roles> + <role>Performance Analysis</role> + </roles> + <timezone>+5</timezone> + </developer> + <developer> + <name>Vincent Massol</name> + <id>vmassol</id> + <email>vmassol@apache.org</email> + <organization>Apache Software Foundation</organization> + <roles> + <role>Build Engineer</role> + </roles> + <timezone>+1</timezone> + </developer> + </developers> + <contributors> + <contributor> + <name>Christopher Blythe</name> + <roles> + <role>Added code to improve stability and new features</role> + </roles> + </contributor> + <contributor> + <name>Stan (John) Cox</name> + <roles> + <role>Original Developer</role> + </roles> + <timezone>+5</timezone> + </contributor> + <contributor> + <name>Andrew Spyker</name> + <roles> + <role>Added the WSAppClient</role> + </roles> + <timezone>+5</timezone> + </contributor> + </contributors> + <dependencies/> + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/</connection> + <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/geronimo/gbuild/trunk/</url> + </scm> + <organization> + <name>Apache Software Foundation</name> + <url>http://www.apache.org/</url> + </organization> + <modules> + <module>modules/ejb</module> + <module>modules/web</module> + <module>modules/streamer</module> + <module>modules/wsappclient</module> + <module>modules/ear</module> + </modules> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>geronimo</groupId> + <artifactId>daytrader-wsappclient</artifactId> + <version>1.1</version> + </dependency> + <dependency> + <groupId>geronimo</groupId> + <artifactId>daytrader-streamer</artifactId> + <version>1.1</version> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-j2ee_1.4_spec</artifactId> + <version>1.0</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>1.0.3</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.1</version> + </dependency> + <dependency> + <groupId>geronimo</groupId> + <artifactId>daytrader-ejb</artifactId> + <version>1.1</version> + <type>ejb</type> + </dependency> + <!--dependency> + <groupId>geronimo</groupId> + <artifactId>daytrader-ejb</artifactId> + <version>1.1</version> + <type>ejb-client</type> + </dependency--> + <dependency> + <groupId>geronimo</groupId> + <artifactId>daytrader-web</artifactId> + <version>1.1</version> + <type>war</type> + </dependency> + </dependencies> +</dependencyManagement> +<distributionManagement> + <repository> + <id>apache.releases</id> + <name>Apache Release Distribution Repository</name> + <url>scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url> + </repository> + <snapshotRepository> + <id>apache.snapshots</id> + <name>Apache Development Snapshot Repository</name> + <url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url> + </snapshotRepository> + <site> + <id>geronimo-website</id> + <url>scp://people.apache.org/www/geronimo.apache.org/maven/genesis/config/project-config/daytrader</url> + </site> +</distributionManagement> +<profiles> + + <profile> + <id>db2</id> + <activation> + <activeByDefault>true</activeByDefault> + <property> + <name>database</name> + <value>db2</value> + </property> + </activation> + <properties> + <jboss.mapping>DB2</jboss.mapping> + </properties> + </profile> + + <profile> + <id>mysql</id> + <activation> + <property> + <name>database</name> + <value>mysql</value> + </property> + </activation> + <properties> + <jboss.mapping>mySQL</jboss.mapping> + </properties> + </profile> + + <profile> + <id>test</id> + <modules> + <module>functional-tests</module> + </modules> + </profile> +</profiles> +</project> diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/1.1/daytrader-1.1.pom.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/1.1/daytrader-1.1.pom.md5 new file mode 100644 index 000000000..e0b608717 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/1.1/daytrader-1.1.pom.md5 @@ -0,0 +1 @@ +24bb4da72c86f29c900802d1c9fc9581
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/1.1/daytrader-1.1.pom.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/1.1/daytrader-1.1.pom.sha1 new file mode 100644 index 000000000..ff7335a0d --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/1.1/daytrader-1.1.pom.sha1 @@ -0,0 +1 @@ +67198346b344f6260e61dc42511d854e885f6b23
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/maven-metadata.xml new file mode 100644 index 000000000..c72dd3bd6 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>geronimo</groupId> + <artifactId>daytrader</artifactId> + <version>1.1</version> + <versioning> + <versions> + <version>1.1</version> + </versions> + <lastUpdated>20070201170041</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/maven-metadata.xml.md5 new file mode 100644 index 000000000..8477b6eb2 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/maven-metadata.xml.md5 @@ -0,0 +1 @@ +84aef5b30a8d48c3902bacf9fbcb9205
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/maven-metadata.xml.sha1 new file mode 100644 index 000000000..774b5f992 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/geronimo/daytrader/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +19606e25290454d398e3187466d7d78d2f2800c1
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.ear b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.ear Binary files differnew file mode 100644 index 000000000..ca9dc20c3 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.ear diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.ear.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.ear.md5 new file mode 100644 index 000000000..4e221365c --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.ear.md5 @@ -0,0 +1 @@ +9772846681b2691f343a8f4790c7e881
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.ear.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.ear.sha1 new file mode 100644 index 000000000..53751cd83 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.ear.sha1 @@ -0,0 +1 @@ +744189233a2fc36f9180b1c814e60e1e974ebdc7
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.pom b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.pom new file mode 100644 index 000000000..2f7dc29ae --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.pom @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8"?><project> + <parent> + <artifactId>daytrader</artifactId> + <groupId>org.apache.geronimo.daytrader</groupId> + <version>2.0-SNAPSHOT</version> + <relativePath>../../pom.xml</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <artifactId>daytrader-ear</artifactId> + <packaging>ear</packaging> + <name>DayTrader :: Enterprise Application</name> + <version>2.0-SNAPSHOT</version> + <description>Daytrader EAR</description> + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/ear</connection> + <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/ear</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/geronimo/daytrader/trunk/modules/ear</url> + </scm> + <build> + <plugins> + <plugin> + <artifactId>maven-ear-plugin</artifactId> + <version>2.2</version> + <configuration> + <displayName>DayTrader 2.0</displayName> + <description>DayTrader Stock Trading Performance Benchmark Sample</description> + <version>1.4</version> + <modules> + <webModule> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-web</artifactId> + <contextRoot>/daytrader</contextRoot> + <bundleFileName>web.war</bundleFileName> + </webModule> + <ejbModule> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-ejb</artifactId> + <bundleFileName>dt-ejb.jar</bundleFileName> + </ejbModule> + <javaModule> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-streamer</artifactId> + <bundleFileName>streamer.jar</bundleFileName> + <includeInApplicationXml>true</includeInApplicationXml> + </javaModule> + <javaModule> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-wsappclient</artifactId> + <bundleFileName>wsappclient.jar</bundleFileName> + <includeInApplicationXml>true</includeInApplicationXml> + </javaModule> + </modules> + </configuration> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-web</artifactId> + <version>2.0-SNAPSHOT</version> + <type>war</type> + </dependency> + <dependency> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-ejb</artifactId> + <version>2.0-SNAPSHOT</version> + <type>ejb</type> + </dependency> + <dependency> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-streamer</artifactId> + <version>2.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-wsappclient</artifactId> + <version>2.0-SNAPSHOT</version> + </dependency> + </dependencies> + <distributionManagement> + <status>deployed</status> + </distributionManagement> +</project>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.pom.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.pom.md5 new file mode 100644 index 000000000..2df1b95fe --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.pom.md5 @@ -0,0 +1 @@ +8a4922d2c9a041baa484f927ca34631c
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.pom.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.pom.sha1 new file mode 100644 index 000000000..97c2c4e76 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/daytrader-ear-2.0-SNAPSHOT.pom.sha1 @@ -0,0 +1 @@ +1c9b3fd6b2b060d1a9d42e562f981abd5ad7422a
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/maven-metadata.xml new file mode 100644 index 000000000..3756c6428 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-ear</artifactId> + <version>2.0-SNAPSHOT</version> + <versioning> + <snapshot> + <buildNumber>1</buildNumber> + </snapshot> + <lastUpdated>20070201164634</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/maven-metadata.xml.md5 new file mode 100644 index 000000000..0e031a482 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/maven-metadata.xml.md5 @@ -0,0 +1 @@ +5d9d60fca5422465a5532859c94ecc8c
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/maven-metadata.xml.sha1 new file mode 100644 index 000000000..423197da3 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/2.0-SNAPSHOT/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +cc53fcda992f0515fa761bc8947053e9c2931f01
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/maven-metadata.xml new file mode 100644 index 000000000..94d935414 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-ear</artifactId> + <version>2.0-SNAPSHOT</version> + <versioning> + <versions> + <version>2.0-SNAPSHOT</version> + </versions> + <lastUpdated>20070201164634</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/maven-metadata.xml.md5 new file mode 100644 index 000000000..dc58c375b --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/maven-metadata.xml.md5 @@ -0,0 +1 @@ +400a4c18b70498f60437ff8ad66de5a3
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/maven-metadata.xml.sha1 new file mode 100644 index 000000000..f6ba54943 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ear/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +4e4f57ef76ee335161112382342d3407e9bca2cc
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-client.jar b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-client.jar Binary files differnew file mode 100644 index 000000000..057bfbb8f --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-client.jar diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-client.jar.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-client.jar.md5 new file mode 100644 index 000000000..77b8d4426 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-client.jar.md5 @@ -0,0 +1 @@ +408c7c6961e83e707f65fac084de1f94
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-client.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-client.jar.sha1 new file mode 100644 index 000000000..d8bd3a8ac --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-client.jar.sha1 @@ -0,0 +1 @@ +a9c4f781137bab2f4d00c9124e80925c421ead8c
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-javadoc.jar b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-javadoc.jar Binary files differnew file mode 100644 index 000000000..db4a6d1a8 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-javadoc.jar diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-javadoc.jar.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-javadoc.jar.md5 new file mode 100644 index 000000000..160a6d371 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-javadoc.jar.md5 @@ -0,0 +1 @@ +234db44ad6eb80cf4484528e496a4b25
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-javadoc.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-javadoc.jar.sha1 new file mode 100644 index 000000000..b3f0da3b4 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-javadoc.jar.sha1 @@ -0,0 +1 @@ +c7a91a4dd1b5a414779f2f04f2f054849dee4f57
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-sources.jar b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-sources.jar Binary files differnew file mode 100644 index 000000000..cbb36712c --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-sources.jar diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-sources.jar.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-sources.jar.md5 new file mode 100644 index 000000000..4341831fd --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-sources.jar.md5 @@ -0,0 +1 @@ +aff6435489ca8a7838edb655887b3c6c
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-sources.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-sources.jar.sha1 new file mode 100644 index 000000000..23cf14adc --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT-sources.jar.sha1 @@ -0,0 +1 @@ +9302ea57f52240bd8c3991d07d095f033f908aad
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.jar b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.jar Binary files differnew file mode 100644 index 000000000..be91703bb --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.jar diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.jar.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.jar.md5 new file mode 100644 index 000000000..df2ad82ae --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.jar.md5 @@ -0,0 +1 @@ +6f53b8b06e0b43fff3057183e64f581d
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.jar.sha1 new file mode 100644 index 000000000..8684844bb --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.jar.sha1 @@ -0,0 +1 @@ +58703dba30983dc34f78d0c44f6cd4b77e4c1446
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.pom b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.pom new file mode 100644 index 000000000..fe1078d54 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.pom @@ -0,0 +1,132 @@ +<?xml version="1.0" encoding="UTF-8"?><project> + <parent> + <artifactId>daytrader</artifactId> + <groupId>org.apache.geronimo.daytrader</groupId> + <version>2.0-SNAPSHOT</version> + <relativePath>../../pom.xml</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <artifactId>daytrader-ejb</artifactId> + <packaging>ejb</packaging> + <name>DayTrader :: EJBs</name> + <version>2.0-SNAPSHOT</version> + <description>Daytrader EJBs</description> + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/ejb</connection> + <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/ejb</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/geronimo/daytrader/trunk/modules/ejb</url> + </scm> + <build> + <resources> + <resource> + <filtering>true</filtering> + <directory>${basedir}/src/main/resources</directory> + </resource> + </resources> + <plugins> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <phase>compile</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <tasks> + <path id="enhance.path.ref"> + <fileset dir="${project.build.outputDirectory}"> + <include name="**/*.class"></include> + </fileset> + </path> + <pathconvert pathsep=" " property="enhance.files" refid="enhance.path.ref"></pathconvert> + <java classname="org.apache.openjpa.enhance.PCEnhancer"> + <arg line="-p persistence.xml"></arg> + <arg line="${enhance.files}"></arg> + <classpath> + <path refid="maven.dependency.classpath"></path> + <path refid="maven.compile.classpath"></path> + </classpath> + </java> + </tasks> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-ejb-plugin</artifactId> + <configuration> + <generateClient>true</generateClient> + <archive> + <manifestEntries> + <Class-Path>wsappclient.jar</Class-Path> + </manifestEntries> + </archive> + </configuration> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-wsappclient</artifactId> + <version>2.0-SNAPSHOT</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-ejb_2.1_spec</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jaxrpc_1.1_spec</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jms_1.1_spec</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-qname_1.1_spec</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jpa_3.0_spec</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.openjpa</groupId> + <artifactId>openjpa-all</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>xerces</groupId> + <artifactId>xercesImpl</artifactId> + <version>2.6.2</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>xerces</groupId> + <artifactId>xmlParserAPIs</artifactId> + <version>2.2.1</version> + <scope>provided</scope> + </dependency> + </dependencies> + <distributionManagement> + <status>deployed</status> + </distributionManagement> +</project>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.pom.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.pom.md5 new file mode 100644 index 000000000..582ede91c --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.pom.md5 @@ -0,0 +1 @@ +f8c41c8799c7d8c75a807d4a205aff42
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.pom.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.pom.sha1 new file mode 100644 index 000000000..6b6398eef --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/daytrader-ejb-2.0-SNAPSHOT.pom.sha1 @@ -0,0 +1 @@ +18046fd02d02885f97616c2c053cbff165f4f382
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/maven-metadata.xml new file mode 100644 index 000000000..054746974 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-ejb</artifactId> + <version>2.0-SNAPSHOT</version> + <versioning> + <snapshot> + <buildNumber>1</buildNumber> + </snapshot> + <lastUpdated>20070201164617</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/maven-metadata.xml.md5 new file mode 100644 index 000000000..e73b6e5e9 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/maven-metadata.xml.md5 @@ -0,0 +1 @@ +1f7c6581909ac26dcb44ff7612d7898d
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/maven-metadata.xml.sha1 new file mode 100644 index 000000000..9f89dfa27 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/2.0-SNAPSHOT/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +c5a7be31fc8110ca91ed0b72bc7ece546e50e435
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/maven-metadata.xml new file mode 100644 index 000000000..dbba6ff78 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-ejb</artifactId> + <version>2.0-SNAPSHOT</version> + <versioning> + <versions> + <version>2.0-SNAPSHOT</version> + </versions> + <lastUpdated>20070201164617</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/maven-metadata.xml.md5 new file mode 100644 index 000000000..7cc5608da --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/maven-metadata.xml.md5 @@ -0,0 +1 @@ +1abcabff35aa4fda30eafd13e478e961
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/maven-metadata.xml.sha1 new file mode 100644 index 000000000..077e68bc8 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-ejb/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +5e3bf24a230b3ef502edee8dd0099b0cb3300046
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-javadoc.jar b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-javadoc.jar Binary files differnew file mode 100644 index 000000000..ea1d63784 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-javadoc.jar diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-javadoc.jar.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-javadoc.jar.md5 new file mode 100644 index 000000000..7e99b85a4 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-javadoc.jar.md5 @@ -0,0 +1 @@ +d10bcecf5cfd5a232e2c9852d87c9ff3
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-javadoc.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-javadoc.jar.sha1 new file mode 100644 index 000000000..5f888bcc5 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-javadoc.jar.sha1 @@ -0,0 +1 @@ +f6c34949c8ec5fc7605f2e5b308826952d455468
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-sources.jar b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-sources.jar Binary files differnew file mode 100644 index 000000000..620dc1f91 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-sources.jar diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-sources.jar.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-sources.jar.md5 new file mode 100644 index 000000000..e3ae6e6db --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-sources.jar.md5 @@ -0,0 +1 @@ +88526652477cffde86b4fb6d3c4d9b09
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-sources.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-sources.jar.sha1 new file mode 100644 index 000000000..1ebbf01fb --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT-sources.jar.sha1 @@ -0,0 +1 @@ +8e32bee44b3179b2534e7dae45f823cfc97985a3
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.jar b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.jar Binary files differnew file mode 100644 index 000000000..989d58f43 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.jar diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.jar.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.jar.md5 new file mode 100644 index 000000000..783b51a6e --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.jar.md5 @@ -0,0 +1 @@ +ffed1a6a0f9a18c940e5176c83d0bf17
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.jar.sha1 new file mode 100644 index 000000000..25cb1b7f5 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.jar.sha1 @@ -0,0 +1 @@ +60aacd0b5166182a133a62d8df23f6d6fc77a67c
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.pom b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.pom new file mode 100644 index 000000000..5eb67f78b --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.pom @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="UTF-8"?><project> + <parent> + <artifactId>daytrader</artifactId> + <groupId>org.apache.geronimo.daytrader</groupId> + <version>2.0-SNAPSHOT</version> + <relativePath>../../pom.xml</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <artifactId>daytrader-streamer</artifactId> + <name>DayTrader :: Quote Streamer</name> + <version>2.0-SNAPSHOT</version> + <description>Streamer Application for Day Trader</description> + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/streamer</connection> + <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/streamer</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/geronimo/daytrader/trunk/modules/ear</url> + </scm> + <build> + <plugins> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifestEntries> + <class-path>dt-ejb.jar</class-path> + </manifestEntries> + <manifest> + <main-class>org.apache.geronimo.samples.daytrader.client.TradeClient</main-class> + </manifest> + </archive> + </configuration> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-ejb</artifactId> + <version>2.0-SNAPSHOT</version> + <type>ejb</type> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-ejb_2.1_spec</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jms_1.1_spec</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jpa_3.0_spec</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.openjpa</groupId> + <artifactId>openjpa-all</artifactId> + <scope>provided</scope> + </dependency> + </dependencies> + <distributionManagement> + <status>deployed</status> + </distributionManagement> +</project>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.pom.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.pom.md5 new file mode 100644 index 000000000..489aa6a68 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.pom.md5 @@ -0,0 +1 @@ +76a04efad19db1246f31c34190f8b15d
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.pom.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.pom.sha1 new file mode 100644 index 000000000..05ed2ddda --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/daytrader-streamer-2.0-SNAPSHOT.pom.sha1 @@ -0,0 +1 @@ +b62855d411ae2798e4089c8260247d4aa69a0411
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/maven-metadata.xml new file mode 100644 index 000000000..a793b9382 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-streamer</artifactId> + <version>2.0-SNAPSHOT</version> + <versioning> + <snapshot> + <buildNumber>1</buildNumber> + </snapshot> + <lastUpdated>20070201164625</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/maven-metadata.xml.md5 new file mode 100644 index 000000000..9597c44b2 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/maven-metadata.xml.md5 @@ -0,0 +1 @@ +d34e873a79fc96c4b11a2d993936de27
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/maven-metadata.xml.sha1 new file mode 100644 index 000000000..da3163eed --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/2.0-SNAPSHOT/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +1e9780431924e1277145a408c60fdb26fd155443
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/maven-metadata.xml new file mode 100644 index 000000000..91213c843 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-streamer</artifactId> + <version>2.0-SNAPSHOT</version> + <versioning> + <versions> + <version>2.0-SNAPSHOT</version> + </versions> + <lastUpdated>20070201164625</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/maven-metadata.xml.md5 new file mode 100644 index 000000000..d1ac03f4a --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/maven-metadata.xml.md5 @@ -0,0 +1 @@ +fd8090195a044102add1f6f9ea7ffd49
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/maven-metadata.xml.sha1 new file mode 100644 index 000000000..6682f1bc0 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-streamer/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +96a066a26b7e2a8b5ea476cc74caa7d0cc9af897
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT-javadoc.jar b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT-javadoc.jar Binary files differnew file mode 100644 index 000000000..8551f20eb --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT-javadoc.jar diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT-javadoc.jar.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT-javadoc.jar.md5 new file mode 100644 index 000000000..c921b0278 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT-javadoc.jar.md5 @@ -0,0 +1 @@ +f8ce7b4b74d018f232f8ffb0c529070e
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT-javadoc.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT-javadoc.jar.sha1 new file mode 100644 index 000000000..b7aebae6c --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT-javadoc.jar.sha1 @@ -0,0 +1 @@ +93469a577c1c694530dc3b6fde07b4b4f9349315
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.pom b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.pom new file mode 100644 index 000000000..deef24106 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.pom @@ -0,0 +1,99 @@ +<?xml version="1.0" encoding="UTF-8"?><project> + <parent> + <artifactId>daytrader</artifactId> + <groupId>org.apache.geronimo.daytrader</groupId> + <version>2.0-SNAPSHOT</version> + <relativePath>../../pom.xml</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <artifactId>daytrader-web</artifactId> + <packaging>war</packaging> + <name>DayTrader :: Web Application</name> + <version>2.0-SNAPSHOT</version> + <description>Daytrader Web</description> + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/web</connection> + <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/web</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/geronimo/daytrader/trunk/modules/web</url> + </scm> + <build> + <plugins> + <plugin> + <artifactId>maven-war-plugin</artifactId> + <configuration> + <filters> + <filter>${basedir}/src/main/webapp/WEB-INF/classes/build.properties</filter> + </filters> + <archive> + <manifestEntries> + <Class-Path>dt-ejb.jar streamer.jar wsappclient.jar</Class-Path> + </manifestEntries> + </archive> + <resources> + <resource implementation="org.apache.maven.model.Resource"> + <filtering>true</filtering> + <directory>${basedir}/src/main/webapp/WEB-INF</directory> + <includes> + <include>web.xml</include> + </includes> + </resource> + </resources> + </configuration> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-ejb</artifactId> + <version>2.0-SNAPSHOT</version> + <type>ejb</type> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-wsappclient</artifactId> + <version>2.0-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-streamer</artifactId> + <version>2.0-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-ejb_2.1_spec</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jms_1.1_spec</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-servlet_2.4_spec</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jsp_2.0_spec</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>taglibs</groupId> + <artifactId>standard</artifactId> + <version>1.1.1</version> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jpa_3.0_spec</artifactId> + <scope>provided</scope> + </dependency> + </dependencies> + <distributionManagement> + <status>deployed</status> + </distributionManagement> +</project>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.pom.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.pom.md5 new file mode 100644 index 000000000..c446780d2 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.pom.md5 @@ -0,0 +1 @@ +e8a54b8681eec09323657749f29219fe
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.pom.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.pom.sha1 new file mode 100644 index 000000000..f5e3ebdb1 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.pom.sha1 @@ -0,0 +1 @@ +3c52b8ce4ebdc6527928cb134e569558838b7d14
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.war b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.war Binary files differnew file mode 100644 index 000000000..6070ffc9e --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.war diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.war.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.war.md5 new file mode 100644 index 000000000..97adf3810 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.war.md5 @@ -0,0 +1 @@ +cca35f6167c93ad3ae2ff53d58cb9db4
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.war.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.war.sha1 new file mode 100644 index 000000000..0ccdb845c --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/daytrader-web-2.0-SNAPSHOT.war.sha1 @@ -0,0 +1 @@ +ca06e4519bb8e5b0db340f77195fd22f2d5bf46c
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/maven-metadata.xml new file mode 100644 index 000000000..9aca86ebf --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-web</artifactId> + <version>2.0-SNAPSHOT</version> + <versioning> + <snapshot> + <buildNumber>1</buildNumber> + </snapshot> + <lastUpdated>20070201164633</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/maven-metadata.xml.md5 new file mode 100644 index 000000000..a7f27ee44 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/maven-metadata.xml.md5 @@ -0,0 +1 @@ +aec372b38f559a990e90afc04578f992
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/maven-metadata.xml.sha1 new file mode 100644 index 000000000..9cf15cc3b --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/2.0-SNAPSHOT/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +ee504dda264fbfac8299c600b65de0876c0d8538
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/maven-metadata.xml new file mode 100644 index 000000000..cb00f8039 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-web</artifactId> + <version>2.0-SNAPSHOT</version> + <versioning> + <versions> + <version>2.0-SNAPSHOT</version> + </versions> + <lastUpdated>20070201164633</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/maven-metadata.xml.md5 new file mode 100644 index 000000000..f55b966c0 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/maven-metadata.xml.md5 @@ -0,0 +1 @@ +4ba953cf06bc7a0e3357ff9c429d9802
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/maven-metadata.xml.sha1 new file mode 100644 index 000000000..1026fd8ee --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-web/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +09726ef1508b5ee8089a03fb089b0dc667d285a9
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-javadoc.jar b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-javadoc.jar Binary files differnew file mode 100644 index 000000000..78bf58791 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-javadoc.jar diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-javadoc.jar.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-javadoc.jar.md5 new file mode 100644 index 000000000..4a6107546 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-javadoc.jar.md5 @@ -0,0 +1 @@ +84fef312edccec95590045380db177de
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-javadoc.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-javadoc.jar.sha1 new file mode 100644 index 000000000..22b30562f --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-javadoc.jar.sha1 @@ -0,0 +1 @@ +351a4315b098a070eda7f4a28b24000c5d77564c
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-sources.jar b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-sources.jar Binary files differnew file mode 100644 index 000000000..a660b953a --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-sources.jar diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-sources.jar.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-sources.jar.md5 new file mode 100644 index 000000000..24a3b530a --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-sources.jar.md5 @@ -0,0 +1 @@ +1f70073c2a75466d778936198f60c397
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-sources.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-sources.jar.sha1 new file mode 100644 index 000000000..d30ca29a6 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5-sources.jar.sha1 @@ -0,0 +1 @@ +186447fd962aef413ff53f68c86cc00066c64041
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.jar b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.jar Binary files differnew file mode 100644 index 000000000..237a12fc4 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.jar diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.jar.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.jar.md5 new file mode 100644 index 000000000..0d7d1f8ed --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.jar.md5 @@ -0,0 +1 @@ +b0cad0d8b0539b5e6c74d313e2784fdd
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.jar.sha1 new file mode 100644 index 000000000..000b7398b --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.jar.sha1 @@ -0,0 +1 @@ +fa88bf7615bbd5c1d2a38291ba131d3473b9aff1
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.pom b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.pom new file mode 100644 index 000000000..7ed0bcbb2 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.pom @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?><project> + <parent> + <artifactId>daytrader</artifactId> + <groupId>org.apache.geronimo.daytrader</groupId> + <version>2.0-SNAPSHOT</version> + <relativePath>../../pom.xml</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <artifactId>daytrader-wsappclient</artifactId> + <name>DayTrader :: WS Application Client</name> + <version>2.0-20070201.183230-5</version> + <description>Client demonstrating Web Services</description> + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/wsappclient</connection> + <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/wsappclient</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/geronimo/daytrader/trunk/modules/wsappclient</url> + </scm> + <build> + <plugins> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifestEntries> + <class-path>dt-ejb.jar</class-path> + </manifestEntries> + <manifest> + <main-class>org.apache.geronimo.samples.daytrader.client.ws.ClientApp</main-class> + </manifest> + </archive> + </configuration> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jaxrpc_1.1_spec</artifactId> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-qname_1.1_spec</artifactId> + </dependency> + </dependencies> + <distributionManagement> + <status>deployed</status> + </distributionManagement> +</project>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.pom.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.pom.md5 new file mode 100644 index 000000000..1d16da4af --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.pom.md5 @@ -0,0 +1 @@ +ea41a407f1a9100771120e449e389651
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.pom.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.pom.sha1 new file mode 100644 index 000000000..582dd47d9 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-20070201.183230-5.pom.sha1 @@ -0,0 +1 @@ +c92d13aeeab835b7752fe8c2a8675db009596c9f
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-javadoc.jar b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-javadoc.jar Binary files differnew file mode 100644 index 000000000..6bb86824e --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-javadoc.jar diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-javadoc.jar.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-javadoc.jar.md5 new file mode 100644 index 000000000..c2c653108 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-javadoc.jar.md5 @@ -0,0 +1 @@ +80d8585d504bddd8262c83976c7a9c72
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-javadoc.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-javadoc.jar.sha1 new file mode 100644 index 000000000..305a9db73 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-javadoc.jar.sha1 @@ -0,0 +1 @@ +00d78884bbb4a4f102b3b1ce132a4cd81d28bdc9
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-sources.jar b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-sources.jar Binary files differnew file mode 100644 index 000000000..147fabdf7 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-sources.jar diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-sources.jar.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-sources.jar.md5 new file mode 100644 index 000000000..569c57af7 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-sources.jar.md5 @@ -0,0 +1 @@ +05a15d6b6390b9bca327a67646448650
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-sources.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-sources.jar.sha1 new file mode 100644 index 000000000..3450601ce --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT-sources.jar.sha1 @@ -0,0 +1 @@ +f401e2a994d55ec812372f96aae64ca3663f7c6f
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.jar b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.jar Binary files differnew file mode 100644 index 000000000..a1c98646a --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.jar diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.jar.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.jar.md5 new file mode 100644 index 000000000..f160c9678 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.jar.md5 @@ -0,0 +1 @@ +1823b9d8cdb50da80373cb4b85c243fb
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.jar.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.jar.sha1 new file mode 100644 index 000000000..83e8cbd5a --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.jar.sha1 @@ -0,0 +1 @@ +5228990401004c5bdb9ad548bbf8aed1ce6cc196
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.pom b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.pom new file mode 100644 index 000000000..247def907 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.pom @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8"?><project> + <parent> + <artifactId>daytrader</artifactId> + <groupId>org.apache.geronimo.daytrader</groupId> + <version>2.0-SNAPSHOT</version> + <relativePath>../../pom.xml</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <artifactId>daytrader-wsappclient</artifactId> + <name>DayTrader :: WS Application Client</name> + <version>2.0-SNAPSHOT</version> + <description>Client demonstrating Web Services</description> + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/wsappclient</connection> + <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/modules/wsappclient</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/geronimo/daytrader/trunk/modules/wsappclient</url> + </scm> + <build> + <plugins> + <plugin> + <artifactId>maven-deploy-plugin</artifactId> + <configuration> + <uniqueVersion>true</uniqueVersion> + </configuration> + </plugin> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifestEntries> + <class-path>dt-ejb.jar</class-path> + </manifestEntries> + <manifest> + <main-class>org.apache.geronimo.samples.daytrader.client.ws.ClientApp</main-class> + </manifest> + </archive> + </configuration> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jaxrpc_1.1_spec</artifactId> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-qname_1.1_spec</artifactId> + </dependency> + </dependencies> + <distributionManagement> + <status>deployed</status> + </distributionManagement> +</project>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.pom.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.pom.md5 new file mode 100644 index 000000000..87169af18 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.pom.md5 @@ -0,0 +1 @@ +b5f837ccb11cdc5102f0c7f2c5b329e8
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.pom.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.pom.sha1 new file mode 100644 index 000000000..4cd3687aa --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/daytrader-wsappclient-2.0-SNAPSHOT.pom.sha1 @@ -0,0 +1 @@ +4d3052ef11fd63a0bc78eeaeaaa568127c100860
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/maven-metadata.xml new file mode 100644 index 000000000..45d086a00 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/maven-metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-wsappclient</artifactId> + <version>2.0-SNAPSHOT</version> + <versioning> + <snapshot> + <timestamp>20070201.183230</timestamp> + <buildNumber>5</buildNumber> + </snapshot> + <lastUpdated>20070201183230</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/maven-metadata.xml.md5 new file mode 100644 index 000000000..67ead9773 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/maven-metadata.xml.md5 @@ -0,0 +1 @@ +89df889ab494b253f0f21507ae7f701c
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/maven-metadata.xml.sha1 new file mode 100644 index 000000000..02231a166 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/2.0-SNAPSHOT/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +52fad08cc95dc998c54c6f8d0758b3a3c3107cec
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/maven-metadata.xml new file mode 100644 index 000000000..adb6997ac --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader-wsappclient</artifactId> + <version>2.0-SNAPSHOT</version> + <versioning> + <versions> + <version>2.0-SNAPSHOT</version> + </versions> + <lastUpdated>20070201164602</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/maven-metadata.xml.md5 new file mode 100644 index 000000000..6ce2c08a9 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/maven-metadata.xml.md5 @@ -0,0 +1 @@ +7ac1294c500c0323a743194aa80bc1ad
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/maven-metadata.xml.sha1 new file mode 100644 index 000000000..fc776ba6c --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader-wsappclient/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +21115e0e4184bd7093a63afa1fede189bcab67c9
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/daytrader-2.0-SNAPSHOT.pom b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/daytrader-2.0-SNAPSHOT.pom new file mode 100644 index 000000000..eb7daa92b --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/daytrader-2.0-SNAPSHOT.pom @@ -0,0 +1,315 @@ +<?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.geronimo.genesis.config</groupId> + <artifactId>project-config</artifactId> + <version>1.1-SNAPSHOT</version> + </parent> + + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader</artifactId> + <name>DayTrader :: Performance Benchmark Sample</name> + <packaging>pom</packaging> + <version>2.0-SNAPSHOT</version> + <description>J2EE 1.4 Performance Benchmark Sample Application</description> + <issueManagement> + <system>jira</system> + <url>http://issues.apache.org/jira/browse/GERONIMO</url> + </issueManagement> + <ciManagement> + <system>continuum</system> + <url>http://ci.gbuild.org/continuum</url> + <notifiers> + <notifier> + <configuration> + <address>scm@geronimo.apache.org</address> + </configuration> + </notifier> + </notifiers> + </ciManagement> + <inceptionYear>2005</inceptionYear> + + <developers> + <developer> + <name>Jeff Genender</name> + <id>jgenender</id> + <email>jgenender@apache.org</email> + <organization>Apache Software Foundation</organization> + <roles> + <role>Development</role> + </roles> + <timezone>+7</timezone> + </developer> + <developer> + <name>Matt Hogstrom</name> + <id>hogstrom</id> + <email>hogstrom@apache.org</email> + <organization>Apache Software Foundation</organization> + <roles> + <role>Performance Analysis</role> + </roles> + <timezone>+5</timezone> + </developer> + <developer> + <name>Vincent Massol</name> + <id>vmassol</id> + <email>vmassol@apache.org</email> + <organization>Apache Software Foundation</organization> + <roles> + <role>Build Engineer</role> + </roles> + <timezone>+1</timezone> + </developer> + </developers> + <contributors> + <contributor> + <name>Christopher Blythe</name> + <roles> + <role>Added code to improve stability and new features</role> + </roles> + </contributor> + <contributor> + <name>Stan (John) Cox</name> + <roles> + <role>Original Developer</role> + </roles> + <timezone>+5</timezone> + </contributor> + <contributor> + <name>Andrew Spyker</name> + <roles> + <role>Added the WSAppClient</role> + </roles> + <timezone>+5</timezone> + </contributor> + </contributors> + <dependencies/> + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/</connection> + <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/geronimo/gbuild/trunk/</url> + </scm> + <organization> + <name>Apache Software Foundation</name> + <url>http://www.apache.org/</url> + </organization> + <modules> + <module>modules/ejb</module> + <module>modules/web</module> + <module>modules/streamer</module> + <module>modules/wsappclient</module> + <module>modules/ear</module> + </modules> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-ejb_2.1_spec</artifactId> + <version>[1.0,2.0)</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jaxrpc_1.1_spec</artifactId> + <version>[1.0,2.0)</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jms_1.1_spec</artifactId> + <version>[1.0,2.0)</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-qname_1.1_spec</artifactId> + <version>[1.0,2.0)</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-servlet_2.4_spec</artifactId> + <version>[1.0,2.0)</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jsp_2.0_spec</artifactId> + <version>[1.0,2.0)</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jpa_3.0_spec</artifactId> + <version>1.0-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.openjpa</groupId> + <artifactId>openjpa-all</artifactId> + <version>0.9.6-incubating</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>1.0.3</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.1</version> + </dependency> + </dependencies> + </dependencyManagement> + <build> + + <plugins> + <plugin> + <groupId>org.apache.geronimo.genesis.plugins</groupId> + <artifactId>tools-maven-plugin</artifactId> + <executions> + <execution> + <id>validate-java-version</id> + <phase>validate</phase> + <goals> + <goal>require-java-version</goal> + </goals> + <configuration> + <version>1.5*</version> + </configuration> + </execution> + + <!-- + NOTE: This will copy LICENSE.txt and NOTICE.txt to classes/META-INF. + + Its a itty-bitty HACK to avoid adding resource definitions to + the build, which causes the Eclipse plugin to generate invalid + .classpath files. :-( + --> + <execution> + <id>install-legal-files</id> + <phase>generate-resources</phase> + <goals> + <goal>copy-legal-files</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.5</source> + <target>1.5</target> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-idea-plugin</artifactId> + <configuration> + <jdkName>1.5</jdkName> + <linkModules>true</linkModules> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <source>1.5</source> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-release-plugin</artifactId> + <configuration> + <tagBase>https://svn.apache.org/repos/asf/geronimo/daytrader/tags</tagBase> + </configuration> + </plugin> + </plugins> + </build> + + <repositories> + <!-- + NOTE: The default repositories are picked up by Genesis, but need to + specify where Genesis lives to pick it up + any additional repositories. + --> + <repository> + <id>apache-snapshots</id> + <name>Apache Snapshots Repository</name> + <url>http://people.apache.org/repo/m2-snapshot-repository</url> + <layout>default</layout> + <snapshots> + <enabled>true</enabled> + <updatePolicy>daily</updatePolicy> + <checksumPolicy>ignore</checksumPolicy> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + </repository> + </repositories> + + <profiles> + + <profile> + <id>db2</id> + <activation> + <activeByDefault>true</activeByDefault> + <property> + <name>database</name> + <value>db2</value> + </property> + </activation> + <properties> + <jboss.mapping>DB2</jboss.mapping> + </properties> + </profile> + + <profile> + <id>mysql</id> + <activation> + <property> + <name>database</name> + <value>mysql</value> + </property> + </activation> + <properties> + <jboss.mapping>mySQL</jboss.mapping> + </properties> + </profile> + + <profile> + <id>test</id> + <modules> + <module>functional-tests</module> + </modules> + </profile> + </profiles> +</project> diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/daytrader-2.0-SNAPSHOT.pom.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/daytrader-2.0-SNAPSHOT.pom.md5 new file mode 100644 index 000000000..25dfb81a2 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/daytrader-2.0-SNAPSHOT.pom.md5 @@ -0,0 +1 @@ +d04e80114262c514c82d4346ee094bcb
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/daytrader-2.0-SNAPSHOT.pom.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/daytrader-2.0-SNAPSHOT.pom.sha1 new file mode 100644 index 000000000..d3a224969 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/daytrader-2.0-SNAPSHOT.pom.sha1 @@ -0,0 +1 @@ +2db30210d79420ac52602cf715a13a31f3feed4d
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/maven-metadata.xml new file mode 100644 index 000000000..30b645554 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader</artifactId> + <version>2.0-SNAPSHOT</version> + <versioning> + <snapshot> + <buildNumber>1</buildNumber> + </snapshot> + <lastUpdated>20070201164554</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/maven-metadata.xml.md5 new file mode 100644 index 000000000..e7e495cf7 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/maven-metadata.xml.md5 @@ -0,0 +1 @@ +769e66f03f659d146f1face5c82211d4
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/maven-metadata.xml.sha1 new file mode 100644 index 000000000..b52609728 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/2.0-SNAPSHOT/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +8228d5deee211e9ae81f88308ecee855fe9b318a
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/maven-metadata.xml b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/maven-metadata.xml new file mode 100644 index 000000000..5c428d8eb --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><metadata> + <groupId>org.apache.geronimo.daytrader</groupId> + <artifactId>daytrader</artifactId> + <version>2.0-SNAPSHOT</version> + <versioning> + <versions> + <version>2.0-SNAPSHOT</version> + </versions> + <lastUpdated>20070201164554</lastUpdated> + </versioning> +</metadata>
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/maven-metadata.xml.md5 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/maven-metadata.xml.md5 new file mode 100644 index 000000000..fd18b9636 --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/maven-metadata.xml.md5 @@ -0,0 +1 @@ +847e11a580cde1f29066eef1f233aaf5
\ No newline at end of file diff --git a/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/maven-metadata.xml.sha1 b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/maven-metadata.xml.sha1 new file mode 100644 index 000000000..d2b07e83f --- /dev/null +++ b/archiva-core/src/test/maven-2.x-repository/org/apache/geronimo/daytrader/daytrader/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +4aea09fa18f379bba75e056079dfa9022f934331
\ No newline at end of file diff --git a/archiva-core/src/test/resources/org/apache/maven/archiva/repositories/DefaultActiveManagedRepositoriesTest.xml b/archiva-core/src/test/resources/org/apache/maven/archiva/repositories/DefaultActiveManagedRepositoriesTest.xml new file mode 100644 index 000000000..d14f97fd6 --- /dev/null +++ b/archiva-core/src/test/resources/org/apache/maven/archiva/repositories/DefaultActiveManagedRepositoriesTest.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + ~ 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. + --> + +<component-set> + <components> + <component> + <role>org.apache.maven.archiva.configuration.ConfigurationStore</role> + <implementation>org.apache.maven.archiva.configuration.DefaultConfigurationStore</implementation> + <configuration> + <file>${basedir}/src/test/conf/archiva.xml</file> + </configuration> + </component> + </components> +</component-set> diff --git a/archiva-core/src/test/resources/org/apache/maven/archiva/scheduler/executors/IndexerTaskExecutorTest.xml b/archiva-core/src/test/resources/org/apache/maven/archiva/scheduler/executors/IndexerTaskExecutorTest.xml new file mode 100644 index 000000000..d14f97fd6 --- /dev/null +++ b/archiva-core/src/test/resources/org/apache/maven/archiva/scheduler/executors/IndexerTaskExecutorTest.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + ~ 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. + --> + +<component-set> + <components> + <component> + <role>org.apache.maven.archiva.configuration.ConfigurationStore</role> + <implementation>org.apache.maven.archiva.configuration.DefaultConfigurationStore</implementation> + <configuration> + <file>${basedir}/src/test/conf/archiva.xml</file> + </configuration> + </component> + </components> +</component-set> diff --git a/archiva-indexer/pom.xml b/archiva-indexer/pom.xml index 3c3ed4c4b..4f004c5a1 100644 --- a/archiva-indexer/pom.xml +++ b/archiva-indexer/pom.xml @@ -40,6 +40,12 @@ <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-project</artifactId> + <exclusions> + <exclusion> + <groupId>org.codehaus.plexus.cache</groupId> + <artifactId>plexus-cache-hashmap</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>org.apache.maven</groupId> diff --git a/archiva-repository-layer/src/main/java/org/apache/maven/archiva/layer/CachedRepositoryQueryLayer.java b/archiva-repository-layer/src/main/java/org/apache/maven/archiva/layer/CachedRepositoryQueryLayer.java index 6a6266994..18a8eb2ef 100644 --- a/archiva-repository-layer/src/main/java/org/apache/maven/archiva/layer/CachedRepositoryQueryLayer.java +++ b/archiva-repository-layer/src/main/java/org/apache/maven/archiva/layer/CachedRepositoryQueryLayer.java @@ -26,7 +26,9 @@ import java.util.List; /** + * CachedRepositoryQueryLayer * + * @version $Id$ */ public class CachedRepositoryQueryLayer implements RepositoryQueryLayer diff --git a/archiva-repository-layer/src/main/java/org/apache/maven/archiva/layer/DefaultRepositoryQueryLayer.java b/archiva-repository-layer/src/main/java/org/apache/maven/archiva/layer/DefaultRepositoryQueryLayer.java index ae2809ad1..b46cb2263 100644 --- a/archiva-repository-layer/src/main/java/org/apache/maven/archiva/layer/DefaultRepositoryQueryLayer.java +++ b/archiva-repository-layer/src/main/java/org/apache/maven/archiva/layer/DefaultRepositoryQueryLayer.java @@ -33,7 +33,9 @@ import java.io.IOException; import java.util.List; /** + * DefaultRepositoryQueryLayer * + * @version $Id$ */ public class DefaultRepositoryQueryLayer implements RepositoryQueryLayer diff --git a/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java b/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java index 3cab3eda6..c67953fa2 100644 --- a/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java +++ b/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java @@ -40,7 +40,6 @@ import org.apache.maven.artifact.metadata.ArtifactMetadataSource; import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.resolver.ArtifactCollector; import org.apache.maven.artifact.resolver.ArtifactResolutionException; -import org.apache.maven.artifact.resolver.ArtifactResolver; import org.apache.maven.artifact.versioning.DefaultArtifactVersion; import org.apache.maven.model.Dependency; import org.apache.maven.model.Model; @@ -114,11 +113,6 @@ public class ShowArtifactAction */ private DependencyTreeBuilder dependencyTreeBuilder; - /** - * @plexus.requirement - */ - private ArtifactResolver artifactResolver; - private String groupId; private String artifactId; @@ -133,6 +127,8 @@ public class ShowArtifactAction private String repositoryId; + private String repositoryUrlName; + private String artifactPath; private List mailingLists; @@ -150,26 +146,6 @@ public class ShowArtifactAction model = project.getModel(); - Configuration configuration = configurationStore.getConfigurationFromStore(); - List repositories = repositoryFactory.createRepositories( configuration ); - - Artifact artifact = artifactFactory.createBuildArtifact( project.getGroupId(), project.getArtifactId(), - project.getVersion(), project.getPackaging() ); - - for ( Iterator i = repositories.iterator(); i.hasNext(); ) - { - ArtifactRepository repository = (ArtifactRepository) i.next(); - - String path = repository.pathOf( artifact ); - File f = new File( repository.getBasedir(), path ); - if ( f.exists() ) - { - repositoryId = repository.getId(); - - artifactPath = path; - } - } - return SUCCESS; } @@ -202,7 +178,7 @@ public class ShowArtifactAction MavenProject project = readProject(); model = project.getModel(); - + this.mailingLists = project.getMailingLists(); return SUCCESS; @@ -490,7 +466,7 @@ public class ShowArtifactAction return false; } if ( getQualifier() != null ? !getQualifier().equals( that.getQualifier() ) - : that.getQualifier() != null ) + : that.getQualifier() != null ) { return false; } @@ -541,4 +517,9 @@ public class ShowArtifactAction { return mailingLists; } + + public String getRepositoryUrlName() + { + return repositoryUrlName; + } } diff --git a/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/DownloadArtifact.java b/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/DownloadArtifact.java new file mode 100644 index 000000000..226f27c38 --- /dev/null +++ b/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/DownloadArtifact.java @@ -0,0 +1,236 @@ +package org.apache.maven.archiva.web.tags; + +/* + * 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. + */ + +import com.opensymphony.webwork.WebWorkException; +import com.opensymphony.webwork.components.Component; +import com.opensymphony.xwork.util.OgnlValueStack; + +import org.apache.commons.lang.StringEscapeUtils; +import org.apache.commons.lang.StringUtils; +import org.apache.maven.archiva.artifact.ManagedArtifact; +import org.apache.maven.archiva.configuration.RepositoryConfiguration; +import org.apache.maven.archiva.repositories.ActiveManagedRepositories; +import org.apache.maven.project.ProjectBuildingException; +import org.codehaus.plexus.component.repository.exception.ComponentLookupException; + +import java.io.IOException; +import java.io.Writer; +import java.util.Iterator; +import java.util.Map; +import java.util.Map.Entry; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import javax.servlet.jsp.PageContext; + +/** + * DownloadArtifact + * + * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a> + * @version $Id$ + * + * @plexus.component role="com.opensymphony.webwork.components.Component" role-hint="download-artifact" + * instantiation-strategy="per-lookup" + */ +public class DownloadArtifact + extends Component +{ + /** + * @plexus.requirement + */ + private ActiveManagedRepositories managedRepositories; + + private HttpServletRequest req; + + private HttpServletResponse res; + + private String groupId; + + private String artifactId; + + private String version; + + private boolean mini = false; + + public DownloadArtifact( OgnlValueStack stack, PageContext pageContext ) + { + super( stack ); + this.req = (HttpServletRequest) pageContext.getRequest(); + this.res = (HttpServletResponse) pageContext.getResponse(); + try + { + managedRepositories = (ActiveManagedRepositories) PlexusTagUtil.lookup( pageContext, + ActiveManagedRepositories.ROLE ); + } + catch ( ComponentLookupException e ) + { + throw new RuntimeException( e.getMessage(), e ); + } + } + + public boolean end( Writer writer, String body ) + { + StringBuffer sb = new StringBuffer(); + + try + { + ManagedArtifact managedArtifact = managedRepositories.findArtifact( groupId, artifactId, version ); + RepositoryConfiguration repoConfig = managedRepositories.getRepositoryConfiguration( managedArtifact + .getRepositoryId() ); + String prefix = req.getContextPath() + "/repository/" + repoConfig.getUrlName(); + + if ( mini ) + { + appendMini( sb, prefix, managedArtifact ); + } + else + { + appendNormal( sb, prefix, managedArtifact ); + } + } + catch ( ProjectBuildingException e ) + { + appendError( sb, e ); + } + + try + { + writer.write( sb.toString() ); + } + catch ( IOException e ) + { + throw new WebWorkException( "IOError: " + e.getMessage(), e ); + } + + return super.end( writer, body ); + } + + private void appendError( StringBuffer sb, ProjectBuildingException e ) + { + /* do nothing */ + } + + private void appendMini( StringBuffer sb, String prefix, ManagedArtifact managedArtifact ) + { + /* do nothing */ + } + + private void appendNormal( StringBuffer sb, String prefix, ManagedArtifact managedArtifact ) + { + /* + * <div class="download"> + * <div class="hd"> + * <div class="c"></div> + * </div> + * <div class="bd"> + * <div class="c"> + * <-- main content goes here --> + * </div> + * </div> + * <div class="ft"> + * <div class="c"></div> + * </div> + * </div> + */ + + sb.append( "<div class=\"download\">" ); + sb.append( "<div class=\"hd\"><div class=\"c\"></div></div>" ); + sb.append( "<div class=\"bd\"><div class=\"c\">" ); + + // Heading + sb.append( "<h2>" ); + if ( managedArtifact.getAttached().isEmpty() ) + { + sb.append( "Download" ); + } + else + { + sb.append( "Downloads" ); + } + sb.append( "</h2>" ); + + // Body + sb.append( "<p class=\"body\">" ); + + appendLink( sb, prefix, managedArtifact.getPath(), "main" ); + + Iterator it = managedArtifact.getAttached().entrySet().iterator(); + while ( it.hasNext() ) + { + Map.Entry entry = (Entry) it.next(); + String type = (String) entry.getKey(); + String path = (String) entry.getValue(); + + if ( StringUtils.isNotBlank( path ) ) + { + sb.append( "<br/>" ); + appendLink( sb, prefix, path, type ); + } + } + + sb.append( "</div>" ); // close "downloadbox.bd.c" + sb.append( "</div>" ); // close "downloadbox.bd" + + sb.append( "<div class=\"ft\"><div class=\"c\"></div></div>" ); + sb.append( "</div>" ); // close "download" + } + + private void appendLink( StringBuffer sb, String prefix, String path, String type ) + { + StringBuffer url = new StringBuffer(); + + url.append( prefix ); + url.append( "/" ).append( path ); + + String filename = path.substring( path.lastIndexOf( "/" ) + 1 ); + + sb.append( "<a href=\"" ).append( StringEscapeUtils.escapeXml( url.toString() ) ).append( "\"" ); + sb.append( " title=\"" ).append( "Download " ).append( StringEscapeUtils.escapeXml( filename ) ).append( "\"" ); + sb.append( ">" ); + + sb.append( "<img src=\"" ).append( req.getContextPath() ); + sb.append( "/images/download-type-" ).append( type ).append( ".png\" />" ); + + // TODO: Include file size / date in output ? + sb.append( StringUtils.capitalize( type ) ); + sb.append( "</a>" ); + } + + public void setArtifactId( String artifactId ) + { + this.artifactId = artifactId; + } + + public void setGroupId( String groupId ) + { + this.groupId = groupId; + } + + public void setMini( boolean mini ) + { + this.mini = mini; + } + + public void setVersion( String version ) + { + this.version = version; + } +} diff --git a/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/DownloadArtifactTag.java b/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/DownloadArtifactTag.java new file mode 100644 index 000000000..7127acad9 --- /dev/null +++ b/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/DownloadArtifactTag.java @@ -0,0 +1,96 @@ +package org.apache.maven.archiva.web.tags; + +/* + * 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. + */ + +import com.opensymphony.webwork.views.jsp.TagUtils; + +import javax.servlet.jsp.JspException; +import javax.servlet.jsp.tagext.TagSupport; + +/** + * DownloadArtifactTag + * + * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a> + * @version $Id$ + */ +public class DownloadArtifactTag + extends TagSupport +{ + private String groupId_; // stores EL-based groupId property + + private String groupId; // stores the evaluated groupId object. + + private String artifactId_; // stores EL-based artifactId property + + private String artifactId; // stores the evaluated artifactId object. + + private String version_; // stores EL-based version property + + private String version; // stores the evaluated version object. + + private String mini_; // stores EL-based mini property + + private boolean mini; // stores the evaluated mini object. + + public int doEndTag() + throws JspException + { + evaluateExpressions(); + + DownloadArtifact download = new DownloadArtifact( TagUtils.getStack( pageContext ), pageContext ); + download.setGroupId( groupId ); + download.setArtifactId( artifactId ); + download.setVersion( version ); + download.setMini( mini ); + + download.end( pageContext.getOut(), "" ); + + return super.doEndTag(); + } + + private void evaluateExpressions() + throws JspException + { + ExpressionTool exprTool = new ExpressionTool( pageContext, this, "download" ); + + // Handle required properties. + groupId = exprTool.requiredString( "groupId", groupId_ ); + artifactId = exprTool.requiredString( "artifactId", artifactId_ ); + version = exprTool.requiredString( "version", version_ ); + + // Handle optional properties + mini = exprTool.optionalBoolean( "mini", mini_, false ); + } + + public void setArtifactId( String artifactId ) + { + this.artifactId_ = artifactId; + } + + public void setGroupId( String groupId ) + { + this.groupId_ = groupId; + } + + public void setVersion( String version ) + { + this.version_ = version; + } +} diff --git a/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/ExpressionTool.java b/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/ExpressionTool.java new file mode 100644 index 000000000..8efab8a18 --- /dev/null +++ b/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/ExpressionTool.java @@ -0,0 +1,114 @@ +package org.apache.maven.archiva.web.tags; + +/* + * 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. + */ + +import org.apache.taglibs.standard.tag.common.core.NullAttributeException; +import org.apache.taglibs.standard.tag.el.core.ExpressionUtil; + +import javax.servlet.jsp.JspException; +import javax.servlet.jsp.PageContext; +import javax.servlet.jsp.tagext.Tag; + +/** + * ExpressionTool + * + * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a> + * @version $Id$ + */ +public class ExpressionTool +{ + private PageContext pageContext; + + private Tag tag; + + private String tagName; + + public ExpressionTool( PageContext pageContext, Tag tag, String tagName ) + { + this.pageContext = pageContext; + this.tag = tag; + this.tagName = tagName; + } + + public boolean optionalBoolean( String propertyName, String expression, boolean defaultValue ) + throws JspException + { + try + { + Boolean ret = (Boolean) ExpressionUtil.evalNotNull( this.tagName, propertyName, expression, Boolean.class, + this.tag, this.pageContext ); + + if ( ret == null ) + { + return defaultValue; + } + + return ret.booleanValue(); + } + catch ( NullAttributeException e ) + { + return defaultValue; + } + } + + public String optionalString( String propertyName, String expression, String defaultValue ) + throws JspException + { + try + { + String ret = (String) ExpressionUtil.evalNotNull( this.tagName, propertyName, expression, String.class, + this.tag, this.pageContext ); + + if ( ret == null ) + { + return defaultValue; + } + + return ret; + } + catch ( NullAttributeException e ) + { + return defaultValue; + } + } + + public String requiredString( String propertyName, String expression ) + throws JspException + { + try + { + String ret = (String) ExpressionUtil.evalNotNull( this.tagName, propertyName, expression, String.class, + this.tag, this.pageContext ); + return ret; + } + catch ( NullAttributeException e ) + { + String emsg = "Required " + this.tagName + " property [" + propertyName + "] is null!"; + + log( emsg, e ); + throw new JspException( emsg ); + } + } + + private void log( String msg, Throwable t ) + { + pageContext.getServletContext().log( msg, t ); + } +} diff --git a/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/GroupIdLinkTag.java b/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/GroupIdLinkTag.java index 449fe9635..462d6ae6f 100644 --- a/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/GroupIdLinkTag.java +++ b/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/GroupIdLinkTag.java @@ -21,9 +21,6 @@ package org.apache.maven.archiva.web.tags; import com.opensymphony.webwork.views.jsp.TagUtils; -import org.apache.taglibs.standard.tag.common.core.NullAttributeException; -import org.apache.taglibs.standard.tag.el.core.ExpressionUtil; - import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.jsp.JspException; @@ -40,7 +37,7 @@ public class GroupIdLinkTag { private String var_; // stores EL-based property - private Object var; // stores the evaluated object. + private String var; // stores the evaluated object. private boolean includeTop = false; @@ -61,7 +58,7 @@ public class GroupIdLinkTag GroupIdLink gidlink = new GroupIdLink( TagUtils.getStack( pageContext ), (HttpServletRequest) pageContext .getRequest(), (HttpServletResponse) pageContext.getResponse() ); - gidlink.setGroupId( var.toString() ); + gidlink.setGroupId( var ); gidlink.setIncludeTop( includeTop ); gidlink.end( pageContext.getOut(), "" ); @@ -72,15 +69,9 @@ public class GroupIdLinkTag private void evaluateExpressions() throws JspException { - try - { - var = ExpressionUtil.evalNotNull( "groupIdLink", "var", var_, String.class, this, pageContext ); - } - catch ( NullAttributeException e ) - { - log( "groupIdLink var is null!", e ); - var = ""; - } + ExpressionTool exprTool = new ExpressionTool( pageContext, this, "groupIdLink" ); + + var = exprTool.optionalString( "var", var_, "" ); } public void setVar( String value ) @@ -88,11 +79,6 @@ public class GroupIdLinkTag this.var_ = value; } - private void log( String msg, Throwable t ) - { - pageContext.getServletContext().log( msg, t ); - } - public void setIncludeTop( boolean includeTop ) { this.includeTop = includeTop; diff --git a/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/PlexusTagUtil.java b/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/PlexusTagUtil.java new file mode 100644 index 000000000..2b730c6bb --- /dev/null +++ b/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/PlexusTagUtil.java @@ -0,0 +1,70 @@ +package org.apache.maven.archiva.web.tags; + +/* + * 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. + */ + +import org.codehaus.plexus.PlexusConstants; +import org.codehaus.plexus.PlexusContainer; +import org.codehaus.plexus.component.repository.exception.ComponentLookupException; + +import javax.servlet.ServletContext; +import javax.servlet.jsp.PageContext; + +/** + * PlexusTagUtil + * + * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a> + * @version $Id$ + */ +public class PlexusTagUtil +{ + public static Object lookup( PageContext pageContext, String role ) + throws ComponentLookupException + { + return getContainer( pageContext ).lookup( role ); + } + + public static Object lookup( PageContext pageContext, String role, String hint ) + throws ComponentLookupException + { + return getContainer( pageContext ).lookup( role, hint ); + } + + public static PlexusContainer getContainer( PageContext pageContext ) + throws ComponentLookupException + { + ServletContext servletContext = pageContext.getServletContext(); + + PlexusContainer xworkContainer = (PlexusContainer) servletContext.getAttribute( "webwork.plexus.container" ); + + if ( xworkContainer != null ) + { + servletContext.setAttribute( PlexusConstants.PLEXUS_KEY, xworkContainer ); + + return xworkContainer; + } + + PlexusContainer container = (PlexusContainer) servletContext.getAttribute( PlexusConstants.PLEXUS_KEY ); + if ( container == null ) + { + throw new ComponentLookupException( "PlexusContainer is null." ); + } + return container; + } +} diff --git a/archiva-webapp/src/main/resources/META-INF/taglib.tld b/archiva-webapp/src/main/resources/META-INF/taglib.tld index 4d38c05ee..8acf73d8e 100644 --- a/archiva-webapp/src/main/resources/META-INF/taglib.tld +++ b/archiva-webapp/src/main/resources/META-INF/taglib.tld @@ -36,5 +36,47 @@ </attribute> </tag> + + <tag> + + <name>downloadArtifact</name> + <tag-class>org.apache.maven.archiva.web.tags.DownloadArtifactTag</tag-class> + <body-content>empty</body-content> + <description><![CDATA[Render a a set of download links for an artifact]]></description> + + <attribute> + <name>groupId</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + + <description><![CDATA[The GroupID String]]></description> + </attribute> + + <attribute> + <name>artifactId</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + + <description><![CDATA[The ArtifactID String]]></description> + </attribute> + + <attribute> + <name>version</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + + <description><![CDATA[The Version String]]></description> + </attribute> + + <attribute> + <name>mini</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + + <description><![CDATA[Boolean indicating if the download link is to be generated in mini format instead.]]></description> + </attribute> + + </tag> + </taglib>
\ No newline at end of file diff --git a/archiva-webapp/src/main/webapp/WEB-INF/decorators.xml b/archiva-webapp/src/main/webapp/WEB-INF/decorators.xml index b2bee4cfa..8ead22da1 100644 --- a/archiva-webapp/src/main/webapp/WEB-INF/decorators.xml +++ b/archiva-webapp/src/main/webapp/WEB-INF/decorators.xml @@ -19,6 +19,10 @@ --> <decorators defaultdir="/WEB-INF/jsp/decorators"> + <excludes> + <pattern>/repository/*</pattern> + </excludes> + <decorator name="default" page="default.jsp"> <pattern>/*</pattern> </decorator> diff --git a/archiva-webapp/src/main/webapp/WEB-INF/jsp/include/artifactInfo.jspf b/archiva-webapp/src/main/webapp/WEB-INF/jsp/include/artifactInfo.jspf index 7a206a351..39b436e33 100644 --- a/archiva-webapp/src/main/webapp/WEB-INF/jsp/include/artifactInfo.jspf +++ b/archiva-webapp/src/main/webapp/WEB-INF/jsp/include/artifactInfo.jspf @@ -111,9 +111,8 @@ <groupId>${model.groupId}</groupId> <artifactId>${model.artifactId}</artifactId> <version>${model.version}</version><c:if test="${model.packaging != 'jar'}"> - <type>${model.packaging}</type> -</c:if> - </dependency> + <type>${model.packaging}</type> +</c:if> </dependency> </pre> </c:if> diff --git a/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp b/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp index efab1c047..60299d7d3 100644 --- a/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp +++ b/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp @@ -20,6 +20,7 @@ <%@ taglib prefix="ww" uri="/webwork" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="my" tagdir="/WEB-INF/tags" %> +<%@ taglib prefix="archiva" uri="http://maven.apache.org/archiva" %> <html> <head> @@ -71,14 +72,6 @@ </c:choose> </h1> -<div class="sidebar3"> - <div id="download"> - <%-- TODO! create a tag for this, include classifier for javadoc, sources below --%> - <c:url var="url" value="/repository/${repositoryId}/${artifactPath}"/> - <a href="${url}">Download</a> - </div> -</div> - <div id="contentArea"> <div id="tabs"> <span> @@ -125,6 +118,10 @@ </span> </div> +<div class="sidebar3"> + <archiva:downloadArtifact groupId="${groupId}" artifactId="${artifactId}" version="${Version}" /> +</div> + <%-- TODO: perhaps using ajax? --%> <%-- TODO: panels? this is ugly as is! --%> <div id="tabArea"> diff --git a/archiva-webapp/src/main/webapp/css/site.css b/archiva-webapp/src/main/webapp/css/site.css index 35f676ecb..e6d7370f0 100644 --- a/archiva-webapp/src/main/webapp/css/site.css +++ b/archiva-webapp/src/main/webapp/css/site.css @@ -16,133 +16,198 @@ * specific language governing permissions and limitations * under the License. */ - .sidebar3 { - width: 10em; - float: right; - text-align: center; + width: 10em; + float: right; + text-align: center; } #sidebarb { - font-size: small; - text-align: center; - padding: 10px 10px 10px 10px; - border: 1px #DFDEDE solid; - width: 10em; + font-size: small; + text-align: center; + padding: 10px 10px 10px 10px; + border: 1px #DFDEDE solid; + width: 10em; } #sidebar { - float: right; - font-size: small; - margin: 10px; - padding: 10px; - border: 1px #DFDEDE solid; - width: 10em; + float: right; + font-size: small; + margin: 10px; + padding: 10px; + border: 1px #DFDEDE solid; + width: 10em; +} + +.download { + float: right; + font-size: small; + font-weight: bold; + xmargin: 0px auto; + margin: 15px auto 0px auto; + height: auto; + width: 150px; + min-width: 120px; + display: block; +} + +.download .hd .c, +.download .ft .c { + font-size: 1px; /* ensure minimum height */ + height: 10px; +} + +.download .ft .c { + height: 10px; +} + +.download .hd { + background: transparent url(../images/download.tl.gif) no-repeat 0px 0px; +} + +.download .hd .c { + background: transparent url(../images/download.tr.gif) no-repeat right 0px; +} + +.download .bd { + background: transparent url(../images/download.ml.gif) repeat-y 0px 0px; +} + +.download .bd .c { + background: transparent url(../images/download.mr.gif) repeat-y right 0px; +} + +.download .bd .c .s { + margin: 0px 8px 0px 4px; + background: #000 url(../images/download.ms.jpg) repeat-x 0px 0px; + padding: 1em; +} + +.download .ft { + background: transparent url(../images/download.bl.gif) no-repeat 0px 0px; +} + +.download .ft .c { + background: transparent url(../images/download.br.gif) no-repeat right 0px; } -#download { - background-image: url( ../images/dl.gif ); - background-repeat: no-repeat; - float: right; - font-size: small; - font-weight: bold; - margin: 10px; - padding: 10px; - height: auto; - width: 10em; - display: block; +.download .bd h2 { + margin: 0px; + text-align: center; + border-bottom-width: 0px !important; } -#download a { - text-decoration: none; +.download .bd p { + margin: 0px; + border: 0px; + text-align: left; + padding-left: 15px; +} + +.download a { + text-decoration: none; } #contentArea { - margin-right: 15em; - padding: 1em; + /* margin-right: 15em; */ + padding: 1em; } #tabs b { - border: 1px #DFDEDE solid; - padding-left: 1em; - padding-right: 1em; + border: 1px #DFDEDE solid; + padding-left: 1em; + padding-right: 1em; } #tabs a { - border: 1px #DFDEDE solid; - padding-left: 1em; - padding-right: 1em; - text-decoration: none; + border: 1px #DFDEDE solid; + padding-left: 1em; + padding-right: 1em; + text-decoration: none; } #tabArea { - border-top: 1px solid #DFDEDE; - padding: 1em; + border-top: 1px solid #DFDEDE; + padding: 1em; } #searchTypes { - text-align: right; - font-size: xx-small; + text-align: right; + font-size: xx-small; } .statusFailed { - color: red; - font-weight: bold; + color: red; + font-weight: bold; } /* WebWork validation failures */ .errorMessage { - color: red; - font-weight: bold; + color: red; + font-weight: bold; } .actionMessage { - font-weight: bold; + font-weight: bold; } .errorBullet { - list-style-image: url( "../images/icon_error_sml.gif" ); + list-style-image: url( "../images/icon_error_sml.gif" ); } .warningBullet { - list-style-image: url( "../images/icon_warning_sml.gif" ); + list-style-image: url( "../images/icon_warning_sml.gif" ); } .infoBullet { - list-style-image: url( "../images/icon_info_sml.gif" ); + list-style-image: url( "../images/icon_info_sml.gif" ); } .artifact-link { - font-size: x-small; - padding-left: 5em; + font-size: x-small; + padding-left: 5em; } .artifact-title { + } ul.dependencyTree { - margin-left: 50px; + margin-left: 50px; } ul.dependencyTree span.artifact-link { - padding-left: 0px; + padding-left: 0px; } .eXtremeTable tr.filter { - padding: 1px; + padding: 1px; } -.eXtremeTable .tableRegion, - .eXtremeTable .statusBar { - width: 100%; +.eXtremeTable .tableRegion,.eXtremeTable .statusBar { + width: 100%; } .eXtremeTable .tableHeader { - background-color: #F3B455; + background-color: #F3B455; } .eXtremeTable .tableHeaderSort { - background-color: #FFBF5F; + background-color: #FFBF5F; +} + +.eXtremeTable .compactToolbar td { + white-space: nowrap; } +.tools { + border-color: gray !important; +} + +.tools .toolHeading { + padding: 0px 3px 0px 3px; + margin: 0px !important; + font-size: 11px !important; + background-color: #F3B455 !important; +} diff --git a/archiva-webapp/src/main/webapp/images/download.bl.gif b/archiva-webapp/src/main/webapp/images/download.bl.gif Binary files differnew file mode 100644 index 000000000..c59ba0062 --- /dev/null +++ b/archiva-webapp/src/main/webapp/images/download.bl.gif diff --git a/archiva-webapp/src/main/webapp/images/download.br.gif b/archiva-webapp/src/main/webapp/images/download.br.gif Binary files differnew file mode 100644 index 000000000..d80f62ee8 --- /dev/null +++ b/archiva-webapp/src/main/webapp/images/download.br.gif diff --git a/archiva-webapp/src/main/webapp/images/download.ml.gif b/archiva-webapp/src/main/webapp/images/download.ml.gif Binary files differnew file mode 100644 index 000000000..8fcfa4220 --- /dev/null +++ b/archiva-webapp/src/main/webapp/images/download.ml.gif diff --git a/archiva-webapp/src/main/webapp/images/download.mr.gif b/archiva-webapp/src/main/webapp/images/download.mr.gif Binary files differnew file mode 100644 index 000000000..ded125be9 --- /dev/null +++ b/archiva-webapp/src/main/webapp/images/download.mr.gif diff --git a/archiva-webapp/src/main/webapp/images/download.tl.gif b/archiva-webapp/src/main/webapp/images/download.tl.gif Binary files differnew file mode 100644 index 000000000..b4a8e97d3 --- /dev/null +++ b/archiva-webapp/src/main/webapp/images/download.tl.gif diff --git a/archiva-webapp/src/main/webapp/images/download.tr.gif b/archiva-webapp/src/main/webapp/images/download.tr.gif Binary files differnew file mode 100644 index 000000000..07aeccee5 --- /dev/null +++ b/archiva-webapp/src/main/webapp/images/download.tr.gif |