Hi,

the maven-war-plugin contains the following code snipped:

           Artifact artifact = getProject().getArtifact();
           if ( primaryArtifact )
           {
               artifact.setFile( aarFile );
           }
           else if ( artifact.getFile() == null ||
artifact.getFile().isDirectory() )
           {
               artifact.setFile( aarFile );
           }

After reading this snippet, I wonder whether there isn't something missing, like


           else
           {
               projectHelper.attachArtifact( getProject(), "aar", aarFile );
           }


Thanks,

Jochen


--
My wife Mary and I have been married for forty-seven years and not
once have we had an argument serious enough to consider divorce;
murder, yes, but divorce, never.
(Jack Benny)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to