Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working #1

Open
russellhoff opened this issue Oct 23, 2015 · 1 comment
Open

Not working #1

russellhoff opened this issue Oct 23, 2015 · 1 comment

Comments

@russellhoff
Copy link

Hi!

I wanted to use your plugin but didn't work on my project... I added the following code to my pom.xml within the plugins tag:

            <groupId>com.internetitem</groupId>
            <artifactId>write-properties-file-maven-plugin</artifactId>
            <version>1.0.1</version>

            <executions>
                <execution>
                    <id>one</id>
                    <phase>package</phase>
                    <configuration>
                        <outputDirectory>${basedir}/src/com/ingartek/config/</outputDirectory>
                        <filename>config.properties</filename>
                        <properties>
                            <julapa>pasada</julapa>
                            <development>${development}</development>
                        </properties>
                    </configuration>
                </execution>
            </executions>

        </plugin>

However, nothing was created when executing the goal package.

Can you tell me why? Besides, when executing that goal, nothing related to your plugin was printed on screen (when a plugin is executed, you can read on screen something similar to [INFO] maven-xxxx-plugin:version @ app).

@abatkin
Copy link
Member

abatkin commented Oct 25, 2015

Sorry about that, I left something off from the documentation: The <goals> and <goal> elements. The README is now updated.

Specifically, you need to add this to the <execution>:

        <goals>
            <goal>write-properties-file</goal>
        </goals>

Please let me know if this fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants