You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "zhfeng (via GitHub)" <gi...@apache.org> on 2023/03/27 01:11:31 UTC

[GitHub] [camel-quarkus] zhfeng commented on issue #4685: Add back DataSonnet

zhfeng commented on issue #4685:
URL: https://github.com/apache/camel-quarkus/issues/4685#issuecomment-1484322364

   Hi @javaduke 
   
   If there is only `javax.` -> `jakarta.` changes, it could use `maven-shade-plugin` just like
   
   ```xml
   <plugin>
                   <groupId>org.apache.maven.plugins</groupId>
                   <artifactId>maven-shade-plugin</artifactId>
                   <version>3.2.2</version>
                   <executions>
                       <execution>
                           <id>jakarta</id>
                           <phase>package</phase>
                           <goals>
                               <goal>shade</goal>
                           </goals>
                           <configuration>
                               <shadedClassifierName>jakarta</shadedClassifierName>
                               <shadedArtifactAttached>true</shadedArtifactAttached>
                               <createDependencyReducedPom>false</createDependencyReducedPom>
                               <artifactSet>
                                   <includes>
                                       <include>${project.groupId}:${project.artifactId}</include>
                                   </includes>
                               </artifactSet>
                               <relocations>
                                   <relocation>
                                       <pattern>javax.servlet</pattern>
                                       <shadedPattern>jakarta.servlet</shadedPattern>
                                   </relocation>
                               </relocations>
                           </configuration>
                       </execution>
                   </executions>
               </plugin>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org