Skip to content

Commit fe85509

Browse files
author
Ivan Milosavljevic
committed
Added profile to pom.xml to see if that was the problem with rultor
1 parent 10b3319 commit fe85509

File tree

2 files changed

+137
-132
lines changed

2 files changed

+137
-132
lines changed

.rultor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ release:
77
mvn versions:set "-DnewVersion=${tag}"
88
git commit -am "${tag}"
99
ls -alF /home/r
10-
mvn -X clean deploy -Dgpg.passphrase=StupidPassphrase --settings /home/r/settings.xml
10+
mvn -X clean deploy -Prng --settings /home/r/settings.xml

pom.xml

Lines changed: 136 additions & 131 deletions
Original file line numberDiff line numberDiff line change
@@ -93,137 +93,6 @@
9393
</dependency>
9494
</dependencies>
9595

96-
<build>
97-
<plugins>
98-
<plugin>
99-
<groupId>org.apache.maven.plugins</groupId>
100-
<artifactId>maven-compiler-plugin</artifactId>
101-
<version>3.5</version>
102-
<configuration>
103-
<source>1.7</source>
104-
<target>1.7</target>
105-
<encoding>UTF-8</encoding>
106-
<optimize>true</optimize>
107-
<showDeprecation>true</showDeprecation>
108-
<showWarnings>true</showWarnings>
109-
</configuration>
110-
</plugin>
111-
<plugin>
112-
<groupId>org.apache.maven.plugins</groupId>
113-
<artifactId>maven-jar-plugin</artifactId>
114-
<version>2.6</version>
115-
<configuration>
116-
<archive>
117-
<addMavenDescriptor>false</addMavenDescriptor>
118-
<manifest>
119-
<mainClass>${mainClass}</mainClass>
120-
<classpathPrefix>${project.libDirectory}/</classpathPrefix>
121-
<addClasspath>true</addClasspath>
122-
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
123-
</manifest>
124-
<manifestEntries>
125-
<Min-Java-Version>1.8.0</Min-Java-Version>
126-
</manifestEntries>
127-
</archive>
128-
</configuration>
129-
</plugin>
130-
<plugin>
131-
<groupId>org.apache.maven.plugins</groupId>
132-
<artifactId>maven-source-plugin</artifactId>
133-
<version>3.0.0</version>
134-
<executions>
135-
<execution>
136-
<id>attach-sources</id>
137-
<goals>
138-
<goal>jar</goal>
139-
</goals>
140-
</execution>
141-
</executions>
142-
</plugin>
143-
<plugin>
144-
<groupId>org.apache.maven.plugins</groupId>
145-
<artifactId>maven-javadoc-plugin</artifactId>
146-
<version>2.10.3</version>
147-
<executions>
148-
<execution>
149-
<id>attach-javadocs</id>
150-
<goals>
151-
<goal>jar</goal>
152-
</goals>
153-
</execution>
154-
</executions>
155-
</plugin>
156-
<plugin>
157-
<groupId>org.apache.maven.plugins</groupId>
158-
<artifactId>maven-assembly-plugin</artifactId>
159-
<version>2.6</version>
160-
<configuration>
161-
<descriptors>
162-
<descriptor>src/assembly/assembly.xml</descriptor>
163-
</descriptors>
164-
</configuration>
165-
<executions>
166-
<execution>
167-
<id>make-assembly</id>
168-
<phase>package</phase>
169-
<goals>
170-
<goal>single</goal>
171-
</goals>
172-
</execution>
173-
</executions>
174-
</plugin>
175-
<plugin>
176-
<artifactId>maven-gpg-plugin</artifactId>
177-
<version>1.5</version>
178-
<executions>
179-
<execution>
180-
<id>sign-artifacts</id>
181-
<phase>verify</phase>
182-
<goals>
183-
<goal>sign</goal>
184-
</goals>
185-
</execution>
186-
</executions>
187-
</plugin>
188-
<plugin>
189-
<groupId>org.codehaus.mojo</groupId>
190-
<artifactId>versions-maven-plugin</artifactId>
191-
<version>2.1</version>
192-
<configuration>
193-
<generateBackupPoms>false</generateBackupPoms>
194-
</configuration>
195-
</plugin>
196-
<plugin>
197-
<artifactId>maven-deploy-plugin</artifactId>
198-
<version>2.8.2</version>
199-
<configuration>
200-
<skip>true</skip>
201-
</configuration>
202-
</plugin>
203-
<plugin>
204-
<groupId>org.sonatype.plugins</groupId>
205-
<artifactId>nexus-staging-maven-plugin</artifactId>
206-
<version>1.6</version>
207-
<extensions>true</extensions>
208-
<configuration>
209-
<serverId>oss.sonatype.org</serverId>
210-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
211-
<description>${project.version}</description>
212-
</configuration>
213-
<executions>
214-
<execution>
215-
<id>deploy-to-sonatype</id>
216-
<phase>deploy</phase>
217-
<goals>
218-
<goal>deploy</goal>
219-
<goal>release</goal>
220-
</goals>
221-
</execution>
222-
</executions>
223-
</plugin>
224-
</plugins>
225-
</build>
226-
22796
<reporting>
22897
<plugins>
22998
<plugin>
@@ -262,4 +131,140 @@
262131
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
263132
</snapshotRepository>
264133
</distributionManagement>
134+
135+
<profiles>
136+
<profile>
137+
<id>rng</id>
138+
<build>
139+
<plugins>
140+
<plugin>
141+
<groupId>org.apache.maven.plugins</groupId>
142+
<artifactId>maven-compiler-plugin</artifactId>
143+
<version>3.5</version>
144+
<configuration>
145+
<source>1.7</source>
146+
<target>1.7</target>
147+
<encoding>UTF-8</encoding>
148+
<optimize>true</optimize>
149+
<showDeprecation>true</showDeprecation>
150+
<showWarnings>true</showWarnings>
151+
</configuration>
152+
</plugin>
153+
<plugin>
154+
<groupId>org.apache.maven.plugins</groupId>
155+
<artifactId>maven-jar-plugin</artifactId>
156+
<version>2.6</version>
157+
<configuration>
158+
<archive>
159+
<addMavenDescriptor>false</addMavenDescriptor>
160+
<manifest>
161+
<mainClass>${mainClass}</mainClass>
162+
<classpathPrefix>${project.libDirectory}/</classpathPrefix>
163+
<addClasspath>true</addClasspath>
164+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
165+
</manifest>
166+
<manifestEntries>
167+
<Min-Java-Version>1.8.0</Min-Java-Version>
168+
</manifestEntries>
169+
</archive>
170+
</configuration>
171+
</plugin>
172+
<plugin>
173+
<groupId>org.apache.maven.plugins</groupId>
174+
<artifactId>maven-source-plugin</artifactId>
175+
<version>3.0.0</version>
176+
<executions>
177+
<execution>
178+
<id>attach-sources</id>
179+
<goals>
180+
<goal>jar</goal>
181+
</goals>
182+
</execution>
183+
</executions>
184+
</plugin>
185+
<plugin>
186+
<groupId>org.apache.maven.plugins</groupId>
187+
<artifactId>maven-javadoc-plugin</artifactId>
188+
<version>2.10.3</version>
189+
<executions>
190+
<execution>
191+
<id>attach-javadocs</id>
192+
<goals>
193+
<goal>jar</goal>
194+
</goals>
195+
</execution>
196+
</executions>
197+
</plugin>
198+
<plugin>
199+
<groupId>org.apache.maven.plugins</groupId>
200+
<artifactId>maven-assembly-plugin</artifactId>
201+
<version>2.6</version>
202+
<configuration>
203+
<descriptors>
204+
<descriptor>src/assembly/assembly.xml</descriptor>
205+
</descriptors>
206+
</configuration>
207+
<executions>
208+
<execution>
209+
<id>make-assembly</id>
210+
<phase>package</phase>
211+
<goals>
212+
<goal>single</goal>
213+
</goals>
214+
</execution>
215+
</executions>
216+
</plugin>
217+
<plugin>
218+
<artifactId>maven-gpg-plugin</artifactId>
219+
<version>1.5</version>
220+
<executions>
221+
<execution>
222+
<id>sign-artifacts</id>
223+
<phase>verify</phase>
224+
<goals>
225+
<goal>sign</goal>
226+
</goals>
227+
</execution>
228+
</executions>
229+
</plugin>
230+
<plugin>
231+
<groupId>org.codehaus.mojo</groupId>
232+
<artifactId>versions-maven-plugin</artifactId>
233+
<version>2.1</version>
234+
<configuration>
235+
<generateBackupPoms>false</generateBackupPoms>
236+
</configuration>
237+
</plugin>
238+
<plugin>
239+
<artifactId>maven-deploy-plugin</artifactId>
240+
<version>2.8.2</version>
241+
<configuration>
242+
<skip>true</skip>
243+
</configuration>
244+
</plugin>
245+
<plugin>
246+
<groupId>org.sonatype.plugins</groupId>
247+
<artifactId>nexus-staging-maven-plugin</artifactId>
248+
<version>1.6</version>
249+
<extensions>true</extensions>
250+
<configuration>
251+
<serverId>oss.sonatype.org</serverId>
252+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
253+
<description>${project.version}</description>
254+
</configuration>
255+
<executions>
256+
<execution>
257+
<id>deploy-to-sonatype</id>
258+
<phase>deploy</phase>
259+
<goals>
260+
<goal>deploy</goal>
261+
<goal>release</goal>
262+
</goals>
263+
</execution>
264+
</executions>
265+
</plugin>
266+
</plugins>
267+
</build>
268+
</profile>
269+
</profiles>
265270
</project>

0 commit comments

Comments
 (0)