|
82 | 82 | <groupId>org.apache.maven.plugins</groupId> |
83 | 83 | <artifactId>maven-source-plugin</artifactId> |
84 | 84 | <version>3.3.1</version> |
| 85 | + <executions> |
| 86 | + <execution> |
| 87 | + <id>attach-sources</id> |
| 88 | + <goals> |
| 89 | + <goal>jar</goal> |
| 90 | + </goals> |
| 91 | + </execution> |
| 92 | + </executions> |
85 | 93 | </plugin> |
86 | | - |
| 94 | + |
87 | 95 | <plugin> |
88 | | - <!-- Add Clojure sources to the project's source directories --> |
89 | | - <groupId>org.codehaus.mojo</groupId> |
90 | | - <artifactId>build-helper-maven-plugin</artifactId> |
91 | | - <version>3.0.0</version> |
| 96 | + <groupId>org.apache.maven.plugins</groupId> |
| 97 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 98 | + <version>3.11.2</version> |
| 99 | + <configuration> |
| 100 | + <doclint>none</doclint> |
| 101 | + </configuration> |
92 | 102 | <executions> |
93 | 103 | <execution> |
94 | | - <id>add-clojure-source-dirs</id> |
95 | | - <phase>generate-sources</phase> |
| 104 | + <id>attach-javadocs</id> |
96 | 105 | <goals> |
97 | | - <goal>add-source</goal> |
98 | | - <goal>add-resource</goal> |
| 106 | + <goal>jar</goal> |
99 | 107 | </goals> |
100 | | - <configuration> |
101 | | - <sources> |
102 | | - <source>${clojure.source.dir}</source> |
103 | | - </sources> |
104 | | - <resources> |
105 | | - <resource> |
106 | | - <directory>${clojure.source.dir}</directory> |
107 | | - </resource> |
108 | | - </resources> |
109 | | - </configuration> |
110 | 108 | </execution> |
| 109 | + </executions> |
| 110 | + </plugin> |
| 111 | + |
| 112 | + <plugin> |
| 113 | + <!-- Add Clojure sources to the project's source directories --> |
| 114 | + <groupId>org.codehaus.mojo</groupId> |
| 115 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 116 | + <version>3.0.0</version> |
| 117 | + <executions> |
111 | 118 | <execution> |
112 | 119 | <id>add-clojure-test-source-dirs</id> |
113 | 120 | <phase>generate-sources</phase> |
|
117 | 124 | </goals> |
118 | 125 | <configuration> |
119 | 126 | <sources> |
120 | | - <source>${clojure.testSource.dir}</source> |
| 127 | + <source>test</source> |
121 | 128 | </sources> |
122 | 129 | <resources> |
123 | 130 | <resource> |
124 | | - <directory>${clojure.testSource.dir}</directory> |
| 131 | + <directory>test</directory> |
125 | 132 | </resource> |
126 | 133 | </resources> |
127 | 134 | </configuration> |
|
135 | 142 | <version>1.7.1</version> |
136 | 143 | <extensions>true</extensions> |
137 | 144 | <configuration> |
138 | | - <sourceDirectories> |
139 | | - <sourceDirectory>src</sourceDirectory> |
140 | | - </sourceDirectories> |
141 | 145 | <testSourceDirectories> |
142 | 146 | <testSourceDirectory>test</testSourceDirectory> |
143 | 147 | </testSourceDirectories> |
|
160 | 164 |
|
161 | 165 | <plugin> |
162 | 166 | <artifactId>maven-compiler-plugin</artifactId> |
163 | | - <version>3.6.0</version> |
| 167 | + <version>3.14.0</version> |
164 | 168 | <configuration> |
165 | | - <source>1.8</source> |
166 | | - <target>1.8</target> |
| 169 | + <source>${maven.compiler.release}</source> |
| 170 | + <target>${maven.compiler.release}</target> |
167 | 171 | <encoding>${project.build.sourceEncoding}</encoding> |
168 | 172 | </configuration> |
169 | 173 | </plugin> |
|
0 commit comments