eirslett / frontend-maven-plugin

"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
Apache License 2.0
4.2k stars 867 forks source link

"There is a problem with your input." #1073

Open namedgraph opened 1 year ago

namedgraph commented 1 year ago

I'm scratching my head about this because the build works in MacOS 12.6.1 terminal but fails in NetBeans as well as GH action:

[INFO] Running 'npx @rmlio/yarrrml-parser -i /home/runner/work/bkg-streaming/bkg-streaming/beam/target/test-classes/mapping/./beamery/smth/smth/Something.yml -o /home/runner/work/bkg-streaming/bkg-streaming/beam/target/test-classes/mapping/./beamery/smth/smth/Something.ttl' in /home/runner/work/bkg-streaming/bkg-streaming/beam
[INFO] There is a problem with your input.
...
Error:  Failed to execute goal com.soebes.maven.plugins:iterator-maven-plugin:0.5.1:iterator (parse-yml-mappings) on project beam: Failed to run task: 'npx @rmlio/yarrrml-parser -i /home/runner/work/bkg-streaming/bkg-streaming/beam/target/test-classes/mapping/./beamery/smth/smth/Something.yml -o /home/runner/work/bkg-streaming/bkg-streaming/beam/target/test-classes/mapping/./beamery/smth/smth/Something.ttl' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]

Any idea where the There is a problem with your input. message is coming from/what it means?

The plugin config looks like this:

<plugin>
    <groupId>com.soebes.maven.plugins</groupId>
    <artifactId>iterator-maven-plugin</artifactId>
    <version>0.5.1</version>
    <executions>
        <execution>
            <id>parse-yml-mappings</id>
            <phase>process-test-resources</phase>
            <goals>
                <goal>iterator</goal>
            </goals>
            <configuration>
                <content>${mapping-filename.list.comma.txt}</content>
                <pluginExecutors>
                    <pluginExecutor>
                        <plugin>
                            <groupId>com.github.eirslett</groupId>
                            <artifactId>frontend-maven-plugin</artifactId>
                            <version>1.12.1</version>
                        </plugin>
                        <goal>npx</goal>
                        <configuration>
                            <arguments>@rmlio/yarrrml-parser -i ${yml-mapping.root}/@item@.yml -o ${yml-mapping.root}/@item@.ttl</arguments>
                        </configuration>
                    </pluginExecutor>
                </pluginExecutors>
            </configuration>
        </execution>
    </executions>
</plugin>
eirslett commented 1 year ago

I have no idea. I'm pretty sure it's not from this plugin!