Hi Johan,

in our project we have the following in the build section in the parent pom:

<plugins>
        <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
                <classifier>${config.suffix}</classifier>
        </configuration>
        </plugin>

        <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-deploy-plugin</artifactId>
        <configuration>
                <classifier>${config.suffix}</classifier>
        </configuration>
        </plugin>
</plugins>

The ${config.suffix} is a profile dependend classifier for different configurations of our application.

The problem was that we have a structure like:

parent
|
|- core
|
|- client
|
|- services

and all sub modules were generated with classifiers, like core-dev.jar, client-dev.jar, services-dev.jar etc. But the pom.xml's of the sub modules were not updated in the repository.

I thought you have a similar problem, that one of your sub modules have a classifier, that you use in your war assembly.

Regards
Marco


Johan S wrote:
Hi Marco

Could you give me an example with classifiers. I don't think I using it.
This isn't the only project that it appears in.

Johan


Marco Huber wrote:
Hi Johan,

have you add classifiers to your project or a sub module of your project?

I had once the problem, that I got this \target\classes access denied error, because the install plugin had problems with classifiers. Think it's fixed.

Hope that helps.

Marco



-----
http://www.procensor.se
http://www.mobilepost.se
http://www.resultreporter.com
http://www.butiksbelysning.se


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to