Skip to content

Commit

Permalink
Put both versioned and unversioned artifacts into xalan-java/build. S…
Browse files Browse the repository at this point in the history
…hould upload src jars too...?
  • Loading branch information
kubycsolutions committed Nov 3, 2023
1 parent 0c8404e commit 38ed850
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,32 @@
<configuration>
<artifactItems>
<artifactItem>
<!-- Copy built artifact to ../build -->
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<type>${project.packaging}</type>
<!-- Copy without the "-${project.version}" suffix,
but with the filetype?
</artifactItem>
<artifactItem>
<!-- Also copy without the "-${project.version}" suffix
(but with the filetype), for backward compatibility
with Ant build's behavior
-->
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<type>${project.packaging}</type>
<!-- stripVersion does not seem to do what's needed, so: -->
<destFileName>${project.artifactId}.${project.packaging}</destFileName>
</artifactItem>
<!-- And copy the source archive -->
<!-- artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<type>jar</type>
<classifier>sources</classifier>
</artifactItem -->
</artifactItems>
<outputDirectory>../build</outputDirectory>
</configuration>
Expand Down

0 comments on commit 38ed850

Please sign in to comment.