MentaContainer

Rev

Rev 69 | Rev 73 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7 soliveira 1
<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">
18 soliveira 2
 
37 soliveira 3
  <properties>
4
     <build.final.name>mentacontainer</build.final.name>
5
     <svn.url>svn://saoj-la.dyndns.org/mentacontainer/trunk</svn.url>
6
     <svn.tags>svn://saoj-la.dyndns.org/mentacontainer/tags</svn.tags>
7
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
8
  </properties>
9
 
2 soliveira 10
  <modelVersion>4.0.0</modelVersion>
18 soliveira 11
  <groupId>me.soliveirajr</groupId>
12
  <artifactId>menta-container</artifactId>
69 soliveira 13
  <version>0.9.5-SNAPSHOT</version>
2 soliveira 14
  <packaging>jar</packaging>
18 soliveira 15
 
72 soliveira 16
  <description>A IOC container as simple and pragmatic as it can get with programmatic configuration through a Fluent API.</description>
2 soliveira 17
 
18
  <name>MentaContainer</name>
19
  <url>http://maven.apache.org</url>
10 soliveira 20
 
18 soliveira 21
  <licenses>
22
    <license>
23
      <name>GNU Lesser General Public License (LGPL), Version 2.1</name>
24
      <url>http://www.fsf.org/licensing/licenses/lgpl.txt</url>
25
      <distribution>repo</distribution>
26
    </license>
27
  </licenses>
28
 
33 soliveira 29
  <parent>
30
    <groupId>org.sonatype.oss</groupId>
31
    <artifactId>oss-parent</artifactId>
32
    <version>3</version>
33
  </parent>
34
 
6 soliveira 35
  <scm>
69 soliveira 36
    <developerConnection>scm:svn:svn://saoj-la.dyndns.org/mentacontainer/trunk</developerConnection>
37
    <url>svn://saoj-la.dyndns.org/mentacontainer/trunk</url>
38
        <connection>scm:svn:svn://saoj-la.dyndns.org/mentacontainer/trunk</connection>
6 soliveira 39
  </scm>
14 soliveira 40
 
29 soliveira 41
  <reporting>
42
    <plugins>
43
      <plugin>
44
        <artifactId>maven-surefire-plugin</artifactId>
45
      </plugin>
46
      <plugin>
47
        <groupId>org.apache.maven.plugins</groupId>
48
        <artifactId>maven-surefire-report-plugin</artifactId>
49
        <version>2.5</version>
50
      </plugin>
51
      <plugin>
52
        <groupId>org.apache.maven.plugins</groupId>
53
        <artifactId>maven-javadoc-plugin</artifactId>
54
        <version>2.7</version>
55
        <configuration>
56
          ...
57
        </configuration>
58
      </plugin>  
59
    </plugins>
60
  </reporting>
61
 
33 soliveira 62
  <profiles>
63
    <profile>
64
      <id>release-sign-artifacts</id>
65
      <activation>
66
        <property>
67
          <name>performRelease</name>
68
          <value>true</value>
69
        </property>
70
      </activation>
71
      <build>
72
        <plugins>
73
          <plugin>
74
            <groupId>org.apache.maven.plugins</groupId>
75
            <artifactId>maven-gpg-plugin</artifactId>
76
            <executions>
77
              <execution>
78
                <id>sign-artifacts</id>
79
                <phase>verify</phase>
80
                <goals>
81
                  <goal>sign</goal>
82
                </goals>
83
              </execution>
84
            </executions>
85
          </plugin>
86
        </plugins>
87
      </build>
88
    </profile>
89
  </profiles>
90
 
91
      <!-- distributionManagement>
92
        <repository>
93
            <id>nexus-releases</id>
94
            <name>Nexus Release Repository</name>
95
            <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
96
        </repository>
97
    </distributionManagement -->
98
 
2 soliveira 99
  <dependencies>
100
    <dependency>
101
      <groupId>junit</groupId>
102
      <artifactId>junit</artifactId>
4 soliveira 103
      <version>4.8.1</version>
2 soliveira 104
      <scope>test</scope>
105
    </dependency>
106
  </dependencies>
107
  <build>
53 soliveira 108
    <finalName>${build.final.name}</finalName>
2 soliveira 109
          <plugins>
33 soliveira 110
        <!-- plugin>
111
                <groupId>org.apache.maven.plugins</groupId>
112
                <artifactId>maven-gpg-plugin</artifactId>
113
                <executions>
114
                        <execution>
115
                        <id>sign-artifacts</id>
116
                        <phase>verify</phase>
117
                        <goals>
118
                                <goal>sign</goal>
119
                        </goals>
120
                        </execution>
121
                </executions>
122
        </plugin -->
37 soliveira 123
 <plugin>
124
  <groupId>org.apache.maven.plugins</groupId>
125
  <artifactId>maven-source-plugin</artifactId>
126
  <executions>
127
    <execution>
128
      <id>attach-sources</id>
129
      <goals>
130
        <goal>jar</goal>
131
      </goals>
132
    </execution>
133
  </executions>
134
</plugin>      
2 soliveira 135
                <plugin>
136
                        <groupId>org.apache.maven.plugins</groupId>
137
                        <artifactId>maven-compiler-plugin</artifactId>
138
                        <version>2.0.2</version>
139
                        <configuration>
140
                                <source>1.6</source>
141
                                <target>1.6</target>
142
                        </configuration>
143
                </plugin>
37 soliveira 144
<plugin>
145
  <groupId>org.apache.maven.plugins</groupId>
146
  <artifactId>maven-javadoc-plugin</artifactId>
147
  <executions>
148
    <execution>
149
      <id>attach-javadocs</id>
150
      <goals>
151
        <goal>jar</goal>
152
      </goals>
153
    </execution>
154
  </executions>
155
</plugin>
2 soliveira 156
                <plugin>
6 soliveira 157
                        <artifactId>maven-release-plugin</artifactId>
158
                        <version>2.0</version>
159
                        <configuration>
10 soliveira 160
                                <tagBase>${svn.tags}</tagBase>
161
                                <connectionUrl>scm:svn:${svn.url}</connectionUrl>
6 soliveira 162
                        </configuration>
163
                </plugin>
2 soliveira 164
          </plugins>
165
  </build>
166
</project>