Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for attach (0.19 sec)

  1. maven-core/src/main/java/org/apache/maven/project/DuplicateArtifactAttachmentException.java

     * under the License.
     */
    package org.apache.maven.project;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * This exception is thrown if an application attempts to attach
     * two of the same artifacts to a single project.
     *
     * TODO Make this a checked exception, and modify the API of MavenProjectHelper.
     * Currently, this modification would create compatibility problems for existing plugins.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java

    import org.apache.maven.api.Service;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Resolves the artifact, i.e download the file when required and attach it to the artifact
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ArtifactResolver extends Service {
    
        /**
         * @param request {@link ArtifactResolverRequest}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  3. maven-core/src/test/projects/project-builder/mng-3023/dependency/pom.xml

                </configuration>
              </execution>
              <execution>
                <id>install</id>
                <phase>generate-sources</phase>
                <goals>
                  <goal>set</goal>
                  <goal>attach-pom</goal>
                  <goal>install</goal>
                </goals>
                <configuration>
                  <mainFile>dependency-1.jar</mainFile>
                </configuration>
              </execution>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Nov 23 12:04:30 GMT 2014
    - 2.2K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException;
    
    /**
     * Attach a POM to an artifact.
     *
     */
    @Deprecated
    public class ProjectArtifactMetadata extends AbstractArtifactMetadata {
        private final File file;
    
        public ProjectArtifactMetadata(Artifact artifact) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  5. api/maven-api-model/pom.xml

          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>build-helper-maven-plugin</artifactId>
            <executions>
              <execution>
                <goals>
                  <goal>attach-artifact</goal>
                </goals>
                <configuration>
                  <artifacts>
                    <artifact>
                      <file>${basedir}/src/main/mdo/maven.mdo</file>
                      <type>mdo</type>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 08:48:58 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/artifact/AttachedArtifact.java

        }
    
        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."
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            InternalMavenSession session = ((DefaultProject) project).getSession();
            Collection<Artifact> attached = map(
                    getMavenProject(project).getAttachedArtifacts(),
                    a -> session.getArtifact(RepositoryUtils.toArtifact(a)));
            return Collections.unmodifiableCollection(attached);
        }
    
        @Override
        public Collection<Artifact> getAllArtifacts(Project project) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectHelper.java

            artifact.setFile(artifactFile);
            artifact.setResolved(true);
    
            attachArtifact(project, artifact);
        }
    
        /**
         * Add an attached artifact or replace the file for an existing artifact.
         *
         * @see MavenProject#addAttachedArtifact(org.apache.maven.artifact.Artifact)
         * @param project project reference.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  9. maven-core/lifecycle-executor.txt

    foreach configuration element:
     - if read only and being set squawk
    
     - find the parameter
     - get value from expression or default
     - if required and null squawk
    
          <configuration>
            <attached implementation="boolean" default-value="true"/>
            <localRepository implementation="org.apache.maven.artifact.repository.ArtifactRepository">${localRepository}</localRepository>
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jul 18 17:22:19 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

        Optional<Path> getPath(Project project);
    
        /**
         * Returns an immutable collection of attached artifacts for given project.
         */
        @Nonnull
        Collection<Artifact> getAttachedArtifacts(Project project);
    
        /**
         * Returns project's all artifacts as immutable collection. The list contains all artifacts, even the attached ones,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Feb 09 17:13:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
Back to top