Description of problem: When using the Maven plugin, source directory can be specified on the command line with -Dzanata.srcDir, or in pom.xml as a configuration option. Options on the command line should generally take precedence over options in configuration, but this does not appear to be the case. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. set up a pom.xml with zanata plugin srcDir specified: <project> <modelVersion>4.0.0</modelVersion> <groupId>null</groupId> <artifactId>null</artifactId> <version>0</version> <build> <plugins> <plugin> <groupId>org.zanata</groupId> <artifactId>zanata-maven-plugin</artifactId> <version>3.3.0</version> <configuration> <srcDir>.</srcDir> </configuration> </plugin> </plugins> </build> </project> 2. download a config file from Zanata website 3. run push command with a different srcDir specified, e.g. $ mvn zanata:push -Dzanata.srcDir=different Actual results: plugin uses srcDir value from pom.xml Expected results: plugin uses srcDir value from command line
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-211