jira-importer commented on issue #253:
URL: 
https://github.com/apache/maven-deploy-plugin/issues/253#issuecomment-2771518884

   **[Matthew 
McCullough](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=matthew.mccullough)**
 commented
   
   Additionally would like to note that this has something to do with 
hierarchies.
   
   In my situation, my parent pom has the profile and uniqueVersion false 
settings.
   
   If I run the mvn deploy from any intermediate level in the project directory 
tree, (I have parents pointing to children as modules and children pointing to 
parents as parent projects), I get timestamp-unique deployments of any artifact 
in the tree.  However, if I run mvn deploy from any leaf node (has to be a 
LEAF), then the non-unique version is deployed.
   
   Here's a sample run output from the same project tree as my original defect 
submission, only this time, I'm running from a leaf directory project's 
pom.xml.  Notice the non-unique version being uploaded:
   
   ---------------------------------->
   
   [INFO] 
----------------------------------------------------------------------------
   [INFO] Building CCBS UDT EJB
   [INFO]    task-segment: [deploy]
   [INFO] 
----------------------------------------------------------------------------
   [INFO] [apt:execute {execution: business-gen}]
   [INFO] [apt:execute {execution: impl-gen}]
   [INFO] [resources:resources]
   [INFO] Using default encoding to copy filtered resources.
   [INFO] [compiler:compile]
   [INFO] Nothing to compile - all classes are up to date
   [INFO] [resources:testResources]
   [INFO] Using default encoding to copy filtered resources.
   [INFO] [compiler:testCompile]
   [INFO] Not compiling test sources
   [INFO] [surefire:test]
   [INFO] Tests are skipped.
   [INFO] [ejb:ejb]
   [INFO] Building ejb ccbs-udt-jee-ejb-1.0.M1-SNAPSHOT with ejbVersion 3.0
   [INFO] Building jar: 
c:\ClearCaseSource\mccm03_view3\single_api_src\udt\jee\ejb\target\ccbs-udt-jee-ejb-1.0.M1-SNAPSHOT.jar
   [INFO] [install:install]
   [INFO] Installing 
c:\ClearCaseSource\mccm03_view3\single_api_src\udt\jee\ejb\target\ccbs-udt-jee-ejb-1.0.M1-SNAPSHOT.jar
 to C:\Documents and Settings\
   
mccm03\.m2\repository\com\comverse\api\udt\ccbs-udt-jee-ejb\1.0.M1-SNAPSHOT\ccbs-udt-jee-ejb-1.0.M1-SNAPSHOT.jar
   [INFO] [deploy:deploy]
   altDeploymentRepository = null
   [INFO] Retrieving previous build number from KenanFX_M2_Repo
   Uploading: 
ftp://maven.kenan.com/KenanFX/m2_repo/com/comverse/api/udt/ccbs-udt-jee-ejb/1.0.M1-SNAPSHOT/ccbs-udt-jee-ejb-1.0.M1-SNAPSHOT.jar
   3K uploaded
   [INFO] Retrieving previous metadata from KenanFX_M2_Repo
   [INFO] Uploading repository metadata for: 'snapshot 
com.comverse.api.udt:ccbs-udt-jee-ejb:1.0.M1-SNAPSHOT'
   [INFO] Retrieving previous metadata from KenanFX_M2_Repo
   [INFO] Uploading project information for ccbs-udt-jee-ejb 1.0.M1-SNAPSHOT
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to