mirror of
https://github.com/moparisthebest/JdbcMapper
synced 2024-11-28 20:02:18 -05:00
Fix source archives
This commit is contained in:
parent
c050957b1e
commit
43396675b0
@ -28,7 +28,7 @@
|
||||
<artifactId>beehive-jms-control</artifactId>
|
||||
<name>beehive-jms-control</name>
|
||||
<properties>
|
||||
<gensrc.dir>${project.build.directory}/generated-sources</gensrc.dir>
|
||||
<gensrc.dir>${project.build.outputDirectory}</gensrc.dir>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
@ -46,14 +46,6 @@
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${gensrc.dir}</directory>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
|
23
pom.xml
23
pom.xml
@ -205,6 +205,10 @@
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
</resource>
|
||||
<resource>
|
||||
<!-- For generated sources, ugly hack, but maven-source-plugin can't do it any other way right now? -->
|
||||
<directory>${project.build.outputDirectory}</directory>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>../</directory>
|
||||
<includes>
|
||||
@ -234,6 +238,25 @@
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>2.1.2</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>jar-no-fork</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<exclude>**/*.class</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
|
Loading…
Reference in New Issue
Block a user