Menu

Maven POM File for 1.1.2

2013-04-08
2013-10-23
  • Gregg Sirrine

    Gregg Sirrine - 2013-04-08

    I built your project with maven using the following POM.xml. You can upload a distribution of your JAR to the central repository here: http://goo.gl/ZEJ2z

    <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/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>de.steinwedel</groupId>
        <artifactId>MessageBox</artifactId>
        <version>1.1.2</version>
        <name>MessageBox</name>
    
        <dependencies>
            <dependency>
                <groupId>com.vaadin</groupId>
                <artifactId>vaadin</artifactId>
                <version>6.8.7</version>
            </dependency>
        </dependencies>
    
        <profiles>
    
            <profile>
                <id>createJavaDocs</id>
                <activation>
                    <activeByDefault>false</activeByDefault>
                </activation>
                <build>
                    <plugins>
    
                        <plugin>
                            <inherited>true</inherited>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-compiler-plugin</artifactId>
                            <version>2.3.2</version>
                            <configuration>
                                <source>1.6</source>
                                <target>1.6</target>
                                <compilerArguments>
                                    <endorseddirs>lib/</endorseddirs>
                                </compilerArguments>
                            </configuration>
                        </plugin>
    
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-javadoc-plugin</artifactId>
                            <executions>
                                <execution>
                                    <id>attach-javadocs</id>
                                    <goals>
                                        <goal>jar</goal>
                                    </goals>
                                </execution>
                            </executions>
                        </plugin>
    
                    </plugins>
                </build>
            </profile>
    
            <profile>
                <id>bundleSource</id>
                <activation>
                    <activeByDefault>false</activeByDefault>
                </activation>
                <build>
                    <plugins>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-source-plugin</artifactId>
                            <executions>
                                <execution>
                                    <id>attach-sources</id>
                                    <goals>
                                        <goal>jar</goal>
                                    </goals>
                                </execution>
                            </executions>
                        </plugin>
                    </plugins>
                </build>
            </profile>
    
        </profiles>
    
        <build>
    
            <plugins>
    
                <plugin>
                    <inherited>true</inherited>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>2.3.2</version>
                    <configuration>
                        <source>1.6</source>
                        <target>1.6</target>
                        <compilerArguments>
                            <endorseddirs>lib/</endorseddirs>
                        </compilerArguments>
                    </configuration>
                </plugin>
    
            </plugins>
    
        </build>
    </project>
    
     
  • Dieter Steinwedel

    Hello Gregg,

    sorry for my late answer. I haven't got a notification mail from sourceforge and I'm looking for the switch to enable it. Therefore it was luck I found your post.

    Thank you for your post! The version 1.x.x is not any longer in development. But I will test the pom above and will publish a last 1.x.x version.

    By the way, if you upload the jar to the vaadin site, they publish the jar automatically to their maven repository. That was not described anywhere.

    Best regards,
    Dieter.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.