New upstream version 3.0.1
Emmanuel Bourg
1 year, 3 months ago
29 | 29 |
</parent>
|
30 | 30 |
|
31 | 31 |
<artifactId>maven-install-plugin</artifactId>
|
32 | |
<version>3.0.0</version>
|
|
32 |
<version>3.0.1</version>
|
33 | 33 |
<packaging>maven-plugin</packaging>
|
34 | 34 |
|
35 | 35 |
<name>Apache Maven Install Plugin</name>
|
|
44 | 44 |
<connection>scm:git:https://gitbox.apache.org/repos/asf/maven-install-plugin.git</connection>
|
45 | 45 |
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-install-plugin.git</developerConnection>
|
46 | 46 |
<url>https://github.com/apache/maven-install-plugin/tree/${project.scm.tag}</url>
|
47 | |
<tag>maven-install-plugin-3.0.0</tag>
|
|
47 |
<tag>maven-install-plugin-3.0.1</tag>
|
48 | 48 |
</scm>
|
49 | 49 |
<issueManagement>
|
50 | 50 |
<system>jira</system>
|
|
66 | 66 |
<mavenVersion>3.2.5</mavenVersion>
|
67 | 67 |
<aetherVersion>1.0.0.v20140518</aetherVersion> <!-- Maven bound -->
|
68 | 68 |
<slf4jVersion>1.7.5</slf4jVersion> <!-- Maven bound -->
|
69 | |
<project.build.outputTimestamp>2022-07-16T16:04:08Z</project.build.outputTimestamp>
|
|
69 |
<project.build.outputTimestamp>2022-07-19T14:21:09Z</project.build.outputTimestamp>
|
70 | 70 |
</properties>
|
71 | 71 |
|
72 | 72 |
<dependencies>
|
21 | 21 |
|
22 | 22 |
File buildLog = new File( basedir, 'build.log' )
|
23 | 23 |
assert buildLog.exists()
|
24 | |
assert buildLog.text.contains( "[DEBUG] Using META-INF/maven/org.apache.maven.plugins.install.its/minstall52/pom.xml as pomFile" )
|
|
24 |
assert buildLog.text.contains( "[DEBUG] Loading META-INF/maven/org.apache.maven.plugins.install.its/minstall52/pom.xml" )
|
|
25 |
assert buildLog.text.contains( "[DEBUG] Using JAR embedded POM as pomFile" )
|
205 | 205 |
else
|
206 | 206 |
{
|
207 | 207 |
temporaryPom = readingPomFromJarFile();
|
208 | |
pomFile = temporaryPom;
|
|
208 |
if ( !Boolean.TRUE.equals( generatePom ) )
|
|
209 |
{
|
|
210 |
pomFile = temporaryPom;
|
|
211 |
getLog().debug( "Using JAR embedded POM as pomFile" );
|
|
212 |
}
|
209 | 213 |
}
|
210 | 214 |
|
211 | 215 |
if ( groupId == null || artifactId == null || version == null || packaging == null )
|
|
321 | 325 |
|
322 | 326 |
if ( pomEntry.matcher( entry.getName() ).matches() )
|
323 | 327 |
{
|
324 | |
getLog().debug( "Using " + entry.getName() + " as pomFile" );
|
|
328 |
getLog().debug( "Loading " + entry.getName() );
|
325 | 329 |
|
326 | 330 |
InputStream pomInputStream = null;
|
327 | 331 |
OutputStream pomOutputStream = null;
|
91 | 91 |
assignValuesForParameter( mojo );
|
92 | 92 |
|
93 | 93 |
mojo.execute();
|
94 | |
|
95 | |
File pomFile = (File) getVariableValueFromObject( mojo, "pomFile" );
|
96 | |
org.codehaus.plexus.util.FileUtils.forceDelete( pomFile );
|
97 | 94 |
|
98 | 95 |
File installedArtifact = new File( getBasedir(), LOCAL_REPO + groupId + "/" + artifactId + "/" + version + "/" +
|
99 | 96 |
artifactId + "-" + version + "." + packaging );
|
|
120 | 117 |
assertNotNull( classifier );
|
121 | 118 |
|
122 | 119 |
mojo.execute();
|
123 | |
|
124 | |
File pomFile = (File) getVariableValueFromObject( mojo, "pomFile" );
|
125 | |
org.codehaus.plexus.util.FileUtils.forceDelete( pomFile );
|
126 | 120 |
|
127 | 121 |
File installedArtifact = new File( getBasedir(), LOCAL_REPO + groupId + "/" + artifactId + "/" + version + "/" +
|
128 | 122 |
artifactId + "-" + version + "-" + classifier + "." + packaging );
|