Hello,

I want to create and deploy the bundle for my artifacts. Right now I
have this in my pom:

        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-repository-plugin</artifactId>
            </plugin>
        </plugins>

All plugins are attached to the package phase. However I have
encountered two problems:
1) The repository plugin keeps asking me which jars to bundle and I
have to enter 0 (I may avoid this by running Maven in batch mode, so
this seems to be no biggy).
2) However the bundle.jar is not uploaded to my repository. I tried putting:
    <pluginManagement>
        <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <version>2.7</version>
                    <executions>
                        <execution>
                            <id>deploy-bundle</id>
                            <phase>deploy</phase>
                            <configuration>
                                <files>
                                    <file>bundle</file>
                                </files>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
        </plugins>
    </pluginManagement>

but the bundle is not deployed.

Regards Mirko
-- 
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/
https://bitbucket.org/mfriedenhagen/

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

Reply via email to