Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
maven-core-3.8.6.jar - Maven Core Module
maven-core-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Core module. Apache Maven is a software project management and comprehension tool.
JAR File Size and Download Location:
File: 646022 06-06-2022 16:16 lib/maven-core-3.8.6.jar Download: Apache Maven Website
✍: FYIcenter.com
⏎ org/apache/maven/project/artifact/AttachedArtifact.java
package org.apache.maven.project.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 org.apache.maven.artifact.DefaultArtifact; import org.apache.maven.artifact.InvalidArtifactRTException; import org.apache.maven.artifact.handler.ArtifactHandler; import org.apache.maven.artifact.metadata.ArtifactMetadata; import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.versioning.ArtifactVersion; import org.apache.maven.artifact.versioning.VersionRange; import java.util.Collection; import java.util.Collections; import java.util.List; /** *<strong>Warning:</strong> This is an internal utility class that is only public for technical reasons, it is not part * of the public API. In particular, this class can be changed or deleted without prior notice. Use * {@link org.apache.maven.project.MavenProjectHelper#attachArtifact} instead. */ @Deprecated public class AttachedArtifact extends DefaultArtifact { private final Artifact parent; public AttachedArtifact( Artifact parent, String type, String classifier, ArtifactHandler artifactHandler ) { super( parent.getGroupId(), parent.getArtifactId(), parent.getVersionRange(), parent.getScope(), type, classifier, artifactHandler, parent.isOptional() ); setDependencyTrail( Collections.singletonList( parent.getId() ) ); this.parent = parent; if ( getId().equals( parent.getId() ) ) { throw new InvalidArtifactRTException( parent.getGroupId(), parent.getArtifactId(), parent.getVersion(), parent.getType(), "An attached artifact must have a different ID" + " than its corresponding main artifact." ); } } public AttachedArtifact( Artifact parent, String type, ArtifactHandler artifactHandler ) { this( parent, type, null, artifactHandler ); } public void setArtifactId( String artifactId ) { throw new UnsupportedOperationException( "Cannot change the artifactId for an attached artifact." + " It is derived from the main artifact." ); } public List<ArtifactVersion> getAvailableVersions() { return parent.getAvailableVersions(); } public void setAvailableVersions( List<ArtifactVersion> availableVersions ) { throw new UnsupportedOperationException( "Cannot change the version information for an attached artifact." + " It is derived from the main artifact." ); } public String getBaseVersion() { return parent.getBaseVersion(); } public void setBaseVersion( String baseVersion ) { throw new UnsupportedOperationException( "Cannot change the version information for an attached artifact." + " It is derived from the main artifact." ); } public String getDownloadUrl() { return parent.getDownloadUrl(); } public void setDownloadUrl( String downloadUrl ) { throw new UnsupportedOperationException( "Cannot change the download information for an attached artifact." + " It is derived from the main artifact." ); } public void setGroupId( String groupId ) { throw new UnsupportedOperationException( "Cannot change the groupId for an attached artifact." + " It is derived from the main artifact." ); } public ArtifactRepository getRepository() { return parent.getRepository(); } public void setRepository( ArtifactRepository repository ) { throw new UnsupportedOperationException( "Cannot change the repository information for an attached artifact." + " It is derived from the main artifact." ); } public String getScope() { return parent.getScope(); } public void setScope( String scope ) { throw new UnsupportedOperationException( "Cannot change the scoping information for an attached artifact." + " It is derived from the main artifact." ); } public String getVersion() { return parent.getVersion(); } public void setVersion( String version ) { throw new UnsupportedOperationException( "Cannot change the version information for an attached artifact." + " It is derived from the main artifact." ); } public VersionRange getVersionRange() { return parent.getVersionRange(); } public void setVersionRange( VersionRange range ) { throw new UnsupportedOperationException( "Cannot change the version information for an attached artifact." + " It is derived from the main artifact." ); } public boolean isRelease() { return parent.isRelease(); } public void setRelease( boolean release ) { throw new UnsupportedOperationException( "Cannot change the version information for an attached artifact." + " It is derived from the main artifact." ); } public boolean isSnapshot() { return parent.isSnapshot(); } public void addMetadata( ArtifactMetadata metadata ) { // ignore. The parent artifact will handle metadata. // we must fail silently here to avoid problems with the artifact transformers. } public Collection<ArtifactMetadata> getMetadataList() { return Collections.emptyList(); } }
⏎ org/apache/maven/project/artifact/AttachedArtifact.java
Or download all of them as a single archive file:
File name: maven-core-3.8.6-src.zip File size: 550169 bytes Release date: 2022-06-06 Download
⇒ maven-artifact-3.8.6.jar - Maven Artifact Module
⇐ apache-maven-3.8.6-bin.zip - Apache Maven Binary Package
2020-10-26, 109486👍, 0💬
Popular Posts:
commons-collections4-4.2 -sources.jaris the source JAR file for Apache Commons Collections 4.2, whic...
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....
What Is HttpComponents httpclient-4.2.2.jar? HttpComponents httpclient-4.2.2.jar is the JAR file for...
How to download and install iText7-Core-7.1.4.zip? iText7-Core-7.1.4.zip is the binary package of iT...
Apache Log4j provides the interface that applications should code to and provides the adapter compon...