Skip to content

Commit 08d419d

Browse files
committed
Remove Maven 3 profile for attach-descriptor
This closes #4
1 parent 7547a06 commit 08d419d

File tree

1 file changed

+11
-26
lines changed

1 file changed

+11
-26
lines changed

pom.xml

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,17 @@ limitations under the License.
471471
</execution>
472472
</executions>
473473
</plugin>
474+
<plugin>
475+
<artifactId>maven-site-plugin</artifactId>
476+
<executions>
477+
<execution>
478+
<id>attach-descriptor</id>
479+
<goals>
480+
<goal>attach-descriptor</goal>
481+
</goals>
482+
</execution>
483+
</executions>
484+
</plugin>
474485
</plugins>
475486
</build>
476487

@@ -649,31 +660,5 @@ limitations under the License.
649660
</plugins>
650661
</build>
651662
</profile>
652-
<profile>
653-
<id>maven-3</id>
654-
<activation>
655-
<file>
656-
<!-- This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) -->
657-
<exists>${basedir}</exists>
658-
</file>
659-
</activation>
660-
<build>
661-
<plugins>
662-
<plugin>
663-
<groupId>org.apache.maven.plugins</groupId>
664-
<artifactId>maven-site-plugin</artifactId>
665-
<executions>
666-
<execution>
667-
<id>attach-descriptor</id>
668-
<goals>
669-
<goal>attach-descriptor</goal>
670-
</goals>
671-
</execution>
672-
</executions>
673-
</plugin>
674-
</plugins>
675-
</build>
676-
</profile>
677-
678663
</profiles>
679664
</project>

0 commit comments

Comments
 (0)