- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for getPackaging (0.19 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* {@link #getArtifacts()} to gain access to POM or build artifact. * * @see #getArtifacts() */ @Nonnull Packaging getPackaging(); /** * Returns the project language. It is by default determined by {@link #getPackaging()}. * * @see #getPackaging() */ @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 7.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
Model model = project.getModel().getDelegate(); String packaging = model.getPackaging(); String originalPackaging = project.getOriginalModel().getPackaging(); if (POM_PACKAGING.equals(packaging) && !BOM_PACKAGING.equals(originalPackaging)) { return buildPom(session, project, src); } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java
@Override public String getDirectory() { if (directory == null) { return getPackaging() + "s"; } return directory; } public void setDirectory(final String directory) { this.directory = directory; } @Override public String getPackaging() { if (packaging == null) { return type; } return packaging;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java
MavenProject project = mock(MavenProject.class); when(project.getGroupId()).thenReturn("org.apache.maven"); when(project.getArtifactId()).thenReturn("maven-embedder"); when(project.getPackaging()).thenReturn("jar"); when(project.getName()).thenReturn("Apache Maven Embedder"); when(project.getVersion()).thenReturn("3.5.4-SNAPSHOT");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java
} @Override public String getDirectory() { return getPackaging() + "s"; } @Override public String getExtension() { return extension; } @Override public String getLanguage() { return "java"; } @Override public String getPackaging() { return type; } @Override @Deprecated
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerMock.java
this.classifier = classifier; } @Override public String getClassifier() { return classifier; } public void setPackaging(String packaging) { this.packaging = packaging; } @Override public String getPackaging() { return packaging; } public void setIncludesDependencies(boolean includesDependencies) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
// ----------[ packaging ]---------- prefix = chars('-', Math.max(0, (lineLength - project.getPackaging().length() - 4) / 2)); suffix = chars('-', Math.max(0, lineLength - project.getPackaging().length() - 4 - prefix.length())); infoMain(prefix + "[ " + project.getPackaging() + " ]" + suffix); } } @Override public void mojoSkipped(ExecutionEvent event) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Packaging.java
* System.out.println(packaging.getId()); // Outputs "jar" * } * </pre> * * @see org.apache.maven.api.Session#requirePackaging(String) * @see org.apache.maven.api.Project#getPackaging() * @see org.apache.maven.api.model.Model#getPackaging() * @since 4.0.0 */ @Experimental @Immutable public interface Packaging extends ExtensibleEnum { /** * The packaging id. */ @Nonnull String id();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 3.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
try { Thread.currentThread().setContextClassLoader(project.getClassRealm()); this.packaging = session.requirePackaging(project.getPackaging()); } finally { Thread.currentThread().setContextClassLoader(ttcl); } } public InternalMavenSession getSession() { return session; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifactHandler.java
@Override public String getExtension() { return extension; } @Override public String getLanguage() { return "none"; } @Override public String getPackaging() { return packaging; } @Override @Deprecated public boolean isAddedToClasspath() { return false; } @Override public boolean isIncludesDependencies() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0)