Skip to content

Commit

Permalink
[skip ci] Updated documentation
Browse files Browse the repository at this point in the history
Fixes #41
  • Loading branch information
sergei-ivanov committed Oct 1, 2018
1 parent 0d4d6f7 commit 4881fa5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
12 changes: 7 additions & 5 deletions src/site/apt/examples/protoc-artifact.apt.vm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
~~
~~ Copyright (c) 2016 Maven Protocol Buffers Plugin Authors. All rights reserved.
~~ Copyright (c) 2018 Maven Protocol Buffers Plugin Authors. All rights reserved.
~~
~~ Licensed under the Apache License, Version 2.0 (the "License");
~~ you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -58,18 +58,17 @@ Resolving Protoc Artifact From Maven Central Repo
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<extensions>true</extensions>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>test-compile</goal>
</goals>
<configuration>
<protocArtifact>com.google.protobuf:protoc:3.4.0:exe:${os.detected.classifier}</protocArtifact>
</configuration>
</execution>
</executions>
<configuration>
<protocArtifact>com.google.protobuf:protoc:3.4.0:exe:${os.detected.classifier}</protocArtifact>
</configuration>
</plugin>
...
</plugins>
Expand All @@ -79,3 +78,6 @@ Resolving Protoc Artifact From Maven Central Repo
</project>

+-----+

Eclipse users, please also read
{{{https://github.com/trustin/os-maven-plugin/blob/master/README.md#issues-with-eclipse-m2e-or-other-ides}the following notes}}.
6 changes: 5 additions & 1 deletion src/site/fml/faq.fml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
~ Copyright (c) 2016 Maven Protocol Buffers Plugin Authors. All rights reserved.
~ Copyright (c) 2018 Maven Protocol Buffers Plugin Authors. All rights reserved.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -47,6 +47,10 @@
There is a limited support in the plugin for integration with M2E 1.5 and later.
Versions of M2E prior to 1.5 will fail to work with the plugin because of a
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=422106">class loading bug</a>.

<p>Also, if using <code>os-maven-plugin</code> to help resolve binary artifacts,
please make sure that you have read
<a href="https://github.com/trustin/os-maven-plugin/blob/master/README.md#issues-with-eclipse-m2e-or-other-ides">these important notes</a>.</p>
</answer>
</faq>

Expand Down

0 comments on commit 4881fa5

Please sign in to comment.