- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for setBuild (0.06 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
Build build = new Build(); build.setOutputDirectory("myOutputDirectory"); model.setBuild(build); Build build2 = model.getBuild(); assertNotNull(build2); assertEquals("myOutputDirectory", build2.getOutputDirectory()); model.setBuild(null); assertNull(model.getBuild()); } @Test void testEqualsNullSafe() { assertNotEquals(null, new Model());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java
project.setScm(new Scm()); project.getScm().setConnection("scm-connection"); project.addDependency(dependency1); project.addDependency(dependency2); project.setBuild(new Build()); // Build up an artifactMap project.addArtifact(new Artifact("g0", "a0", "v0", "e0", "c0")); project.addArtifact(new Artifact("g1", "a1", "v1", "e1", "c1"));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
model.setModelVersion("4.0.0"); model.setGroupId(groupId); model.setArtifactId(artifactId); model.setVersion(version); model.setBuild(new Build()); project = new MavenProject(model); } public ProjectBuilder setGroupId(String groupId) { project.setGroupId(groupId); return this; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java
merger.mergeModelBase(builder, model, profile); if (profile.getBuild() != null) { Build build = model.getBuild() != null ? model.getBuild() : Build.newInstance(); Build.Builder bbuilder = Build.newBuilder(build); merger.mergeBuildBase(bbuilder, build, profile.getBuild()); builder.build(bbuilder.build()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.3K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java
model = new MavenXpp3Reader().read(is); } // Serialize an inner child here so that the BaseObject.childrenTracking is non null Build build = model.getBuild(); ByteArrayOutputStream baos = new ByteArrayOutputStream(); try (ObjectOutputStream oos = new ObjectOutputStream(baos)) { oos.writeObject(build); } Build build2;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java
Properties properties = loadResumptionFile(Paths.get(rootProject.getBuild().getDirectory())); applyResumptionProperties(request, properties); } @Override public void removeResumptionData(MavenProject rootProject) { Path resumeProperties = Paths.get(rootProject.getBuild().getDirectory(), RESUME_PROPERTIES_FILENAME); try { Files.deleteIfExists(resumeProperties);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java
} @Override public Model mergeDuplicates(Model model, ModelBuildingRequest request, ModelProblemCollector problems) { Model.Builder builder = Model.newBuilder(model); Build build = model.getBuild(); if (build != null) { List<Plugin> plugins = build.getPlugins(); Map<Object, Plugin> normalized = new LinkedHashMap<>(plugins.size() * 2); for (Plugin plugin : plugins) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java
return; } if (Features.consumerPom(session.getUserProperties())) { Path buildDir = project.getBuild() != null ? Paths.get(project.getBuild().getDirectory()) : null; if (buildDir != null) { Files.createDirectories(buildDir); } Path consumer = buildDir != null
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
public void alignToBaseDirectory(Model model, File basedir) { if (basedir == null) { return; } Build build = model.getBuild(); if (build != null) { build.setDirectory(alignToBaseDirectory(build.getDirectory(), basedir)); build.setSourceDirectory(alignToBaseDirectory(build.getSourceDirectory(), basedir));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
if (project.hasLifecyclePhase("test-compile")) { return new File(project.getBuild().getTestOutputDirectory()); } } else { String type = artifact.getProperty("type", ""); File outputDirectory = new File(project.getBuild().getOutputDirectory()); // Check if the project is being built during this session, and if we can expect any output.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.3K bytes - Viewed (0)