[ https://issues.apache.org/jira/browse/MASSEMBLY-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Slawomir Jaranowski reassigned MASSEMBLY-1020: ---------------------------------------------- Assignee: Slawomir Jaranowski > Cannot invoke "java.io.File.isFile()" because "this.inputFile" is null > ---------------------------------------------------------------------- > > Key: MASSEMBLY-1020 > URL: https://issues.apache.org/jira/browse/MASSEMBLY-1020 > Project: Maven Assembly Plugin > Issue Type: Bug > Affects Versions: 3.7.0 > Reporter: Ben Middleton > Assignee: Slawomir Jaranowski > Priority: Blocker > Fix For: 3.7.1 > > > We've switched from 3.6.0 to 3.7.0, and our assemblies are now failing with: > {code} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-assembly-plugin:3.7.0:single (assemblies) on > project my-project: Execution assemblies of goal > org.apache.maven.plugins:maven-assembly-plugin:3.7.0:single failed: Cannot > invoke "java.io.File.isFile()" because "this.inputFile" is null -> [Help 1] > {code} > Our configuration looks like this: > {code} > <plugin> > <artifactId>maven-assembly-plugin</artifactId> > <executions> > <execution> > <id>assemblies</id> > <phase>package</phase> > <goals> > <goal>single</goal> > </goals> > <configuration> > <formats> > <format>zip</format> > </formats> > <descriptors> > > <descriptor>src/main/assembly/component.xml</descriptor> > </descriptors> > </configuration> > </execution> > </executions> > </plugin> > {code} > And our descriptor looks like this: > {code} > <assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 > http://maven.apache.org/xsd/assembly-2.0.0.xsd"> > <id>component</id> > <includeBaseDirectory>false</includeBaseDirectory> > <fileSets> > <fileSet> > <directory>${resources.dir}/config</directory> > <outputDirectory>.</outputDirectory> > </fileSet> > </fileSets> > </assembly> > {code} > Our resources folder just contains a few text files. > I assume it's related to changes brought in on MASSEMBLY-1013 -- This message was sent by Atlassian Jira (v8.20.10#820010)