Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for Create (0.16 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @see org.apache.maven.api.services.ArtifactCoordinateFactory#create(Session, String)
         */
        @Nonnull
        ArtifactCoordinate createArtifactCoordinate(@Nonnull String coordString);
    
        /**
         * Shortcut for {@code getService(ArtifactFactory.class).create(...)}.
         *
         * @param groupId the group identifier, or {@code null} is unspecified
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

        private final Map<MavenProject, Integer> order;
    
        private final Map<String, MavenProject> projects;
    
        /**
         * Creates a new project dependency graph based on the specified projects.
         *
         * @param projects The projects to create the dependency graph with
         * @throws DuplicateProjectException
         * @throws CycleDetectedException
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

        @Nullable
        <T> T computeIfAbsent(@Nonnull Key<T> key, @Nonnull Supplier<T> supplier);
    
        /**
         * Create a key using the given class as an identifier and as the type of the object.
         */
        static <T> Key<T> key(Class<T> clazz) {
            return new Key<>(clazz, clazz);
        }
    
        /**
         * Create a key using the given class and id.
         */
        static <T> Key<T> key(Class<T> clazz, Object id) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

    @Experimental
    public interface TypeRegistry extends ExtensibleEnumRegistry<Type> {
    
        /**
         * Obtain the {@link Type} from the specified {@code id}.
         * If no type is known for {@code id}, the registry will
         * create a custom {@code Type} for it.
         *
         * @param id the id of the type to retrieve
         * @return the type
         */
        @Nonnull
        @Override
        default Type require(@Nonnull String id) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinateFactory.java

         */
        @Nonnull
        default ArtifactCoordinate create(@Nonnull Session session, @Nonnull String coordinateString) {
            return create(ArtifactCoordinateFactoryRequest.build(session, coordinateString));
        }
    
        @Nonnull
        default ArtifactCoordinate create(
                @Nonnull Session session, String groupId, String artifactId, String version, String extension) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 18 10:30:20 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactory.java

         */
        @Nonnull
        Artifact create(@Nonnull ArtifactFactoryRequest request);
    
        @Nonnull
        default Artifact create(
                @Nonnull Session session, String groupId, String artifactId, String version, String extension) {
            return create(ArtifactFactoryRequest.build(session, groupId, artifactId, version, extension));
        }
    
        @Nonnull
        default Artifact create(
                @Nonnull Session session,
    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)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

        // it's all encapsulated here so it appears normalized to the POM builder.
    
        // We are going to take the project packaging and find all plugin in the default lifecycle and create
        // fully populated Plugin objects, including executions with goals and default configuration taken
        // from the plugin.xml inside a plugin.
        //
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

        @Inject
        SessionScope sessionScope;
    
        @Inject
        SettingsBuilder settingsBuilder;
    
        @Inject
        ToolchainsBuilder toolchainsBuilder;
    
        @BeforeEach
        void setup() {
            // create session with any local repo, is redefined anyway below
            RepositorySystemSession rss = new MavenSessionBuilderSupplier(repositorySystem)
                    .get()
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenSessionBuilderSupplier.java

         * local repository manager needs to be configured to make session be able to create session instance.
         *
         * @return SessionBuilder configured with minimally required things for "Maven-based resolution". At least LRM must
         * be set on builder to make it able to create session instances.
         */
        @Override
        public SessionBuilder get() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            org.apache.maven.api.plugin.Log log = new DefaultLog(
                    LoggerFactory.getLogger(mojoExecution.getMojoDescriptor().getFullGoalName()));
            try {
                Injector injector = Injector.create();
                injector.discover(pluginRealm);
                // Add known classes
                // TODO: get those from the existing plexus scopes ?
                injector.bindInstance(Session.class, sessionV4);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top