Skip to content

Commit

Permalink
Revert "Simplify bootstrapping"
Browse files Browse the repository at this point in the history
This doesn't work when the plugin is not already in the Maven
repository.

This reverts commit 90803a6.
  • Loading branch information
koraktor committed Dec 25, 2014
1 parent a542145 commit e4effea
Showing 1 changed file with 54 additions and 52 deletions.
106 changes: 54 additions & 52 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,60 @@
<profiles>
<profile>
<id>bootstrap</id>
<properties>
<mavanagaiata.skip>true</mavanagaiata.skip>
</properties>
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<configuration>
<footer>\n_Generated by Mavanagaiata %s at %s_</footer>
</configuration>
<executions>
<execution>
<id>git-info</id>
<phase>generate-sources</phase>
<goals>
<goal>info-class</goal>
</goals>
<configuration>
<packageName>${project.groupId}.${project.artifactId}.mojo</packageName>
</configuration>
</execution>
<execution>
<id>changelog</id>
<phase>pre-site</phase>
<goals>
<goal>changelog</goal>
</goals>
<configuration>
<branchFormat>\n#### Commits on branch `%s`\n</branchFormat>
<createGitHubLinks>true</createGitHubLinks>
<gitHubProject>${project.artifactId}</gitHubProject>
<gitHubUser>koraktor</gitHubUser>
<gitHubBranchLinkFormat>\n[Git history for branch `%s` since version %s](%s)</gitHubBranchLinkFormat>
<gitHubBranchOnlyLinkFormat>\n[Git history for branch `%s`](%s)</gitHubBranchOnlyLinkFormat>
<gitHubTagLinkFormat>\n[Git history for version %s](%s)</gitHubTagLinkFormat>
<outputFile>${project.build.directory}/generated-site/markdown/CHANGELOG.md</outputFile>
<skipTagged>true</skipTagged>
<tagFormat>\n#### Version %s – %s\n</tagFormat>
</configuration>
</execution>
<execution>
<id>contributors</id>
<phase>pre-site</phase>
<goals>
<goal>contributors</goal>
</goals>
<configuration>
<outputFile>${project.build.directory}/generated-site/markdown/CONTRIBUTORS.md</outputFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jdk8</id>
Expand Down Expand Up @@ -182,55 +233,6 @@

<build>
<plugins>
<plugin>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<configuration>
<footer>\n_Generated by Mavanagaiata %s at %s_</footer>
</configuration>
<executions>
<execution>
<id>git-info</id>
<phase>generate-sources</phase>
<goals>
<goal>info-class</goal>
</goals>
<configuration>
<packageName>${project.groupId}.${project.artifactId}.mojo</packageName>
</configuration>
</execution>
<execution>
<id>changelog</id>
<phase>pre-site</phase>
<goals>
<goal>changelog</goal>
</goals>
<configuration>
<branchFormat>\n#### Commits on branch `%s`\n</branchFormat>
<createGitHubLinks>true</createGitHubLinks>
<gitHubProject>${project.artifactId}</gitHubProject>
<gitHubUser>koraktor</gitHubUser>
<gitHubBranchLinkFormat>\n[Git history for branch `%s` since version %s](%s)</gitHubBranchLinkFormat>
<gitHubBranchOnlyLinkFormat>\n[Git history for branch `%s`](%s)</gitHubBranchOnlyLinkFormat>
<gitHubTagLinkFormat>\n[Git history for version %s](%s)</gitHubTagLinkFormat>
<outputFile>${project.build.directory}/generated-site/markdown/CHANGELOG.md</outputFile>
<skipTagged>true</skipTagged>
<tagFormat>\n#### Version %s – %s\n</tagFormat>
</configuration>
</execution>
<execution>
<id>contributors</id>
<phase>pre-site</phase>
<goals>
<goal>contributors</goal>
</goals>
<configuration>
<outputFile>${project.build.directory}/generated-site/markdown/CONTRIBUTORS.md</outputFile>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down

0 comments on commit e4effea

Please sign in to comment.