Codebase list maven-install-plugin / 3d1aeb2
New upstream version 3.0.1 Emmanuel Bourg 1 year, 3 months ago
4 changed file(s) with 11 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
2929 </parent>
3030
3131 <artifactId>maven-install-plugin</artifactId>
32 <version>3.0.0</version>
32 <version>3.0.1</version>
3333 <packaging>maven-plugin</packaging>
3434
3535 <name>Apache Maven Install Plugin</name>
4444 <connection>scm:git:https://gitbox.apache.org/repos/asf/maven-install-plugin.git</connection>
4545 <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-install-plugin.git</developerConnection>
4646 <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>
4848 </scm>
4949 <issueManagement>
5050 <system>jira</system>
6666 <mavenVersion>3.2.5</mavenVersion>
6767 <aetherVersion>1.0.0.v20140518</aetherVersion> <!-- Maven bound -->
6868 <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>
7070 </properties>
7171
7272 <dependencies>
2121
2222 File buildLog = new File( basedir, 'build.log' )
2323 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" )
205205 else
206206 {
207207 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 }
209213 }
210214
211215 if ( groupId == null || artifactId == null || version == null || packaging == null )
321325
322326 if ( pomEntry.matcher( entry.getName() ).matches() )
323327 {
324 getLog().debug( "Using " + entry.getName() + " as pomFile" );
328 getLog().debug( "Loading " + entry.getName() );
325329
326330 InputStream pomInputStream = null;
327331 OutputStream pomOutputStream = null;
9191 assignValuesForParameter( mojo );
9292
9393 mojo.execute();
94
95 File pomFile = (File) getVariableValueFromObject( mojo, "pomFile" );
96 org.codehaus.plexus.util.FileUtils.forceDelete( pomFile );
9794
9895 File installedArtifact = new File( getBasedir(), LOCAL_REPO + groupId + "/" + artifactId + "/" + version + "/" +
9996 artifactId + "-" + version + "." + packaging );
120117 assertNotNull( classifier );
121118
122119 mojo.execute();
123
124 File pomFile = (File) getVariableValueFromObject( mojo, "pomFile" );
125 org.codehaus.plexus.util.FileUtils.forceDelete( pomFile );
126120
127121 File installedArtifact = new File( getBasedir(), LOCAL_REPO + groupId + "/" + artifactId + "/" + version + "/" +
128122 artifactId + "-" + version + "-" + classifier + "." + packaging );