- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 49 for getBuild (0.14 sec)
-
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) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java
Xpp3Dom conf = (Xpp3Dom) result.getEffectiveModel().getBuild().getPlugins().get(0).getConfiguration(); assertNotNull(conf); assertEquals("1.5", conf.getChild("source").getValue()); assertEquals(" 1.5 ", conf.getChild("target").getValue()); } @Test void testPomChanges() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12/ProjectInheritanceTest.java
File pom1 = new File(pom0Basedir, "p1/pom.xml"); getProjectWithDependencies(pom0); MavenProject project1 = getProjectWithDependencies(pom1); Map pluginMap = project1.getBuild().getPluginsAsMap(); Plugin compilerPlugin = (Plugin) pluginMap.get("org.apache.maven.plugins:maven-compiler-plugin"); assertNotNull(compilerPlugin);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
/** * Returns the project model. */ @Nonnull Model getModel(); /** * Shorthand method. */ @Nonnull default Build getBuild() { Build build = getModel().getBuild(); return build != null ? build : Build.newInstance(); } /** * Returns the path to the pom file for this project.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 7.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java
/** * ManagementModelMerger */ protected static class ManagementModelMerger extends MavenModelMerger { public Model mergeManagedBuildPlugins(Model model) { Build build = model.getBuild(); if (build != null) { PluginManagement pluginManagement = build.getPluginManagement(); if (pluginManagement != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java
throw new IllegalArgumentException("artifactId cannot be empty"); } if (model != null) { Build build = model.getBuild(); if (build != null) { for (Plugin plugin : build.getPlugins()) { if (groupId.equals(plugin.getGroupId()) && artifactId.equals(plugin.getArtifactId())) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
.collect(Collectors.toList()); } private static boolean isEmpty(Profile profile) { return profile.getActivation() == null && profile.getBuild() == null && profile.getDependencies().isEmpty() && (profile.getDependencyManagement() == null || profile.getDependencyManagement().getDependencies().isEmpty())
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java
if (modelV3 == null || basedir == null) { return; } Model model = modelV3.getDelegate(); Build build = model.getBuild(); Build newBuild = null; if (build != null) { newBuild = Build.newBuilder(build) .directory(alignToBaseDirectory(build.getDirectory(), basedir))
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java
// Value taken from super model // ---------------------------------------------------------------------- assertEquals("4.0.0", project4.getModelVersion()); Build build = project4.getBuild(); List<Plugin> plugins = build.getPlugins(); Map<String, Integer> validPluginCounts = new HashMap<>(); String testPluginArtifactId = "maven-compiler-plugin";
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.2K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
assertCollectorState(0, 0, 0, collector); List<Resource> outResources = out.getBuild().getResources(); Iterator<Resource> resIt = outResources.iterator(); assertEquals(model.getBuild().getSourceDirectory(), resIt.next().getDirectory()); } @Test public void shouldInterpolateUnprefixedBasedirExpression() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.2K bytes - Viewed (0)