- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 25 for InputSource (0.05 seconds)
-
compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java
/** * Default constructor for InputSource. */ public InputSource() {} /** * Creates a new InputSource from an API model InputSource. * This constructor is used for converting between the API model and the compat model. * * @param source the API model InputSource to convert from */ public InputSource(org.apache.maven.api.model.InputSource source) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java
} private void parseLifecyclePhaseDefinitions(Map<Plugin, Plugin> plugins, String phase, LifecyclePhase goals) { InputSource inputSource = new InputSource(); inputSource.setModelId(DefaultLifecycleRegistry.DEFAULT_LIFECYCLE_MODELID); InputLocation location = new InputLocation(-1, -1, inputSource); location.setLocation(0, location); List<LifecycleMojo> mojos = goals.getMojos();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 9K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java
public Settings read(Reader input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); try (Reader in = input) { InputSource source = (InputSource) options.get(InputSource.class.getName()); return new Settings(new SettingsStaxReader().read(in, isStrict(options), source)); } catch (XMLStreamException e) { throw new SettingsParseException(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 3.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java
InputSource inputSource = new InputSource(); inputSource.setModelId(modelId); inputSource.setLocation(getClass().getResource(resource).toExternalForm()); options.put(ModelProcessor.INPUT_SOURCE, inputSource); superModel = modelProcessor.read(is, options); } catch (IOException e) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.1K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java
public PersistedToolchains read(Reader input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); try (Reader in = input) { InputSource source = (InputSource) options.get(InputSource.class.getName()); return new PersistedToolchains(new MavenToolchainsStaxReader().read(in, isStrict(options), source)); } catch (XMLStreamException e) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 3.8K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; import org.apache.maven.api.model.InputSource; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Level; import org.openjdk.jmh.annotations.Measurement;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 3.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java
return value == null || Boolean.parseBoolean(value.toString()); } private InputSource getSource(Map<String, ?> options) { Object value = (options != null) ? options.get(INPUT_SOURCE) : null; return (InputSource) value; } private Model read(Reader reader, boolean strict, InputSource source) throws IOException { try { if (source != null) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java
+ this.getClass().getPackage().getImplementationVersion() + ":reporting-converter"; InputSource inputSource = new InputSource(); inputSource.setModelId(modelId); location = new InputLocation(-1, -1, inputSource); location.setLocation(0, location); } @Override
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 9.4K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java
} // -- InputLocation getOtherLocation( Object ) /** * Get the source field. * * @return InputSource */ public InputSource getSource() { return this.source; } // -- InputSource getSource() /** * Gets the parent InputLocation where this InputLocation may have been imported from. * Can return {@code null}. *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 13.5K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3ReaderEx.java
* under the License. */ package org.apache.maven.model.io.xpp3; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import org.apache.maven.model.InputSource; import org.apache.maven.model.Model; import org.codehaus.plexus.util.xml.pull.XmlPullParserException; /** * @deprecated Use MavenStaxReader instead */ @Deprecated
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.8K bytes - Click Count (0)