No, it's not.
Have a look at the maven pom xsd and you'll see it's not possible.
http://maven.apache.org/maven-v4_0_0.xsd

If you use a good IDE (Eclipse, Netbeans ?), put this on the beginning of your 
pom.xml :
<project xmlns="http://maven.apache.org/POM/4.0.0";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                      http://maven.apache.org/maven-v4_0_0.xsd";>
...
</project>

It will give you auto-completion and will simplify the task of knowing which 
tag is allowed or not.

Cheers

-----Message d'origine-----
De : Marvin Froeder [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 27 juin 2008 22:09
À : Maven Users List
Objet : Simpler way....

Hi,

I have my custom plugin.

And I wanna to run it on a project.

So I add it at build->plugins
            <plugin>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

Now my question, is there any simpler way to do that?

May be like this:
            <plugin>
                <artifactId>maven-source-plugin</artifactId>
                <goal>jar</goal>
            </plugin>


VELO

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to